I am attempting to simply create a checkout form which creates a new User (Not to be confused with creating a Stipe Customer) at checkout with Stripe payment gateway.
Form has
User.name,
User.email,
User.password,
User.confirm, and the
Order.number,
Order.cvc,
Order.exp-month,
Order.exp-year
Most of this is as outlined in:
http://josediazgonzalez.com/2013/12/15/payment-processing-using-stripe/
I simply added in the User registration fields to the form.
Problem is as soon as the credit card info is filled out submit skips validation on the User info. If I leave all fields blank it submits / returns validation errors as it should. But once all creditcard info is entered and submit -> it appears the javascript simply sends the request and returns response.
Has anyone had any success creating a User along with payment processing all on the same form.
Thanks,
Dave
No comments:
Post a Comment