diff --git a/app/PaymentDrivers/BaseDriver.php b/app/PaymentDrivers/BaseDriver.php index cbe27295b112..e02e1f6d01ef 100644 --- a/app/PaymentDrivers/BaseDriver.php +++ b/app/PaymentDrivers/BaseDriver.php @@ -728,7 +728,7 @@ class BaseDriver extends AbstractPaymentDriver App::setLocale($this->client->company->locale()); if (! $this->payment_hash || !$this->client) - return ' '; + return 'x'; $invoices_string = \implode(', ', collect($this->payment_hash->invoices())->pluck('invoice_number')->toArray()) ?: null; @@ -736,7 +736,7 @@ class BaseDriver extends AbstractPaymentDriver $invoices_string = substr($invoices_string,0,22); - $invoices_string = str_pad($invoices_string, 5, "_"); + $invoices_string = str_pad($invoices_string, 5, ctrans('texts.invoice'), STR_PAD_LEFT); return $invoices_string; diff --git a/app/PaymentDrivers/Stripe/ACH.php b/app/PaymentDrivers/Stripe/ACH.php index f39a9e4bbf41..10bb0e8c42a5 100644 --- a/app/PaymentDrivers/Stripe/ACH.php +++ b/app/PaymentDrivers/Stripe/ACH.php @@ -276,6 +276,7 @@ class ACH 'payment_hash' => $this->stripe->payment_hash->hash, 'gateway_type_id' => $cgt->gateway_type_id, ], + 'statement_descriptor' => $this->stripe->getStatementDescriptor(), ]; if ($cgt->gateway_type_id == GatewayType::BANK_TRANSFER) {