#Namrata - 3ds
1 messages · Page 1 of 1 (latest)
Means
Is this your own pay button? Couldn't you disable it with javascript and also prevent payment on back-end?
Yes this is my own pay button
Yeah then you can disable it
I am checking response.paymentIntent.status is success then disable this pay button but it is not working
What isn't working?
Button disable
That's not a stripe question that's a javascript question so not sure how much we can help you here
Once we close the 3DS payment modal can we immediately hide payment form screen
Yes i am redirecting using ajax call
I am having my payment screen in that I am using card-element then when user click on pay button then 3DS modal is showing then user click Authenticate button user get authentic then immediately I want to close my payment screen and using ajax call redirect to success fuction
Before this ajax cal it is showing payment screen for 1,3 senconds
what stripe.js call are you using to confirm the payment?
Are you using server side confirmation or client side
If client side, there should be a redirect url you can pass, but sounds like you may be doing server side confirmation
You should just be able to use javascript to hide the payment form or display some loading indicator to let the user know what's happening
How to handle this is up to you
I am using confirmCardPayment