stripe-terminal-android
stripe-terminal-android copied to clipboard
Add callback to know when a card is inserted or removed outside collect state
I want to know at any moment if a card is inserted or removed, not only in collect state.
Hi @Oshariser -- can you share more information on why you would like this information?
Hi @billfinn-stripe , our customer want to insert a card to unlock our app and start doing some payment. It's a condition to allow only card owner to do payment and avoid for example children to have access and play with our app.
Hi @Oshariser -- that's helpful. So, in other words, you'd like to use card insertion (any card -- doesn't have to be a proper credit card) as a signal for your POS application to unlock?
@billfinn-stripe exactly
Hi @Oshariser , curious what your integration set up is like, are you're using a Bluetooth/Usb
Reader or an Internet Reader?
Hi @ugochukwu-stripe we are using usb Stripe Reader M2
Thanks @Oshariser , we'd expose the card update callbacks outside of a collect in an upcoming release. I'd leave this open in the meantime and close once the release is out.
This feature is now available in Terminal Android SDK 3.7.0 https://github.com/stripe/stripe-terminal-android/blob/master/CHANGELOG.md
Is this fix already available in the iOS SDK or will it be made available to align implementations?
@vastopa I believe the iOS SDK already supports this feature, feel free to open an issue if it isn't working as expected.