Created
December 9, 2013 06:02
-
-
Save andrewpthorp/7867976 to your computer and use it in GitHub Desktop.
Stripe: PHP Metadata
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
Stripe_Charge::create(array( | |
"amount" => 400, | |
"currency" => "usd", | |
"card" => "some_token_here", // obtained with Stripe.js, | |
"metadata" => array("key" => "value", "key2" => "value2") | |
)); |
wow. isn't the internet just great!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for posting this!