GoCardless Intant Bank Pay

This commit is contained in:
David Bomba 2022-11-07 12:46:43 +11:00
parent bad72625a6
commit 65c7baeec7

View File

@ -60,6 +60,9 @@ class InstantBankPay implements MethodInterface
'amount' => (string) $data['amount_with_fee'] * 100, 'amount' => (string) $data['amount_with_fee'] * 100,
'currency' => $this->go_cardless->client->getCurrencyCode(), 'currency' => $this->go_cardless->client->getCurrencyCode(),
], ],
'metadata' => [
'payment_hash' => $this->go_cardless->payment_hash->hash,
],
], ],
]); ]);
@ -73,6 +76,9 @@ class InstantBankPay implements MethodInterface
'links' => [ 'links' => [
'billing_request' => $billing_request->id, 'billing_request' => $billing_request->id,
], ],
'metadata' => [
'payment_hash' => $this->go_cardless->payment_hash->hash,
],
], ],
]); ]);