stripe-terminal-android icon indicating copy to clipboard operation
stripe-terminal-android copied to clipboard

Add callback to know when a card is inserted or removed outside collect state

Open Oshariser opened this issue 10 months ago • 7 comments

I want to know at any moment if a card is inserted or removed, not only in collect state.

Oshariser avatar Mar 28 '24 14:03 Oshariser

Hi @Oshariser -- can you share more information on why you would like this information?

billfinn-stripe avatar Apr 10 '24 00:04 billfinn-stripe

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.

Oshariser avatar Apr 10 '24 09:04 Oshariser

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 avatar Apr 10 '24 16:04 billfinn-stripe

@billfinn-stripe exactly

Oshariser avatar Apr 16 '24 15:04 Oshariser

Hi @Oshariser , curious what your integration set up is like, are you're using a Bluetooth/Usb Reader or an Internet Reader?

ugochukwu-stripe avatar Apr 26 '24 15:04 ugochukwu-stripe

Hi @ugochukwu-stripe we are using usb Stripe Reader M2

Oshariser avatar May 07 '24 09:05 Oshariser

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.

ugochukwu-stripe avatar May 07 '24 15:05 ugochukwu-stripe

This feature is now available in Terminal Android SDK 3.7.0 https://github.com/stripe/stripe-terminal-android/blob/master/CHANGELOG.md

cwoods-stripe avatar Jun 24 '24 23:06 cwoods-stripe

Is this fix already available in the iOS SDK or will it be made available to align implementations?

vastopa avatar Jun 26 '24 04:06 vastopa

@vastopa I believe the iOS SDK already supports this feature, feel free to open an issue if it isn't working as expected.

ugochukwu-stripe avatar Jun 26 '24 14:06 ugochukwu-stripe