#cyrildave_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1260604623392342076
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi there ๐ as mentioned in the error message, you'll need to use a newer API version in order to support flows that use 100% off Coupons.
No-cost orders for Checkout Sessions weren't supported until version 2023-08-16
https://docs.stripe.com/upgrades#2023-08-16
how to change the api version? I currently using cURL
If you want override the API version used for a single request, you use the Stripe-Version header to set that:
https://docs.stripe.com/api/versioning?lang=curl
If you want to change the default API version for your account, that's done from your Stripe dashboard:
https://dashboard.stripe.com/developers