#Nelson Kenmochi
1 messages ยท Page 1 of 1 (latest)
I mean, I'd like to use this:
"adjustable_quantity": {
"enabled": True,
"minimum": 3,
"maximum": 999,
},
Hey @modest magnet, thanks for your help ๐
If you want to update the Subscription yourself, you can just call the Update Subscription API
And what if I want to use the stripe portal? ๐ฌ
Customer Portal is to let the customer to update their own Subscription
I thought if I use stripe.checkout.Session.create to an already purchased subscription, Stripe would understood I want to update instead of buy, but that's not true..
If I use this on an active subscription it will simply try to buy again..
It's because Checkout Session is to accepting new customer
There are 2 path:
- You as a merchant, want to update a Subscription -> call the Update Subscription API
- You as a merchant want to let your customer update their own Subscription -> create a Customer Portal and send the link to the customer
On this first case, calling "update subscription API", the invoice will be sent to him?
If the update generates an Invoice, yes.
Updating Subscription is a bit complex as explained here: https://stripe.com/docs/api/subscriptions/update It depends on how will you update the Subscription, generally
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Okay, thank you... just another question.. (Sorry if I'm being too repetitive)
So it's not possible to create a session for Update page just like for Checkout? If I want to use Stripe's side, I'll need to use Customer Portal?
Yes correct, and no worry.