Open reggi opened 10 years ago
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.
I agree, making this more Stripe friendly would be helpful.
I've placed the strip attributes and it seems to be working quite well on Mac/FF and Mac/Chrome? What is your platform?
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?
@scottzirkel I was able to work around this by putting the following in the stripe success callback:
$form.find('[data-stripe]').val('')
Thanks, I ended up changing the InputSelectors on the fields. Yours has less code, though.
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.