#Brant-mobile-payments

1 messages · Page 1 of 1 (latest)

fading dust
#

Hi there! So to clarify, you want to collect card details first, then process the transaction?

bronze crater
#

Or have the transaction simply not timeout. When it timed out I reset the transaction, but it really clutters the logs.

fading dust
#

Can you give me more specifics on what timeout you are seeing exactly?

#

Like you can create a PaymentIntent and leave it in "incomplete" indefinitely while waiting to confirm it client-side.

bronze crater
#

This is part of the stack trace…

StripeTerminal: class=TerminalListenerProxy message=onPaymentStatusChange(READY)
E/StripeTerminal: USER_ERROR.CARD_READ_TIMED_OUT: Timeout during card read

fading dust
#

Oh okay, sorry. I didn't realize you were using Terminal here (thought you were using the tap idea as a similar example).

#

Give me a moment to look further into this.

bronze crater
#

Ah, sorry should’ve been more clear

fading dust
fading dust
#

Ah wait, sorry, I don't think the above would behave any differently.

#

I understand now. You are triggering paymentmethod collection early because you just want to allow your customer to tap at any point

bronze crater
#

May be a hardware limitation then?

#

Yes, that’s correct!

fading dust
#

Hrmmmm okay I think the only workaround would be to have some way to know that a customer is present. Is there someone controlling the Terminal here?

bronze crater
#

Motion sensor on mobile device camera is worth a try, I suppose, thank you.

#

There is someone near by, but goal would be really just to watch for green for success or red for failure after tapping.

#

They shouldn’t have to interact with the device ongoing.

fading dust
#

Yeah the way Terminal works is that it expects something to trigger the PaymentMethod collection from the Terminal SDK as it is expected that someone would be present at PoS with the Terminal. So here you will need to find some sort of a workaround for that.

#

I have to step away but @wooden dagger can help you with further questions here.

wooden dagger
#

Hi 👋 I'm stepping in for @fading dust

bronze crater
#

Thank you @fading dust

#

Hi @wooden dagger , I think I have enough to take another crack at this. If there are any tips for a workaround, I’m all ears.

wooden dagger
#

I would just have to concur with @fading dust . You'd need some way to cue up the payment collection as the customer approaches so as to avoid the timeout.

fading dust
#

@bronze crater just wanted to follow up here as I was thinking more about this. I checked with some internal colleagues and our ToS require that all Terminals are attended. Hopefully you see this — want to save you some time from diving too deep into this use-case!