#alex_59799
1 messages · Page 1 of 1 (latest)
Hi, let me help you with this.
I will be very grateful
One of the best ways to approach this is to collect the Payment Method first via SetupIntents: https://stripe.com/docs/payments/save-and-reuse
Then, you can create a Subscription with the saved Payment Method, off-session.
But I understand your concern about calculating the total amount.
Yes
Actually, if the customer doesn't end up paying it withing a few days, it will be cancelled automatically.
You can follow this guide: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
Customer can choose different products and different quantities. Apply discounts. And do a lot of calculations before purchasing. I wouldn’t want to create a subscription for every calculation.
Is it possible to see the total amount without creating a subscription?
using stripe api
There's a feature to preview invoices with different parameters, maybe it could be useful: https://stripe.com/docs/api/invoices/upcoming