#CaReS - Checkout subscriptions

1 messages ยท Page 1 of 1 (latest)

real locust
#

Hello, do you have the IDs of some of these subscriptions that were created from one Checkout session this way?

manic fable
#

Yes

#

Send it here?

real locust
#

Yep yep, IDs are safe to send here

manic fable
#

sub_1Lct5VLRCpswgZiYSDcxTBb7
sub_1Lct6oLRCpswgZiYxHAmyX5k

#

Basically I had subscription with ID 1 and then on checkout I change the plan and it recreate subscription

#

and now I have two active subscriptions which is absolutely not good

#

also, this is my configuration. for checkout session

#

Also if I try to update the current subscription with more quantity it recreates a new subscription and charges me for the new quantity.

odd wind
#

๐Ÿ‘‹ stepping in as Pompey needs to step away

#

So you can't use Checkout Sessions to update a Subscription

#

They will always start a new Subscription

#

To update Subs you either use the Subscriptions API (https://stripe.com/docs/api/subscriptions/update) or you can integrate the Customer Portal (https://stripe.com/docs/billing/subscriptions/integrating-customer-portal)

Learn how to integrate the customer portal.

manic fable
#

This would be a nice future if all this things would be

#

new price swap subscription
same price update quantity

odd wind
#

Yeah I think that's legitimate feedback. It just isn't how Checkout is designed today