#suraj-parwani_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/1240559671568240640
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Coupon is not a supported parameter by payment_if_incomplete: https://docs.stripe.com/billing/subscriptions/pending-updates-reference
If you wish to use coupon, then payment_behavior shouldn't be set to pending_if_incomplete
but what if the payment failed while upgrading the subscription will be updated right?
Yes
any other possible solution to this?
We have auto retries on. In case of failures in the auto retires as well then at the end the subcription will be cancelled.
We do not want the current subcription to be modified if the payment is failed
I'm afraid this can only be managed by yourself, i.e. if the payment failed, revert the subscription to the previous state
Auto retries can be disabled in https://dashboard.stripe.com/settings/billing/automatic
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
As in a specific failure.
I'm afraid auto-retry can't be configured based on specific failure