#nasa51-terminal-confirm

1 messages · Page 1 of 1 (latest)

bold bear
#

To confirm: you want to be able to send Terminal back to the home screen in some instances where a payment is cancelled or the payment flow is interrupted?

spiral hedge
#

almost, I need a way to interrupt terminal card awaiting with JS and send it to home screen

#

for example if customer changed mind to pay with card

silk steeple
#

👋 stepping in here.

#

You wouldn't be using confirmCardSetup() with Terminal. So I'm a bit confused.

spiral hedge
#

I'm sorry, yes I'm using that guid, and need to interrupt collectSetupIntentPaymentMethod if customer change mind or forgot CC

silk steeple
#

It discusses that in the guide above: You can cancel collecting a payment method by using the Cancelable object returned by the iOS or Android SDK, calling cancelCollectSetupIntent in the React Native SDK, or calling cancelCollectSetupIntentPaymentMethod in the JavaScript SDK.

spiral hedge
#

Thank you, I'm sorry, I've missed that..