#amankumar_24191
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- amankumar_24191, 21 hours ago, 14 messages
Hi, let me help you with this.
Could you check if the promise rejects at some point?
No, I am always redirected to the url that I pass in redirect URL
I want to inform the customer if payments fails on the same page so that they can retry
If you're redirected that means that the payment was successful.
No, I can check in the stripe that payment was failed
Also I never get the logs I have used in .then function
Could you please share the PaymentIntent ID pi_xxx?
pi_3O7EqqAY7FeBjtor0NnBFc9Y
What test bank account have you used?
closed one
Ok, I understand.
When you select to pay with the bank account, the confirmation in most cases will be successful. After that, in real scenario, it will take a few days to process the payment. Only after we will know if the payment was successful or failed.
So, in your case, the confirmation is successful, so you get redirected. However, the payment itself fails afterwards.
I hope this clarifies the situation.
Ok, so in bank account case I will not able to confirm if payment was failed at the moment it will be done on a later date and I can work with that, how can I test the failed payment fuctionality lets say for card
You can use test cards: https://stripe.com/docs/testing#declined-payments
Thanks
Happy to help.