#salim-bt_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1394699412390805554
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- salim-bt_api, 20 hours ago, 8 messages
- salim-bt_api, 4 days ago, 17 messages
- salim-bt_exe-amazonpay-overlay-icon, 4 days ago, 76 messages
- salim-bt_api, 6 days ago, 14 messages
i want user to see the reason why the payment failed after this amazon modal closed
like Your card has insufficient funds error
we have this event listener, as i can see, when we use 3434 card, express checkout just fires 'cancel' event (where i see only elementType) and closes popup
@fickle elm ?
hi there, we're currently looking into this
ok thank you, take your time
๐ Taking over this thread, catching up now
ok
Thank you for waiting! After checking, I'm afraid cancel event doesn't support returning error reason after choosing the declined test card in Amazon Pay
I don't have live mode to test the Amazon Pay
In live mode, we likely surface the error message at the confirmPayment() stage after Amazon Pay shares with Stripe on the customer's selected card
we are using createConfirmationToken, so i need add confirmPayment handling?
Are you doing a server or client side confirmation on a Payment Intent / Setup Intent after creating the ConfirmationToken?
The decline reason should be at where the confirmation call is in live mode
at server side
"The decline reason should be at where the confirmation call is in live mode" so backend should handle this reason
Yes. It should be the same on how you handle other wallet payment methods using Express Checkout Element such as Apple Pay and Google Pay
You shouldn't need to handle separately for Amazon Pay
ah, createConfirmationToken not fired when i select 3434 test card
In live mode, the authorisation is done at Stripe end where the decline reason will be available. However, it seems like Amazon Pay simulates a failed authorisation at their end, which led to failing to create a confirmation token even before hitting to Stripe
so we can't test declined case in amazon, can it be fixed somehow?
Can I suggest you writing to Support https://support.stripe.com/contact, so that they can share the relevant team? However, we can't gaurantee the timeline about when this will be updated / fixed
ok Thanks