Minor fixes
This commit is contained in:
parent
1dd4f1e379
commit
d24047374b
2 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 }}">
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue