#zia-ur-rahman_api
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/1316650629531435018
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
How do you integrate with Stripe currently? Checkout Session or direct Subscription API?
we are actually using both
checkout sessions from API as well as direct stripe purchase links
You can set the coupon code under discounts hash when creating the Checkout Session: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-discounts
For example, the monthly price is set, then apply 10% off discount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
and if I want to use direct stripe purchase links?
How did you create the link, through Dashboard or API?
through dashboard