From 3ff6dd447290179e042f806283175511850a125b Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 16 Sep 2019 21:16:20 +1000 Subject: [PATCH] Working on credit card auth response --- app/PaymentDrivers/StripePaymentDriver.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/PaymentDrivers/StripePaymentDriver.php b/app/PaymentDrivers/StripePaymentDriver.php index ba1d4fd93a..84120bb1f9 100644 --- a/app/PaymentDrivers/StripePaymentDriver.php +++ b/app/PaymentDrivers/StripePaymentDriver.php @@ -26,6 +26,17 @@ class StripePaymentDriver extends BasePaymentDriver protected $customer_reference = 'customerReferenceParam'; +/** + * Payments + * \Stripe\PaymentIntent::create([ + 'payment_method_types' => ['card'], + 'amount' => 1099, + 'currency' => 'aud', + 'customer' => 'cus_Fow2nmVJX1EsQw', + 'payment_method' => 'card_1FJIAjKmol8YQE9DxWb9kMpR', +]); + */ + /** * Methods in this class are divided into