1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 12:42:36 +01:00
This commit is contained in:
David Bomba 2021-04-18 07:01:20 +10:00
commit 7dc1929430

View File

@ -1835,7 +1835,7 @@ info("translated gateway_type = {$translated_gateway_type}");
$meta->exp_month = (string)$exp_month;
$meta->exp_year = (string)$exp_year;
$meta->brand = (string)$payment_method->payment_type->name;
$meta->last4 = (string)str_replace(',', '', ($payment_method->expiration));
$meta->last4 = (string)str_replace(',', '', ($payment_method->last4));
$meta->type = $payment_method->payment_type->gateway_type_id;
return $meta;