#emer - checkout subscriptions
1 messages ยท Page 1 of 1 (latest)
Hey there! A newly created subscription would not be associated with any existing subscription in any way. If you wanted to manage the existing subscription you should do that instead of creating a new one.
Do do you mean a new subscription that went incomplete_expired without ever becoming active?
No not that, suppose subscription is in "past_due" state and after multiple attempt to collect payment from stripe's behalf it changes to "canceled" or "unpaid" . In my case i have configured to change it to cancelled.
Now the question is, if a user again visit my website
- should i create a new checkout session for him
- send him to customer billing portal wherein he can see available priceIDS and select
And if i go with option one and listen to "customer.subscription.updated" event, does the subscription id stays as the earlier one and just the state change from "canceled" to active or an entirely new subscription is generated.
OK, so that's not "expired" so to speak, just to clarify language here
(maybe you consider it as such, which is fine, but that's separate)
i guess this answers it
"Canceling subscriptions disables creating new invoices for the subscription, and stops automatic collection of all invoices from the subscription by setting auto_advance to false. It also deletes the subscription. If your customer wants to resubscribe, you need to collect new payment information from them and create a new subscription."
Just read this, can u confirm this
Yes, that, and the billing portal does not actually support creating new subscriptions
only managing existing ones
(this is a rough edge between checkout and customer portal that's were looking at ๐ )
But you should send them to Checkout to create a new subscription if that's what you're trying to do
so basically in cancelled state, i should create a new checkout session
Yep
Thats great! Thanks for the quick support ! Your name rocks !
Note if you use cancel_at_period_end the portal does support the customer resuming that subscription before the end of the period when is it cancelled permanently
NP and thanks ๐
Yup, yup saw that while testing webhook and portal, thanks for the help.
One more thing, i have requested for access to test clock beta but didnt get one
If you submitted your email in the form the team will reach out either to enable the beta or let you know when its more widely available, i'd suggest sitting tight