📅  最后修改于: 2022-03-11 15:00:18.730000             🧑  作者: Mango
$charge = \Stripe\Charge::create(array(
'amount' => $orderTotal, //total amount that will be paid by the user.
'currency' => 'inr', //currency in which he is paying
'customer' => $customer->id,
'description' => 'Test Purchase', //Payment description
));