mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for Paypal
This commit is contained in:
parent
7caf9965e7
commit
2e7de6c470
@ -187,7 +187,7 @@ class PayPalExpressPaymentDriver extends BaseDriver
|
|||||||
'cancelUrl' => $this->client->company->domain() . '/client/invoices',
|
'cancelUrl' => $this->client->company->domain() . '/client/invoices',
|
||||||
'description' => implode(',', collect($this->payment_hash->data->invoices)
|
'description' => implode(',', collect($this->payment_hash->data->invoices)
|
||||||
->map(function ($invoice) {
|
->map(function ($invoice) {
|
||||||
return sprintf('%s: %s', ctrans('texts.invoice_number'), $invoice->number);
|
return sprintf('%s: %s', ctrans('texts.invoice_number'), $invoice->invoice_number);
|
||||||
})->toArray()),
|
})->toArray()),
|
||||||
'transactionId' => $this->payment_hash->hash . '-' . time(),
|
'transactionId' => $this->payment_hash->hash . '-' . time(),
|
||||||
'ButtonSource' => 'InvoiceNinja_SP',
|
'ButtonSource' => 'InvoiceNinja_SP',
|
||||||
|
Loading…
Reference in New Issue
Block a user