mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for storing bank details
This commit is contained in:
parent
555ad1e575
commit
a24c705ffc
@ -141,8 +141,8 @@ class BECS
|
|||||||
$method = $this->stripe->getStripePaymentMethod($intent->payment_method);
|
$method = $this->stripe->getStripePaymentMethod($intent->payment_method);
|
||||||
|
|
||||||
$payment_meta = new \stdClass;
|
$payment_meta = new \stdClass;
|
||||||
$payment_meta->brand = (string) \sprintf('%s (%s)', $method->sepa_debit->bank_code, ctrans('texts.becs'));
|
$payment_meta->brand = (string) \sprintf('%s (%s)', $method->au_becs_debit->bank_code, ctrans('texts.becs'));
|
||||||
$payment_meta->last4 = (string) $method->sepa_debit->last4;
|
$payment_meta->last4 = (string) $method->au_becs_debit->last4;
|
||||||
$payment_meta->state = 'authorized';
|
$payment_meta->state = 'authorized';
|
||||||
$payment_meta->type = GatewayType::BECS;
|
$payment_meta->type = GatewayType::BECS;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user