mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Improvements for instant bank payments with gocardless
This commit is contained in:
parent
c5e2dba528
commit
f4b9889f0f
@ -60,6 +60,9 @@ class InstantBankPay implements MethodInterface
|
||||
'amount' => (string) $data['amount_with_fee'] * 100,
|
||||
'currency' => $this->go_cardless->client->getCurrencyCode(),
|
||||
],
|
||||
'metadata' => [
|
||||
'payment_hash' => $this->go_cardless->payment_hash->hash,
|
||||
],
|
||||
],
|
||||
]);
|
||||
|
||||
@ -73,6 +76,9 @@ 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