Skip to content

Instantly share code, notes, and snippets.

@invisiblefunnel
Created April 25, 2012 19:17
Show Gist options
  • Save invisiblefunnel/2492436 to your computer and use it in GitHub Desktop.
Save invisiblefunnel/2492436 to your computer and use it in GitHub Desktop.
stripe.js create token
Stripe.createToken({
number: $('.card-number').val(),
cvc: $('.card-cvc').val(),
exp_month: $('.card-expiry-month').val(),
exp_year: $('.card-expiry-year').val()
}, responseHandler);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment