#sarthal17-terminal-listener

1 messages ยท Page 1 of 1 (latest)

sage bolt
#

Hello ๐Ÿ‘‹
Give me a moment to catch up

sage bolt
#

Appreciate your patience
I don't think we have a listener specific for swiping. Can you expand on the usecase here so that we can figure out if there are any alternatives?

merry lake
#

Yes.
I wanted any kind of signal from the terminal device to my pos system so that I change the status of payment inprogress and show that to the biller that payment is in processing state

sage bolt
merry lake
#

I wanted that so that I can tell the customer when to swipe the card and after swipping wait for payment processing

sage bolt
#

What terminal device do are you trying to integrate?

merry lake
#

I am designing integration for BBPOS WisePOS E

sage bolt
#

Gotcha.
So when the SDK runs collectPaymentMethod function, the reader itself would prompt the customer to tap/swipe the card by showing a preview

#

And while its processing w/ processPayment, the reader would also show a loading screen

merry lake
#

But when to run process payment as there is no event which tells our system to proceed with this step?

sage bolt
#

I'm not sure I follow
Isn't your system itself calling the processPayment function?

#

Are you trying to implement server-driven solution?

merry lake
#

Nope. Thanks for all the answers.

sage bolt
#

NP! ๐Ÿ™‚ Glad I could help