Improvements for instant bank payments with gocardless

This commit is contained in:
David Bomba 2022-11-07 10:46:05 +11:00
parent c5e2dba528
commit f4b9889f0f

View File

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