#mymodian_docs
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/1255485437451960371
📝 Have more to share? Add details, code, screenshots, videos, etc. below.
As the doc said this, I wonder that why rollback a subscription upgrade need to pay a new invoice?
Well they don't need to pay a new invoice. But a new invoice will be generated automatically as part of the manual rollback. There are obviously ways you can reduce the amount due on the invoice, as noted
This is the benefit of using pending updates as they handle the rollback automatically without the need for a new invoice
"But a new invoice will be generated automatically as part of the manual rollback." Is that the stripe system will generate a new invoice when upgrade pay failed? Then what shall we do to rollback the upgrade?
No, we'll generate a new invoice when you update the Subscription to rollback to change made without payment_behavior: 'pending_if_incomplete'
"Pending updates aren’t supported when the subscription’s collection_method is send_invoice or when bank debits are used as the payment method for the subscription."
Is this still correct?
Unfortunately yes
The way the upgrade/downgrade manual 'rollback' (i.e. without pending_if_incomplete) works following a failed payment is that you'd make a call to update the subscription back to it's original state pre-upgrade/downgrade (i.e. the rollback). That inherently will generate an invoice, and depending on the parameters passed may have an amount due
Obviously you can void that, or pass parameters like a trial period up until the next natural billing cycle to avoid another payment
is that mean when upgrade pay failed and we decide to rollback, then we should make another Subscription.Update call to update it to the original? And even we update it to the original, it will still generate a new invoice, and we can void this invoice safety?
hi! I'm taking over this thread.
is your latest question about not using pending_if_incomplete?
is this right?
then yes it's correct. I would recommend to try all of this in test mode to see exactly how it works.