#floppydiscen-redirect-flow
1 messages ยท Page 1 of 1 (latest)
Hi ๐
We can't really offer advice for beta programs here.
Hmm okay. How about this
Since this is an invite-only beta you will need to reach out to the contact who got you into the program
I will. Maybe if I rephrase it, you might be able to help since, I presume, MobilePay is not the only redirect solution for Stripe
True, it is not. There is an entire category of bank redirect payment methods
Lovely. I find it rather confusing, how to use the redirect solution.
I use the backend api to create payment intents. For MobilePay I have to provide a .ReturnUrl, .Confirm and PaymentMethod option in order to get redirected to the "Confirm the payment". In order to do so, I have to provide the PaymentMethod when I create the payment intent however, since I'm usign the Elements react lib. When I create the payment intent initially, a payment method has not yet been chosen. How do I go about updating the payment intent with the chosen payment method after the user has chosen the payment method with Elements?
It's easy enough using Apple Pay and Google Pay since they are under the "card" payment method and so I can pre-specify
I'm not sure I follow. When the PaymentIntent is confirmed client-side (after the redirect is successful and the return_url is hit), the Payment Method is created and added to the Payment Intent.
You might be right. Uuuuh. Let me just check something. I might be a dumb dumb
No worries, integrating a new flow pattern can be tricky
You were absolutely right. I was depending unnecessarily on a new flow when I could simply use the .confirmPayment to do the heavy lifting for me. Thank you Snufkin!
Great ๐ I'm glad we got it working ๐