GoCardless Intant Bank Pay

This commit is contained in:
David Bomba 2022-11-07 12:52:17 +11:00
parent 4d4c3d7f25
commit 46a74baff1

View File

@ -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,
],
],
]);