From 812b2450ee91a73d43697f5f4985ea1550ecfefe Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 5 Jul 2021 14:19:17 +1000 Subject: [PATCH] Fixes for base driver --- app/PaymentDrivers/PayFast/CreditCard.php | 2 +- .../views/portal/ninja2020/gateways/payfast/authorize.blade.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/PaymentDrivers/PayFast/CreditCard.php b/app/PaymentDrivers/PayFast/CreditCard.php index fc78cc2f7db3..eb430ff78ec2 100644 --- a/app/PaymentDrivers/PayFast/CreditCard.php +++ b/app/PaymentDrivers/PayFast/CreditCard.php @@ -92,8 +92,8 @@ class CreditCard 'return_url' => route('client.payment_methods.index'), 'cancel_url' => route('client.payment_methods.index'), 'notify_url' => $this->payfast->genericWebhookUrl(), - 'amount' => 5, 'm_payment_id' => $hash, + 'amount' => 5, 'item_name' => 'pre-auth', 'item_description' => 'Credit Card Pre Authorization', 'subscription_type' => 2, diff --git a/resources/views/portal/ninja2020/gateways/payfast/authorize.blade.php b/resources/views/portal/ninja2020/gateways/payfast/authorize.blade.php index 06cdd2dc56ba..5dbba361c5a1 100644 --- a/resources/views/portal/ninja2020/gateways/payfast/authorize.blade.php +++ b/resources/views/portal/ninja2020/gateways/payfast/authorize.blade.php @@ -12,8 +12,10 @@ + +