#benstjohn

1 messages · Page 1 of 1 (latest)

narrow moonBOT
acoustic roost
#

hey there, i'll get back to you in a while!

jagged rampart
#

Okay thanks @acoustic roost

#

I will look at your reply in the morning

#

so no rush

acoustic roost
#

hello! how are you integrating with the reader? i.e. what SDK are you using - server driven, ios, android, react native?

jagged rampart
#

we are using the iOS sdk for a lot of it, and also using NodeJS hitting the API

#

using the M2 stripe terminals

#

based pretty heavily on the example stripe terminal application

acoustic roost
#

i assume for nodejs hitting the API, you're referring to creating the PaymentIntent itself

jagged rampart
#

correct

#

so the payment intent gets created elsewhere, then the terminal finds the PI and processes it

#

then it hits the API again to actually capture the PI

#

so we want a way to clear the PI and clear our the terminal in case of an error/issue with the card

#

cancelling the PI is fine, but the terminal seems to get stuck in:

#

It is giving this error: Uncaught StripeInvalidRequestError Error: Reader is not capable of processing this action.

#

using the "cancel reader action"

#

while the PI is in the status of 'requires_payment_method'

acoustic roost