#wqrld_ideal-paymentflow
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/1288193596738113620
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
@night nymph Hello! I'm happy to help but I don't fully get your question right now and what you are trying to change/fix/optimize
wqrld_ideal-paymentflow
My old flow with the sources api used to be:
on our platform, user selects products to renew and clicks on button for appropriate payment method. then gets redirected a graphical listing of supported banks / QR code to pay with.
With the new flow:
on our platform, user selects products to renew and clicks on button for appropriate payment method. then gets redirected a stripe checkout page to fill in their name again, and only then the graphical listing of supported banks / QR code to pay with.
i would ideally remove the stripe-hosted checkout page from that equation, since i've had a few people ask about it and it's not often a normal part of an iDeal flow
https://i.wqrld.net/Cake_PoFmap this page is the one i would like to remove. the user's name is already known in my system
Hmmm but you explicitly integrated Stripe Checkout for this right? That's a decision you made here. You seem to not want Checkout at all if you already have your own payment flow where you ask clear information upfront?
To my knowledge i do have to use the checkout API; but i indeed do not want to show the checkout page as it has no added benefit to the user and causes confusion
Yeah you likely misunderstood something (or we explained it wrong). Using Checkout is an option. It's a quick way to migrate your old integration to a simpler one where we do everything for you.
If you already have your own payment flow, your own form, have them choose the payment method type, pre-fill information, etc. then there's no reason to use Checkout
Alright, do you have any documentation on how that should be implemented?
what part of the library should i be looking up on?
Can you show me what your UI and code looks before that Checkout UI you redirect them to?
Is there a reason you ask them for their payment method yourself? Why not let us show them all available options for you?
I only need three, of which one is used by 95% of the users (ideal). Thus there is no real need for a separate page
hmmmm
https://i.wqrld.net/Cake_7N88qr (ignore the half-translations ๐ )
Okay so you aren't really tied to your own UI itself. You just want something that's directly on your own website/payment page where you can show all the options?
Like my advice would be to look at PaymentElement instead. See https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements
though this is for one-time payments and your screenshot implies recurring payments?
Sorry, it';s tough without a clear 2 sentences summary of your end goals. It looks like you went deep down the wrong path and are trying to fix that path versus going back to the original goals
Okay so you basically want none of our UIs and you want to patch your existing UI to work. It's definitely possible. Not what I would do at all but doable
What do you do today in your code? Like how are you configuring a recurring payment since iDEAL is single use?
this is all manual single-use payments. Users get an email every month to pay if they would like to renew.
Automatic payments are possible using SEPA, but by far most users prefer to manually renew every month
Usually the service duration is only 1-3 months, so that makes sense
Okay so it is a one-time payment after all each time
yes, correct
What you need to do is confirm the PaymentIntent with payment_method_data[type]: 'ideal' and it's going to give you a URL to redirect them to. Looks like exactly what you want
so as i understand it:
Do not use stripe checkout
Instead, make a make paymentMethod, make paymentintent, confirm paymentintent, redirect user
correct?
you don't need to even make a PaymentMethod. You can use create and confirm the PaymentIntent server-side all in one request
https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method this paragraph seems to say that you do need to attach a paymentmethod if you want to confirm?
yes but you can pass payment_method_data instead. See what I said above
ahhhhhhhhhhhhhhh
that was too hidden
thank you, that was exactly what i was looking for
Thanks!
yeah your UI is definitely common in various plugins for example. We do think our approach converts better on our end but it requires a different UI/checkout flow