chargebee / chargebee-samples

The chargebee sample apps
MIT License
23 stars 76 forks source link

stripeToken input field is missing in form #2

Closed vaidas-lungis closed 9 years ago

vaidas-lungis commented 9 years ago

as in example in here https://stripe.com/docs/tutorials/forms

saravana-cb commented 9 years ago

Hello, As per Stripe docs, stripeToken input field is added after the token is returned from stripe and before form submit.

In this sample demo, we placed hidden parameter with name stripeToken inside the form and when the stripe returns the token we set the token in the hidden parameter and then we will do form submit.

Hope that clears you.

vaidas-lungis commented 9 years ago

Ahh Thank you for clarification and for sample code. Appreciate