-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add defaultValues to CardForm and CardField #1044
base: master
Are you sure you want to change the base?
feat: add defaultValues to CardForm and CardField #1044
Conversation
Couldn't this cause PCI compliance issues, as sensitive data is sent through the React Native wrapper? With Flutter we developed a similar functionality, but we hid it behind a |
The main drivers behind this ask are for devs to provide default test values (i.e. 4242424242424242) or to provide billing data like zip code. I will need to double check what those use cases mean for things like SAQ A eligibility |
56ca983
to
cbb0e36
Compare
Maybe can you just allow providing zip code and country (And hide them btw) ? |
@charliecruzan-stripe I am using a credit card scanner and want to set the values of CardField. Is it still PCI Compliant? Scan Card is only on Payment Sheet and is not visible on CardField. So I am using a different scanner but I don't have a way to add the scanned values to CardField or CardForm |
@charliecruzan-stripe would be really awesome to have these changes, if you need any help to proceed please share what can be done to speed it up 🙏 |
when will this be merged? |
we're waiting on changes in |
hello @charliecruzan-stripe , thanks for the response. Do you have any ETA when it could be done? is it already in progress or it's possible to contribute to speed it up? greetings and thank you for your support! |
Any updates? it's been more than a year waiting for this feature... |
It would be great to have possibility to inject scanned values into CardField / CardForm or have scanning integrated into these components |
👋 hello again, any specific changes to the iOS sdk that need to be made? would love to track how this is going. |
Summary
defaultValues
prop toCardField
. You can now programmatically set the card number, CVC, expiry date, and postal code.CardForm
'sdefaultValues
prop. You can now programmatically set the card number, CVC, expiry date, and postal code.Motivation
closes #916
closes #637 (same request here)
closes #577 (can provide default values to address this issue)
Testing
Documentation
Select one: