Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Added CreateChargeWithToken method so a card number does not need to be passed in #8
Stripe gets around this by giving you a "token" for the approved card that you can charge against. You send that token to your server to then CreateCharge against stripe.
That's what this pull request is and does - a test has been added to Stripe.Tests as well.
Cheers! And thanks for the library.
added a commit
this pull request
Nov 7, 2012
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Thanks for the patch. I was covering this with an ICreditCard interface and the CreditCardToken class
But this method in your patch is more straight forward, so it is probably more easily discovered. Thanks again for the encouragement and patch.