#Sylvester-multiple-subscription
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Instead of creating a PaymentIntents, you can just create a Subscription with multiple items (prices).
Hi thank you for your response. This unfortunately won't work for us as:
- we are already using these for other products attached to any given membership
- we handle invoicing with stripe
- we have other non-subscription items as part of the same order
Let me rephrase my question.
Let's say I have a cart with products [item 1, item 2, subscription 1, subscription 2]. Total comes to $750, of which subscription1 costs $150 and subscription2 costs $ 200. The rest ($400) are the other items.
I want to be able to only charge the user once ($750), but in the background create these two subscriptions as well as place the order for the other items.
Basically I want to be able to pay all of it with only one payment intent (and only go through the 3D Secure 2 process once)
Is such a thing possible? Thank you.
Ah I see.
With current API there isn't a built-in way to do something like this.
You could process a single Payment and once it goes through, you can initiate two new subscriptions from your server-side. You'd want to either put them on trial or apply a coupon to make sure they're not double charged for the first cycle
Oh that actually should work, great! Thank you for the tip! ๐