#salva5591
1 messages · Page 1 of 1 (latest)
👋 happy to help
If you have a saved card, why do you need to initialize a Checkout Sesssion?
You can just use it to charge the customer off-session.
The renewals work fine, the problem arises when there is a price update in the subscription. In this case, the customer has to go through the checkout process again, but the card no longer appears.
No, you can update the Subscription without involving the customer.
What are you updating exactly? Amount, quantify, Price?
Sorry, I misspoke, a new subscription is created, for example a customer moves from plan X to plan Y. In this case it is not possible to retrieve his card in the checkout session. It is not possible to recover his card in the checkout session.
You can change the plan without involving the Customer too.
You can see here how to do that.
You will update the same Subscription object, but just change the Price.
thanks I will take a look at it
One last question, in case the subscription is cancelled and another one is created, would there be an option to use a stored card as Source?
Yes. Again, no need to involve the customer, you can use the saved Source to create a new Subscription.
Of course, in all cases it's good to let the customer know what's about to happen, or have them trigger the actions themselves from your website.