#Suren

1 messages · Page 1 of 1 (latest)

fickle martenBOT
brazen thorn
#

Like this

gleaming elk
#

Hi there

#

You can't

#

You either use the update Subscription API endpoint

#

Or you send customers to the Customer Portal and they can update from there

#

The Checkout API is only used for taking payments, starting Subscriptions, or setting up payment methods.

brazen thorn
#

May I generate redirect url for pay update subscription with another method?

gleaming elk
#

Hmm not sure what you mean by that exactly

#

Can you clarify?

brazen thorn
#

is there a method by which i can generate a redirect url like did the session.checkout method

gleaming elk
brazen thorn
#

Thank you for your support it was very helpful for me!

gleaming elk
#

Sure thing!

brazen thorn
#

for understanding, I just wanted to create such a Url for updating the subscription
https://checkout.stripe.com/c/pay/cs_test_a19eR1I2Gt2Xd3UZjiqckGISs096vOOQ1sVKIL4WuO7MuByS23JOj1Q1Wg#fidkdWxOYHwnPyd1blpxYHZxWjA0SF0xYGBENE5dNj1gazdqfElRMj10bjBQTlR9VDMzY2dXRjRUSUcxfGdCNTRMS0hdPWxoSHRCVmFOVmw9ZEw9djxmR3d%2FPTQzYGE3bVV8MWIyUGlDTjdCNTVfdn1KTXdzYycpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpYFVpZGZgbWppYWB3dic%2FcXdwYHgl

gleaming elk
#

You can't create a Checkout Session URL

#

You would create a Customer Portal Session which returns you a URL

#

It will be a similar idea to creating a Checkout Session, but a different URL

brazen thorn
#

thank you very much!!!