Created
August 30, 2012 02:07
-
-
Save antoniosilveira/3521677 to your computer and use it in GitHub Desktop.
Credit Card Payment example with Stride
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> import stripe | |
stripe.api_key = "vtUQeOtUnYr7PGCLQ96Ul4zqpDUO4sOE" | |
stripe.Charge.create( | |
amount=400, | |
currency="usd", | |
card={ | |
"number": '4242424242424242', | |
"exp_month": '12', | |
"exp_year": '2012', | |
"cvc": '123' | |
}, | |
description="Charge for [email protected]" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment