Per The Points Guy:
In order for the purchase to be eligible, it must be made with your registered Starbucks Card or by downloading the Starbucks app and purchasing with your phone. In addition, you must also be a Starbucks Rewards member. Alcohol and Starbucks Card purchases are not eligible for this offer.
https://thepointsguy.co
I haven’t seen this posted on Starbucks Rewards but will update post to confirm.