#leedurrant - 3ds
1 messages · Page 1 of 1 (latest)
My form is greyed out and an iframe is displayed that is hosted by Stripe
Yeah you're referring to the 3ds challenge modal?
Can you include screenshots to show what you are seeing exactly and then what you would like to see instead?
On clicking FAIL, an "Update Payment Method" button is shown
And I want it so that if the user clicks the button, a Stripe hosted elements modal is displayed
We don't have a hosted modal. You can embed the Payment Element though: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
Yeah, I do have a card-element on the page, but to be honest I am not the best at html coding. I would rather a modal form so it looks the same as the 3DS challenge modal.
It was only placed there as a starter, but the stripe element works. Its just that it doesn't really follow the same principals.
If you aren't that good at development I recommend Checkout: https://stripe.com/payments/checkout
Otherwise, payment element is the better route
My app didn't ever collect the card details. It used Stripe Checkout to get them.
I'm okay at development, just not great at css and html
It just seems strange that I can call stripe.confirmCardPayment and it shows a dialog page, but if that fails I cant have another dialog page to add a new payment method to the payment intent
Another option is you could use the hosted invoice page: https://stripe.com/docs/billing/migration/strong-customer-authentication#scenario-4
Is there anyway that the stripe.confirmCardPayment can be configured to allow the user to click a button to add new card details. As part of the £DS flow for the payment intent
No, a hosted invoice page is not what I want.
Do you mean card-element
Well you could use the card element
But there is also a payment element (that's the recommended element now)
Card element is more for legacy flows
Ah. Do you have an example of that?
Okay. That’s been helpful. I know the best way forward now. It saved me searching for something that wasn’t there. Many thanks.