#Rush1010
1 messages · Page 1 of 1 (latest)
I'd recommend looking at the customer portal for this: https://stripe.com/docs/customer-management
But we haven't built any customer portal, it is integrated via API
I don't understand
The portal is a hosted UI to allow customer to update their subscription(s) and manage payment methods
You can implement that, like above, or build your own UI using Elements and the API
Let me try to explain -
My Website is having - 2 Plans - Monthly and Yearly.
User clicks on any and do the registration and after the registration, on the registration form itself it has enter card details and make the payment.
Once the payment is done they are redirected ot the Dashboard.
In the Dashboard, they can see their past invoices, past transaction details, next invoice date and their current plan.
in that Dashboard page i want the customer to have a provision to change or update their cards so that Stripe can do the payment from their updated cards.
Sure, I understand the scenario. I've described the two options available to you. Did you look at the customer portal?
If that's not appropriate, then you'll need to build the flow yourself using Setup Intents: https://stripe.com/docs/payments/save-and-reuse