#Vipin
1 messages · Page 1 of 1 (latest)
I think you need to make the call to cancel the current reader action as well https://stripe.com/docs/api/terminal/readers/cancel_action
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I see so cancel the intent and then followed by a call to cancel action . Is this correct @orchid hill ?
Hello 👋
It depends on what SDK are you currently using for terminal?
Are you using Server Driven Integration?
No I am using client driven integration
Using the stripe terminal iOS sdk and stripe terminal android sdk
I want to call cancel when the collectPayment call is in process
Gotcha. Hang on.. let me take a look
So for iOS you'd need to use the Cancellable object to cancel the collection
https://stripe.com/docs/terminal/payments/collect-payment?terminal-sdk-platform=ios#:~:text=You can cancel collecting a payment method using the Cancelable object returned by the iOS SDK.
I see got it so cancelable is to be used . Thanks for sharing I’ll try this