#rickbakker
1 messages ยท Page 1 of 1 (latest)
Hi
I'm not sure I understand your question, can you share how are you implmeenting this ? the guide you are following ?
I want to hide above screen.
What Stripe Product are you using ? Can you share the guide you are following ?
The flow should be as follows: select iDEAL, select bank on our side, then I create a PaymentSession with Stripe and redirect to Stripe, where Stripe would redirect directly to the Bank.
I am not following any guides.
I will share some snippets of my implementation.
select bank on our side,
Who is paying ? you or your customer ?
The customer.
Normal workflow using iDEAL, means that the end user would select his bank on the webshop side
select bank on our side,
You said "on our side", so you select the bank on behalf of them ?
If they select the bank, then they need to have that screen
Yes, we want to pass the bank to the Stripe API.
So I would need from you: the respective iDEAL Bank parameter in the Session, and the possible options to fill it with (fetch the available banks)
this is what I want to recreate:
No you can't, here are the only supported attribut for ideal payment method when creating a Checkout Session:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_options-ideal
So, what would be the solution here?
I don't feel like telling the customer to use Mollie, where this is possible, unless the sole answer I get from Stripe is a no ๐
Just fyi: this is an implementation of StripeJS, so it must be possible one way or another. I am just unable to figure out how to reproduce it without using this Javascript front.
Yes this is Stripe Element, you can't achieve that using Stripe Checkout.
If you want more customizable integration, then you need to adopt using Stripe Element with JS
Can't I use a PaymentIntent to achieve this though?
I saw this in your documentation.
Yes exactly, you need to use PaymentIntent, and in order to accept payment using PaymentIntentAPIs you need to use Stripe Elements
Can't I just replicate this in PHP, given there seem to be objects/methods in the Stripe php package?
Can you give me a list of inputs for that ideal.bank field? Just so I can play around a bit ๐
The guide I shared with you shows php integration, you need to select the php language
And then you need to implement JS parts
Here is a dedicated guide for integrating Ideal with PaymentElement:
https://stripe.com/docs/payments/ideal/accept-a-payment?platform=web&ui=element