#.cooper4952
1 messages · Page 1 of 1 (latest)
Did you check old comments?
Even though I tap card, It shows still this screen and doesnt works terminal any more. So I have to restart every.
Can you share the code you're working with?
I suspect there's some misunderstanding about the flow
setReaderDisplay allows you to show the cart to your customer, once you've shown them the cart, you can use clearReaderDisplay and call collectPaymentMethod function to collect the payment for the order.
Once you collect the PaymentMethod, you'd see an option to provide tip
The Tap/insert/swipe text on the cart screen is to allow customers to pre-dip their card
https://stripe.com/docs/terminal/features/display?terminal-sdk-platform=js#:~:text=The setReaderDisplay method prepares,the full payment flow.
You still need to call collectPaymentMethod and processPayment as you typically would
LMK if that makes sense
Is that what you're currently doing?
Thank you, It seems my issue. But my concern is when I call clearReaderDisplay.
I am stillunderstand correct idea about "pre-dip" ...
That's something you'd build on your POS system.
When the staff is ringing up items, you'd use setReaderDisplay and once customer is ready to pay you'd call clearReaderDisplay and collectPaymentMethod
Pre-dip allows your customers to provide payment method when you're on cart screen which is then used when you call collectPaymentMethod
Thank you so much. I will be back you after test code. Do you have code snippet for pre-dip
You don't need separate code for pre-dip. It is already enabled when you call setReaderDisplay
oh, Thanks
NP! 🙂