Pre-fill card number, cvc and expiration
See original GitHub issueis it possible to pre-fill those fields automatically? say for example:
- scan a card using https://github.com/Kerumen/react-native-awesome-card-io
- then call stripe.paymentRequestWithCardForm(options)
- with params
const options = {data: {cardNumber: 'xxxxxxxxxxx', cvc: '123', expiry: '10/20'}}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to populate saved card values in the stripe element?
You can't pre-fill sensitive inputs (card number, CVC, and expiration date) in Stripe Elements. This is by design for security reasons.
Read more >Save payment details during payment | Stripe Documentation
Fill out the credit card form using the credit card number 4000 0025 0000 3155 with any expiration, CVC, and postal code. Credit...
Read more >Prefill cards on Checkout - YouTube
In this episode, you'll learn from Matt about how to prefill the card, with a previously saved card in Checkout, when a user...
Read more >Split credit card fields with Stripe.js & Elements - YouTube
In this episode, you'll learn from Matt about how use separate card input fields for number, expiry and cvc with Stripe.js and Elements....
Read more >Autofill credit card info in Safari on Mac - Apple Support
In Safari on your Mac, use AutoFill to enter previously saved credit card ... card form with fields for entering the name, card...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @itsmepetrov, Sadly the PaymentCardTextField can’t set initial params on Android. No setParams function in PaymentCardTextField.android.js. Please add setParams support to Android too! Thanks a lot.
Hi @balesz
Yes,
PaymentCardTextField
on Android currently does no supportsetParams
, but we have plan to replaceCreditCardEntry
with the official input widget and also add support forsetParams
.