#.jovanm_

1 messages · Page 1 of 1 (latest)

nova orioleBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

waxen frigate
#

I believe the renewal payment would fail

gritty zodiac
#

Okay, thanks!

#

How about when the customer resubscribes does the existing subscription will be overrriden?

waxen frigate
#

I mean what exactly do you mean by re-subscribe?
Ideally it would create a new susbcription by default unless your integration handles "re-subscribe" differently.

gritty zodiac
#

I see, how about when the customer only wanted to attach a payment method (so that the renewal payment would not fail) since he deleted his previous payment method? What api call should I used? Is that possible?

waxen frigate
#

It is possible. If you want to make it self-serve, you can integrate customer portal that allows customer to update payment methods/subscriptions
https://stripe.com/docs/customer-management

If you want to handle the flow yourself,
1/ You'd use SetupIntent API + Stripe Elements to collect new payment method details
2/ Set it as default payment method under customer.invoice_settings.default_payment_method
https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method

OR

Set it as default payment method on the subscription by calling update subscriptions API endpoint
https://stripe.com/docs/api/subscriptions/update#update_subscription-default_payment_method