#dheme99

1 messages · Page 1 of 1 (latest)

odd perchBOT
serene pilot
#

Hm ok. Same code?

magic fable
#

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.

serene pilot
#

Hm ok

#

Let me get a colleague who's more familiar with terminal on this

strong snow
#

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

magic fable
#

Server Driven
finish-every-goes

No error message but here is what we see in Stripe.

strong snow
#

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?

magic fable
#

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"

strong snow
#

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?

magic fable
#

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?

strong snow
#

Yes, what happens after processPaymentIntent?

#

Also what test card did you use for this? Was it an interac card?

magic fable
#

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.

strong snow
#

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?

magic fable
#

Simulated

strong snow
#

Ah I see. So you haven't been able to run any test transactions with the test card?

magic fable
#

No - we have hundreds of successful transactions on the simulated and then connected this terminal and it hasn't worked yet.

strong snow
#

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?

magic fable
#

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

strong snow
#

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

magic fable
#

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?

strong snow
#

Do you mean the test cards? If so, yeah you can try using other test cards. They're not linked to a specific device

odd perchBOT
magic fable
#

Thanks for the support here!