#anishsubedi1_83944
1 messages · Page 1 of 1 (latest)
You want to prevent customers from logging out of link?
yes
I am a bit confused about SetupIntent (create Vs Retirve vs update).
To allow the user to change their credit card (on our page) of an already existing subscription which one should I do ?
create
Following that guide will create the new payment method
You'd then need to update the subscription with that new payment method, setting it as the default: https://stripe.com/docs/api/subscriptions/update#update_subscription-default_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
the yea followed this document. And implemented create intent.
However, it does at new credit card. But, why there are multiple guest payments?
What do you mean?
Looks like your test cli integration created those
Has nothing to do with setupintent
looking into it..
So after create setup intent is successful, it should update the user's subscription on default_payment_method ? So, in next billing cycle it will use updated one?
it should update the user's subscription on default_payment_method ?
This doesn't happen automatically
You'd need to specifically set it as the subscription's default
yea, sorry I mean. I should*
Defaut_payment_method = returned successful setupIntentId?