diff --git a/app/PaymentDrivers/PayFast/Token.php b/app/PaymentDrivers/PayFast/Token.php index 84626a1c714b..a4e624b78271 100644 --- a/app/PaymentDrivers/PayFast/Token.php +++ b/app/PaymentDrivers/PayFast/Token.php @@ -91,7 +91,7 @@ class Token 'item_description' => ctrans('texts.invoices') . ': ' . collect($payment_hash->invoices())->pluck('invoice_number'), ]; - $header['signature'] = $this->genSig(array_merge($header, $body)); + $header['signature'] = $this->payfast->generateSignature(array_merge($header, $body)); // $header['signature'] = $this->genSig($body); nlog($this->payfast->company_gateway->getConfigField('merchantId'));