Skip to content
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

Using with stripe.js #25

Open
bkrall opened this issue Jan 9, 2017 · 2 comments
Open

Using with stripe.js #25

bkrall opened this issue Jan 9, 2017 · 2 comments

Comments

@bkrall
Copy link

bkrall commented Jan 9, 2017

Hey there! Possibly covered in another issue, but I'm not seeing it.

https://stripe.com/docs/custom-form#step-1-collecting-credit-card-information

The HTML is fairly standard, but note how every input for sensitive data—number, CVC, expiration, and ZIP code—omits the name attribute. By omitting a name, the user-supplied data in those fields won't be passed to your server when the form is submitted. Each element also includes a data-stripe attribute

Is it possible to use card-react without using name attributes?

@bkrall
Copy link
Author

bkrall commented Jan 10, 2017

Realized the card repo already addressed this: jessepollak/card#261

@bkrall
Copy link
Author

bkrall commented Jan 17, 2017

Ah, actually it doesn't look like formSelectors are supported on this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant