diff --git a/app/PaymentDrivers/PayFast/CreditCard.php b/app/PaymentDrivers/PayFast/CreditCard.php index d3267fe041d5..ff93cc812480 100644 --- a/app/PaymentDrivers/PayFast/CreditCard.php +++ b/app/PaymentDrivers/PayFast/CreditCard.php @@ -174,7 +174,6 @@ class CreditCard 'amount' => $data['amount_with_fee'], 'item_name' => 'purchase', 'item_description' => ctrans('texts.invoices') . ': ' . collect($data['invoices'])->pluck('invoice_number'), - 'subscription_type' => 2, 'passphrase' => $this->payfast->company_gateway->getConfigField('passphrase'), ]; @@ -182,7 +181,7 @@ class CreditCard $data['gateway'] = $this->payfast; $data['payment_endpoint_url'] = $this->payfast->endpointUrl(); - return render('gateways.payfast.authorize', $data); + return render('gateways.payfast.pay', $data); } diff --git a/resources/views/portal/ninja2020/gateways/payfast/pay.blade.php b/resources/views/portal/ninja2020/gateways/payfast/pay.blade.php index 9f2146badd32..633c684baeba 100644 --- a/resources/views/portal/ninja2020/gateways/payfast/pay.blade.php +++ b/resources/views/portal/ninja2020/gateways/payfast/pay.blade.php @@ -16,7 +16,6 @@ -