#fdc8cd4cff2c19e0d1022e78481ddf36
1 messages ยท Page 1 of 1 (latest)
What do you want to implement?
I would like to give the customer an option to update his payment method on his subscription
You can use customer portal https://stripe.com/docs/no-code/customer-portal
I am able to generate the update urls from admin, these are in following format:
https://billing.stripe.com/p/subscription/update_payment_method_link/<path>
I would like to create them by subscription id
so user can stay within my app and just click a link I will provide to him
No, you can't create a portal session based on a subscirption ID, but you can create one for a customer https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Well I dont need a portal session, afaik I only need to generate the update paymet link (I would expect it to be similiar just like the link to checkout session)?
No, I don't think you can use either checkout session or payment link for your customer to update their subscriptions
https://stripe.com/docs/billing/subscriptions/share-update-payment-link this is literally what I need, I just need to get the link via the API ๐
I see, this is a Dashboard only feature, there's no API for it.
Hmmm. Are there any plans to implement it?