Last active
August 29, 2015 14:20
-
-
Save alch/f3526d55b9c643980ec2 to your computer and use it in GitHub Desktop.
This file contains 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
/** | |
* List charges form stripe. | |
* @link https://stripe.com/docs/api/php#list_charges | |
*/ | |
\Stripe::setApiKey('stripe.private.key'); | |
/** | |
* @var \Stripe_List $a | |
*/ | |
$a = \Stripe_Charge::all(); | |
/* | |
* Actual Stripe_Objects representing charges are accesible by the data field | |
*/ | |
var_dump($a->data); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment