#devfrnds-terminal
1 messages · Page 1 of 1 (latest)
@real radish hi! cancel when/how exactly? during the payment process , or do you mean a refund? Are you using our JS or iOS or Android SDKs and with which reader?
During the payment process. I'm using JS with BBPOS WisePOS E
you'd call https://stripe.com/docs/terminal/js-api-reference#cancel-collect-payment-method (for example have a button in your web app that the cashier can press to cancel the payment, which calls that function)
Just need to call "cancelCollectPaymentMethod()" this function or anything else?
I don't think you have to call anything else, that clears the reader screen. You can optionally cancel the PaymentIntent as well(in a backend call) but you don't have to.
ok