#tz - promo codes

1 messages ยท Page 1 of 1 (latest)

proven wyvern
#

HI ๐Ÿ‘‹
Do you have a request ID I could investigate?

void burrow
#

hm... maybe this req_ZUOfdk7CjwkQVU

#

I don't see the failed request in developer logs for coupon validation

#

example issue

proven wyvern
#

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?

void burrow
#

yes it redirects from the payment link

#

one sec (btw thanks for helping!)

#

https://buy.stripe.com/test_9AQaGp0EVdm6gSs145

#

promotional code: FREE (promo_1KoVq6Lk12KqlBHFzNXEEvFK)

proven wyvern
#

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

void burrow
#

Created Promotion Code from the Coupon dashboard /test/coupons/FREE

#

Should I use the APIs instead?

proven wyvern
#

Sorry I need the request ID, they start with req_XXXX

void burrow
#

one sec

#

req_qg9LLzeNJEgzRK

proven wyvern
#

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).

void burrow
#

Yea tried creating new Promotion Codes from an existing Coupon. Still invalid

proven wyvern
#

I think that is because this coupon would invalidate the Checkout session. We don't allow a $0 charge through Checkout AFAIK.

void burrow
#

oh i see.. let me test that..

proven wyvern
#

The minimum is usually $.50 (or whatever is equivalent in the currency used).

void burrow
#

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

proven wyvern
#

I'm glad you got it working ๐ŸŽ‰
Happy to help ๐Ÿ™‚