#dheme99
1 messages · Page 1 of 1 (latest)
Using axios to make the request to /v1/terminal/readers/${terminal}/process_payment_intent shouldn't be the issue (although I would definitely recommend just using one of our libraries instead)
Do you have more details about exact errors/unexpected behavior you're seeing during testing?
Yea during testing with the simulator it works perfect with no errors but then when I try to test on the actual terminal we can’t get it to process. It says processing and just sits and spins until I restart the terminal.
We thought maybe it was a broken test card because we are not getting errors other than no payment captured
Do you have a Payment Intent ID I can take a look at? As well as the reader serial number?
👍 let me take a look
At least for that PaymentIntent I don't see anything, but I do see that the reader used with that intent had other payments that do show errors
Did you test this recently? And are you 100% sure you're using the provided test card?
I have tested throughout the day and get the same issue. We have not had one transaction go through from the terminal successfully. The test card is the one that came in the box with the terminal.
Okay let's start with one thing at a time - how are you currently handling failed payment attempts? Are you listening for terminal.reader.action_failed events? Or are you maybe polling the PaymentIntent and checking it's status?
One sec
Hassan Ali
6:16 PM
const paymentIntent = await stripe.paymentIntents.retrieve('{{PAYMENT_INTENT_ID}}');
I am using this to check the status, after process it says "require_source" and after payment method verification it says "require_capture" then i capture successfully.
gotcha - and I read back on one of your earlier threads
Really what this comes down to is an issue with your test card, right?
Did you write into support?
Yes I sent in a request for a new one. My developer just asked me to send in this request about the Axios to make sure that wasn't an issue. We are going to push this to our live environment so I can test with a real credit card and then we will know. Thanks for the fast responses.