#chern

1 messages · Page 1 of 1 (latest)

formal swallowBOT
thick badger
#

Hi there, the card scanning is a separate componnet, so technically you can use it outside PaymentSheet, you may want to have a try
Android-> https://github.com/stripe/stripe-android/tree/master/stripecardscan
iOS -> https://github.com/stripe/stripe-ios/tree/master/StripeCardScan

GitHub

Stripe Android SDK . Contribute to stripe/stripe-android development by creating an account on GitHub.

GitHub

Stripe iOS SDK . Contribute to stripe/stripe-ios development by creating an account on GitHub.

broken heron
#

Thanks! Can we have access to these features with stripe-react-native sdk? Or should we create the custom wrapper modules?

thick badger
broken heron
#

Ok, if we will create the wrappers, will it be possible to pass the scanning result data to the CardField component from stripe-react-native?

thick badger
broken heron
#

Ok, got it thanks a lot!

thick badger
broken heron
#

It's only blur, focus and clear

thick badger
#

Not all native functions are surfaced in stripe-react-native SDk

broken heron
#

So it means we can't set the data in CardField programmatically 😦

thick badger
#

Not directly through stripe-react-native SDK, you might need to build your own bridge or wrapper.

broken heron
#

It's sad. But anyway thanks for your help!