#Ronit
1 messages · Page 1 of 1 (latest)
Can you please share what exact Terminal integration you are following first ?
install via pods and i am cancelling the connection process after tap on connect reader option when the discover process is finished and connect reader fucntion is calling
I need to know what integration you are trying to implement and what terminal are you using in order to follow you, are you following this:
https://stripe.com/docs/terminal/payments/connect-reader?terminal-sdk-platform=ios&reader-type=internet?
sorry, it is bluetooth connection and reader M2 model
Ok so you are following this:
https://stripe.com/docs/terminal/payments/connect-reader?reader-type=bluetooth
Now why where you want to make the reader value null and why ?
Terminal.shared.connectBluetoothReader(selectedReader, delegate: readerDelegate, connectionConfig: connectionConfig) here because user want to cancel connection with reader
Why you want to disconnect? just remove the terminal from your local integration if you want
how does i can do it
It depends on your integration code, are you stroing the terminal id in database something else..
You don't need to handle this by Stripe SDK.
if possible can i use disconnectReader method for disconnect reader from app
You can try I think yes.
thanks for help i got it working by that function