Strip Integration
// $p=\Stripe\Customer::create(array(
// "email" => "sneha.unified17@gmail.com",
// "description" => "Employess"
// ));
// print_r($p);
// $account = \Stripe\Customer::retrieve(" cus_A8N9jIROdxw0VZ");
// print_r($account->sources);
// $myCard = array('number' => '5200828282828210', 'exp_month' => 8, 'exp_year' => 2018);
// $charge = \Stripe\Charge::create(array(' card' => $myCard, 'amount' => 1000, 'currency' => 'usd'));
// print_r($charge);
// $charge = \Stripe\Charge::create(array(
// "amount" => '100',
// "currency" => "usd",
// "customer" => 'cus_A8N9jIROdxw0VZ',
// "description" => 'Pay for Customer'
// ));
// print_r($charge);
$customer = \Stripe\Customer::retrieve('cus_A8TnDLGgvhzjTh');
$customer->sources->create([
'card' => [
'number' => '4242424242424242',
'exp_month' => 10,
'cvc' => 314,
'exp_year' => 2020,
'name' => 'Sneha Sarkar',
],
]);
$customer = \Stripe\Customer::retrieve('cus_A8TnDLGgvhzjTh');
$customer->sources->create([
'bank_account' => [
'country' => 'US',
'routing_number' => '110000000',
'account_number' => '000123456789',
"account_holder_name" => "Jane Austen",
"account_holder_type" => "individual",
"country" => "US",
"currency" => "usd",
],
]);