Last active
December 14, 2015 18:48
-
-
Save robertz/5131613 to your computer and use it in GitHub Desktop.
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
<cfoutput> | |
<cfscript> | |
Stripe = new data.Commerce.Stripe(); | |
card = { | |
"number": "4242424242424242", | |
"exp_month": "12", | |
"exp_year": "2015", | |
"cvc": "123", | |
"name": "Java Bindings Cardholder", | |
"address_line1": "140 2nd Street", | |
"address_line2": "4th Floor", | |
"address_city": "San Francisco", | |
"address_zip": "94105", | |
"address_state": "CA", | |
"address_country": "USA" | |
} | |
writeDump(Stripe.charge(amount: "100000", card: card)); | |
writeDump(Stripe.events(count: 100)); | |
writeDump(Stripe.getAllCharges()); | |
</cfscript> | |
</cfoutput> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment