#shubhamjha
1 messages · Page 1 of 1 (latest)
Let's chat here
ok
i need to upgrdae my subscripion
why does it alwys goes for draft
We have docs on subscription upgrades/downgrades
https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
How exactly are you creating the invoice? Does this happen on upgrade?
Please provide more context
yes i am doing upcoming subscription
but the subscription whre created but the payment is not done for the same
but the subscription whre created by the payment is not done for the same
Sorry, I don't understand what you mean by that.
Can you provide an example request ID/subscription?
ok like i have a subscription and when i test it with advancing the time for the last cycling date then the subscription wrere created for the next billing cycle but payment is not done
A draft invoice should finalize automatically in about an hour
Have you tried advancing the clock a bit further?
ah let me clarify, if auto_advance is set to true then the invoice should finalize automatically.
You can listen to invoice.created and look at the invoice object to see if that property is set to true
I want to say invoice.finalized is the event you'd receive once the invoice moves from draft to open status
did advancing the clock finalize the invoice?