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') ] );