#DT
1 messages · Page 1 of 1 (latest)
Hello, catching up on that thread, will be with you in a minute
So I think synthrider was just saying that you need the user to enter payment method details twice. Once for the affirm payment and once for the card and that you can do them in either order
Is there a specific part of that suggestion that you are looking for more explanation on? Or some other info?
Ideally, we are able to collect the payment information once. It goes to Affirm if they ask for it for the product and we schedule a subscription for the service. We would only want to schedule a subscription if an order was successfully process with Affirm.
To clarify the situation, do you know beforehand that the Affirm will finance the product but not the subscription? Or is this something you find out after the user puts in their details somehow?
They will be separated
Affirm will always handle just the product and we will handle the subscription for the service
I think I get it. So the user does the affirm payment, and if that succeeds you also want to collect their credit card info for a subscription. Does that sound right?
Yes that's correct
Gotcha, and are you collecting these payments via a custom page with Stripe Elements? Or are you using Checkout or some other Stripe-hosted surface?
With either you should be able to check how the Affirm payment went and then present the card form to the user
We are using the Stripe iFrame right now
Is it possible to collect payment info once?
Not as far as I know. I think you would need to have multiple instances of the Payment Element on the same page at once and I don't think that is allowed though I can check.
Have you tried putting multiple Payment Elements or a Payment Element and a Card Element on the same page?
So two Payment Elements would not work as far as I can see. You can experiment with a Payment Element and a card element on the same page, have not been able to try that yet
Otherwise presenting the card page after the affirm page would likely be easiest
I haven't tried anything yet. I am in discovery phrase at the moment.
Hi 👋
I am stepping in as @wraith tundra has to go soon