mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 06:24:30 -04:00
Minor fixes
This commit is contained in:
parent
1dd4f1e379
commit
d24047374b
@ -174,7 +174,6 @@ class CreditCard
|
|||||||
'amount' => $data['amount_with_fee'],
|
'amount' => $data['amount_with_fee'],
|
||||||
'item_name' => 'purchase',
|
'item_name' => 'purchase',
|
||||||
'item_description' => ctrans('texts.invoices') . ': ' . collect($data['invoices'])->pluck('invoice_number'),
|
'item_description' => ctrans('texts.invoices') . ': ' . collect($data['invoices'])->pluck('invoice_number'),
|
||||||
'subscription_type' => 2,
|
|
||||||
'passphrase' => $this->payfast->company_gateway->getConfigField('passphrase'),
|
'passphrase' => $this->payfast->company_gateway->getConfigField('passphrase'),
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -182,7 +181,7 @@ class CreditCard
|
|||||||
$data['gateway'] = $this->payfast;
|
$data['gateway'] = $this->payfast;
|
||||||
$data['payment_endpoint_url'] = $this->payfast->endpointUrl();
|
$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="amount" value="{{ $amount }}">
|
||||||
<input type="hidden" name="item_name" value="{{ $item_name }}">
|
<input type="hidden" name="item_name" value="{{ $item_name }}">
|
||||||
<input type="hidden" name="item_description" value="{{ $item_description}}">
|
<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="passphrase" value="{{ $passphrase }}">
|
||||||
<input type="hidden" name="signature" value="{{ $signature }}">
|
<input type="hidden" name="signature" value="{{ $signature }}">
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user