From b1522218540918428d03c951e5c04ed30aca0f43 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 23 Sep 2021 17:55:28 +1000 Subject: [PATCH] PayFast API 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 4414a685c9..4fa0325632 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' => false]];//Payfast + return [GatewayType::CREDIT_CARD => ['refund' => false, 'token_billing' => true]];//Payfast break; case 7: return [ diff --git a/app/PaymentDrivers/PayFastPaymentDriver.php b/app/PaymentDrivers/PayFastPaymentDriver.php index e2e5816a85..15b4205849 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 = false; //does this gateway support token billing? + public $token_billing = true; //does this gateway support token billing? public $can_authorise_credit_card = true; //does this gateway support authorizations?