Answers for "Make payment using stripe payment API"

0

Make payment using stripe payment API

$charge = StripeCharge::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

            ));
Posted by: Guest on January-08-2022

Browse Popular Code Answers by Language