📜  使用条带支付 API 进行支付 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:18.730000             🧑  作者: Mango

代码示例1
$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

            ));