#tz - promo codes
1 messages ยท Page 1 of 1 (latest)
HI ๐
Do you have a request ID I could investigate?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
hm... maybe this req_ZUOfdk7CjwkQVU
I don't see the failed request in developer logs for coupon validation
example issue
And this is a Checkout page you are directed to after clicking on a payment link, correct?
Can you share the request ID for the creation of that Payment Link?
yes it redirects from the payment link
one sec (btw thanks for helping!)
https://buy.stripe.com/test_9AQaGp0EVdm6gSs145
promotional code: FREE (promo_1KoVq6Lk12KqlBHFzNXEEvFK)
How are you creating the Promotion Code?
The key you are passing is how we generally use them in the API (behind the scenes). For customer facing you generally pass in the coupon string
In the first example here, the Promo code would have an ID like the one you provided, but to use it in checkout the customer would enter ZQO00CcH
Created Promotion Code from the Coupon dashboard /test/coupons/FREE
Should I use the APIs instead?
Sorry I need the request ID, they start with req_XXXX
Thanks
Okay so does the Coupon already exist? We call out that the Coupon record must exist first before it can be turned into a Promo Code:
To create a promotion code, specify an existing coupon and any restrictions (for example, limiting to a specific customer).
Yea tried creating new Promotion Codes from an existing Coupon. Still invalid
I think that is because this coupon would invalidate the Checkout session. We don't allow a $0 charge through Checkout AFAIK.
oh i see.. let me test that..
The minimum is usually $.50 (or whatever is equivalent in the currency used).
ok worked. Created a new Coupon for partial off.. then new Promotional code. Worked with same Payment link
I think this is solved then
thanks so much for helping
I'm glad you got it working ๐
Happy to help ๐