#anupriya_63084
1 messages · Page 1 of 1 (latest)
Hello! Can you clarify the question?
im trying to integrate Stripe payment gateway using laravel framework, so now i collecting input and output payloads but i need to collect error details or exception so when i got an error i want to redirect to the my website is there any chance to apply like this
Yes, our APIs and libraries return errors/exceptions if/when one is thrown. What is not behaving as you expect?
if user can try 2 or 3 times an invalid card payments then i want to redirect to my website, bit there is only when user hit back button it will be redirecting to the what i given url.
Ok, which Stripe payment UIs are you using?
Ok, Checkout. Then you can't redirect back after n failed payments no
yeah...its only showing the error messages in the bottom of the fields. i want to redirect here with error response to my website.
That's not possible with Checkout
why ? is there any other solution?
The solution is to use a payment UI you can host on your own website, like the Payment Element
is there available in javascript of php? could you provide this for me to the best support in this time.