From 4d521dfeacdcc3987f27a1fac2b1ffb6d4ea6369 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 23 Sep 2021 20:06:14 +1000 Subject: [PATCH] Abandon PayFast adhoc token billing --- app/Models/Gateway.php | 2 +- app/PaymentDrivers/PayFastPaymentDriver.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Gateway.php b/app/Models/Gateway.php index 4fa0325632..4414a685c9 100644 --- a/app/Models/Gateway.php +++ b/app/Models/Gateway.php @@ -85,7 +85,7 @@ class Gateway extends StaticModel return [GatewayType::CREDIT_CARD => ['refund' => false, 'token_billing' => true]];//eWay break; case 11: - return [GatewayType::CREDIT_CARD => ['refund' => false, 'token_billing' => true]];//Payfast + return [GatewayType::CREDIT_CARD => ['refund' => false, 'token_billing' => false]];//Payfast break; case 7: return [ diff --git a/app/PaymentDrivers/PayFastPaymentDriver.php b/app/PaymentDrivers/PayFastPaymentDriver.php index 15b4205849..e2e5816a85 100644 --- a/app/PaymentDrivers/PayFastPaymentDriver.php +++ b/app/PaymentDrivers/PayFastPaymentDriver.php @@ -28,7 +28,7 @@ class PayFastPaymentDriver extends BaseDriver public $refundable = false; //does this gateway support refunds? - public $token_billing = true; //does this gateway support token billing? + public $token_billing = false; //does this gateway support token billing? public $can_authorise_credit_card = true; //does this gateway support authorizations?