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

Stripe data attributes being removed. #128

Open
reggi opened this issue Mar 6, 2014 · 6 comments
Open

Stripe data attributes being removed. #128

reggi opened this issue Mar 6, 2014 · 6 comments

Comments

@reggi
Copy link

reggi commented Mar 6, 2014

I took the example code and added stripe attributes like data-stripe="number" to each of the inputs and they aren't rendering in the DOM. This is a bummer because I have to select each value manually.

@reggi
Copy link
Author

reggi commented Mar 6, 2014

The more I familiarize myself with it, I understand it better. You're replacing the whole form, still would be nice if these transfered over to the new inputs.

@scottzirkel
Copy link

I agree, making this more Stripe friendly would be helpful.

@peterlada
Copy link

I've placed the strip attributes and it seems to be working quite well on Mac/FF and Mac/Chrome? What is your platform?

@scottzirkel
Copy link

My issue isn't with the Stripe attributes as it is with the name attribute. Is there a way to keep name from being used in the form?

@csexton
Copy link

csexton commented Apr 12, 2014

@scottzirkel I was able to work around this by putting the following in the stripe success callback:

$form.find('[data-stripe]').val('')

@scottzirkel
Copy link

Thanks, I ended up changing the InputSelectors on the fields. Yours has less code, though.

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

4 participants