mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 00:54:38 -04:00
GoCardless Intant Bank Pay
This commit is contained in:
parent
4d4c3d7f25
commit
46a74baff1
@ -59,7 +59,10 @@ class InstantBankPay implements MethodInterface
|
||||
'description' => ctrans('texts.invoices').': '.collect($data['invoices'])->pluck('invoice_number'),
|
||||
'amount' => (string) $data['amount_with_fee'] * 100,
|
||||
'currency' => $this->go_cardless->client->getCurrencyCode(),
|
||||
]
|
||||
],
|
||||
'metadata' => [
|
||||
'payment_hash' => $this->go_cardless->payment_hash->hash,
|
||||
],
|
||||
],
|
||||
]);
|
||||
|
||||
@ -73,9 +76,6 @@ class InstantBankPay implements MethodInterface
|
||||
'links' => [
|
||||
'billing_request' => $billing_request->id,
|
||||
],
|
||||
'metadata' => [
|
||||
'payment_hash' => $this->go_cardless->payment_hash->hash,
|
||||
],
|
||||
],
|
||||
]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user