#mr_mrrs

1 messages · Page 1 of 1 (latest)

vestal atlasBOT
lucid moss
#

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.

split turret
#

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

lucid moss
#

I understand. What's your use case? When do you want to retrieve the error?

split turret
#

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.
lucid moss
#

Do you see an error on the Terminal reader itself?

split turret
#

Yes I do see - card declined error

lucid moss
#

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.

vestal atlasBOT
woven plover
woven plover
#

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