#geo_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1313903614850502796
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- geo_api, 16 hours ago, 73 messages
Hi there ๐ what kind of experience do you want for your customers? Are you going to offer them the ability to pay for each Subscription with a different payment method? In which case you'll need to use all of the Payment Intents.
Or are you planning to only have them enter payment method details for one Subscription, and then reuse that Payment Method for the other Subscriptions? In which case it's up to you which Payment Intent you use.
I want them to offer the option to add more than one subscription at a time in the same cart and checkout at the same time.
Okay, that sounds like the second scenario I mentioned above. So it's up to you which Payment Intent you use to present our UIs to your customer. Then you'll manually want to reuse the Payment Method from that to confirm the other intent(s).
Do the Subscriptions have different billing frequencies? You can put multiple items on a single Subscription if not, and that would likely be much easier.
For example, the first subscription is called Gold and it's annual and auto-renew. The second is Silver and is montly and auto-renew
Both are added to cart and the user checks out
I would create two subscriptions but can pass either payment intent to the Stripe Elements to check out?
Hello! I'm taking over and catching up...
Just to make sure I'm clear on your use case, you're saying a single customer would simultaneously subscribe to both a gold yearly plan and a silver monthly plan at the same time?
yes
That's pretty unusual, but you would need two Subscriptions for this. You would create one Subscription and confirm the Payment Intent client-side normally. Upon success that will set up the Payment Method for future use and attach to the Customer. At that point you can set that Payment Method as the Customer's default for invoices, then create the second Subscription, which will try to use that saved Payment Method.
So to be clear, we can't checkout out with different subscription in the cart at the same time?
When you attempt the second Subscription payment, it might require a next action, in which case you can handle that next action client-side using Stripe.js and stripe.handleNextAction: https://docs.stripe.com/js/payment_intents/handle_next_action
Correct. Each Subscription is distinct, with their own Invoices and Payment Intents which need to be paid for individually and separately.
You can't combine them into a single payment/charge.
Would this be also an issue if it's the same membership but with multiple quantities? For example, I add the Gold but add more than one in the same cart
No, that you can do with a single Subscription. See here for details: https://docs.stripe.com/billing/subscriptions/quantities