mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Payfast payments
This commit is contained in:
parent
a7076be746
commit
6d8aba49d7
@ -169,7 +169,7 @@ class CreditCard
|
|||||||
'return_url' => route('client.payment_methods.index'),
|
'return_url' => route('client.payment_methods.index'),
|
||||||
'cancel_url' => route('client.payment_methods.index'),
|
'cancel_url' => route('client.payment_methods.index'),
|
||||||
'notify_url' => $this->payfast->genericWebhookUrl(),
|
'notify_url' => $this->payfast->genericWebhookUrl(),
|
||||||
'm_payment_id' => $data['hash'],
|
'm_payment_id' => $data['payment_hash'],
|
||||||
'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'),
|
||||||
|
@ -20,11 +20,6 @@
|
|||||||
<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 }}">
|
||||||
|
|
||||||
|
|
||||||
@if(!Request::isSecure())
|
|
||||||
<p class="alert alert-failure">{{ ctrans('texts.https_required') }}</p>
|
|
||||||
@endif
|
|
||||||
|
|
||||||
<div class="alert alert-failure mb-4" hidden id="errors"></div>
|
<div class="alert alert-failure mb-4" hidden id="errors"></div>
|
||||||
|
|
||||||
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.method')])
|
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.method')])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user