SHARE
TWEET
Untitled
a guest
Jul 29th, 2016
63
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- I can do this:
- $charge = \Stripe\Charge::create(array(
- "amount" => 1000, // amount in cents, again
- "currency" => "gbp",
- "source" => $token,
- "description" => "Example charge"
- ));
- I can't do this:
- $charge = \Stripe\Order::create(array(
- "items" => array(
- array(
- "type" => "sku",
- "parent" => "PASTEDHERE"
- )
- ),
- "currency" => "gbp",
- "source" => $token
- ));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.
