#godcatchlongtong
1 messages · Page 1 of 1 (latest)
Hello
Hi! Let me help you with this.
Thanks
You can use the Payment Sheet instead and enable card scanning: https://stripe.com/docs/payments/accept-a-payment?platform=react-native&ui=payment-sheet#react-native-card-scanning
Yes.
But it can only be used on iOS, right?
If you're using React Native, then yes. However, Android supports this separately: https://stripe.com/docs/payments/accept-a-payment?platform=android&ui=payment-sheet#android-card-scanning
Our current page for adding credit cards is embedded into the APP using the Web. The Web uses React Stripe.js. If we follow the method you mentioned, does our page for adding credit cards have to be implemented separately on iOS and Android?
Oh, so you're using webview?
Yes, the current APP uses webview
The page in webview uses React Stripe.js
https://stripe.com/docs/js/element/other_methods/update?type=card This seems to indicate that credit card information cannot be pre-entered.
Yes, you can't manipulate the card input field. With webview card scanning is not possible.
So if you want to realize the function of scanning credit card information and automatically filling it into the page, do you need iOS and Android to integrate the Native SDK?
Correct.
OK, thanks
Happy to help!