Minor fixes

This commit is contained in:
David Bomba 2021-07-05 20:50:02 +10:00
parent 1dd4f1e379
commit d24047374b
2 changed files with 1 additions and 3 deletions

View File

@ -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);
}

View File

@ -16,7 +16,6 @@
<input type="hidden" name="amount" value="{{ $amount }}">
<input type="hidden" name="item_name" value="{{ $item_name }}">
<input type="hidden" name="item_description" value="{{ $item_description}}">
<input type="hidden" name="subscription_type" value="{{ $subscription_type }}">
<input type="hidden" name="passphrase" value="{{ $passphrase }}">
<input type="hidden" name="signature" value="{{ $signature }}">