#nekaou-mike_unexpected
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1220811127492055160
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
First one is generated by my backend and the second on is a manual direct link. Both have the coupon code option enabled.
Which is the one where you don't see the add promo code button?
The one created by your backend?
yes
Can you share the request id?
where would I find that?
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_P6egCx2ThGImzK
looks to be this one
You never passed https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-allow_promotion_codes
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ah so you must specify this when creating transactions. good thing it's only a 1 line code change
yeah if you're creating a session via your backend you need to pass every option you want
I see