SHARE
TWEET

Untitled

a guest Sep 17th, 2019 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.            $customer = Customer::create(array(
  2.                 'email' => $request->stripeEmail,
  3.                 'source' => $request->stripeToken
  4.             ));
  5.            
  6.  
  7.             $charge = Charge::create(array(
  8.                 'customer' => $customer->id,
  9.                 'amount' => 1999,
  10.                 'currency' => 'usd'
  11.             ));
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. OK, I Understand
 
Top