From b90049001fdd2774663b9cb65a7c44f47041c02a Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 23 Sep 2021 17:57:24 +1000 Subject: [PATCH] PayFast API token billing --- app/PaymentDrivers/PayFast/Token.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/PaymentDrivers/PayFast/Token.php b/app/PaymentDrivers/PayFast/Token.php index dc9cb5592260..aac927f77f80 100644 --- a/app/PaymentDrivers/PayFast/Token.php +++ b/app/PaymentDrivers/PayFast/Token.php @@ -95,9 +95,9 @@ class Token // $result = $this->send($header, $body, $cgt->token); $api = new \PayFast\PayFastPayment( [ - 'merchantId' => $this->company_gateway->getConfigField('merchantId'), - 'passPhrase' => $this->company_gateway->getConfigField('passPhrase'), - 'testMode' => $this->company_gateway->getConfigField('testMode') + 'merchantId' => $this->payfast->company_gateway->getConfigField('merchantId'), + 'passPhrase' => $this->payfast->company_gateway->getConfigField('passPhrase'), + 'testMode' => $this->payfast->company_gateway->getConfigField('testMode') ] );