diff --git a/app/PaymentDrivers/PayFast/CreditCard.php b/app/PaymentDrivers/PayFast/CreditCard.php index ae5968eddda7..f97c6c333a1e 100644 --- a/app/PaymentDrivers/PayFast/CreditCard.php +++ b/app/PaymentDrivers/PayFast/CreditCard.php @@ -169,7 +169,7 @@ class CreditCard 'return_url' => route('client.payment_methods.index'), 'cancel_url' => route('client.payment_methods.index'), 'notify_url' => $this->payfast->genericWebhookUrl(), - 'm_payment_id' => $data['hash'], + 'm_payment_id' => $data['payment_hash'], 'amount' => $data['amount_with_fee'], 'item_name' => 'purchase', 'item_description' => ctrans('texts.invoices') . ': ' . collect($data['invoices'])->pluck('invoice_number'), diff --git a/resources/views/portal/ninja2020/gateways/payfast/pay.blade.php b/resources/views/portal/ninja2020/gateways/payfast/pay.blade.php index 5cde9b5fca75..9f2146badd32 100644 --- a/resources/views/portal/ninja2020/gateways/payfast/pay.blade.php +++ b/resources/views/portal/ninja2020/gateways/payfast/pay.blade.php @@ -20,11 +20,6 @@ - - @if(!Request::isSecure()) -
{{ ctrans('texts.https_required') }}
- @endif - @component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.method')])