#dheme99
1 messages · Page 1 of 1 (latest)
Hm ok. Same code?
Yes
Terminal is receiving the signal as I can upload an image and it receives the amount due but once I try to process it just sits and spins until I restart the terminal.
Hello 👋
Are you seeing any errors in your network console when this happens?
Can you share your reader serial number?
Also what kind of Terminal SDK are you using? Server-Driven, JS or something else?
@magic fable
Server Driven
finish-every-goes
No error message but here is what we see in Stripe.
finish-every-goes I don't think that's the serial number
Can you share the tmr_xxx ID?
also share the PaymentIntent ID in text?
My bad
tmr_FFnGfAwJMIfuYN
pi_3N6hExLzBlTFVsQ902u710ic
I just got this error message:
Error message
"message": "You cannot confirm this PaymentIntent because it's missing a payment method. You can either update the PaymentIntent with a payment method and then confirm it again, or confirm it again directly with a payment method."
"type": "invalid_request_error"
Yeah I don't see the reader sending us a payment method on Tap/insert
So without it confirmation would fail
Can you share the code you have for processing the payment?
One sec
I am relaying information from my lead dev.
const paymentIntent = await stripe.paymentIntents.create({
currency: 'usd',
payment_method_types: ['card_present'],
capture_method: 'manual',
amount: 1000,
});
to process
const reader = await stripe.terminal.readers.processPaymentIntent(
'tmr_xxx',
{
payment_intent: 'pi_xxx',
}
);
is this what you required?
Yes, what happens after processPaymentIntent?
Also what test card did you use for this? Was it an interac card?
No I don't think so - it's a the card that came in the box with the terminal shipped to us. We are processing in the US.
Gotcha. Let me take a look..
When you say testing with a virtual machine works, are you referring to simulated reader OR your POS app working on a virtual machine?
Simulated
Ah I see. So you haven't been able to run any test transactions with the test card?
No - we have hundreds of successful transactions on the simulated and then connected this terminal and it hasn't worked yet.
I suspect the test card is buggy. Do you see an error if you use a real card?
Like does the reader & the API throw an error when you use a real physical card in test mode?
Yes - it says card declined. Try a different payment method
This charge request was in test mode, but did not use a Stripe test card number. For the list of these numbers, se - this was in stripe
Gotcha. Yup, that confirms reader and your integration working fine as you can't use a real card in test mode.
The test card might be broken. I'd recommend working with our support team to get a replacement via
https://support.stripe.com/?contact=true
Okay - I have 6 other terminals but they are already on the client location. Can any of those be used with any terminal or do they only work with the specific terminal they were shipped with?
Do you mean the test cards? If so, yeah you can try using other test cards. They're not linked to a specific device
Thanks for the support here!