#mr_mrrs
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
I'm still looking, but apparently, given this is a Terminal error, it's not stored on the PaymentIntent object.
Hm... is using expired card leads to terminal error? How can I retrieve this information?
It is card present transaction. I only hand off payment intent to reader. Reader is trying to confirm payment intent automatically
I understand. What's your use case? When do you want to retrieve the error?
Ideally I want to see this error in LastPaymentError field of the payment intent.
Use case is the following:
- code creates payment intent
- code process payment intent (hand off to reader)
- code is polling payment intent (n-times with t-interval)
- if payment intent has an error - display message to customer
- if customer didn't tap the card after n-attempts - cancel the payment intent.
Do you see an error on the Terminal reader itself?
Yes I do see - card declined error
I am still looking at this, sorry for delay. It is indeed strange that you don't get the errors on the PaymentIntent object. Even though this might have been the design.
Hey apologies for the further delays here. From our docs it looks like a terminal.reader_action_failed event should be triggered on declines for this flow but I'm not immediately seeing one in test mode for your account. https://stripe.com/docs/terminal/payments/collect-payment?terminal-sdk-platform=server-driven&process=immediately#payment-failures
Hey @split turret apologies for the delay but we are still having trouble looking in to this and will need to pull in some colleagues that are not currently online. Would you mind writing in to Stripe support about this and then DM-ing me your email address? You don't need to give much info, can even just paste your first message and mention that you talked to me on Discord. Then I can grab and get back to you after I've brought this to my colleagues https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.