Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $customer = \Stripe\Token::create(array(
- 'account' => array(
- 'individual' => array(
- 'first_name' => 'Jérome',
- 'last_name' => 'Arakelian',
- ),
- 'tos_shown_and_accepted' => true
- )
- ));
- debug($customer);
- $result = \Stripe\Account::create(array(
- "type" => "custom",
- "country" => "FR",
- "account_token" => $customer->id,
- "email" => $curtomer_email,
- "business_type" => "individual"
- ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement