diff --git a/app/PaymentDrivers/Mollie/Bancontact.php b/app/PaymentDrivers/Mollie/Bancontact.php index 53199e8eee55..7831ce3558a5 100644 --- a/app/PaymentDrivers/Mollie/Bancontact.php +++ b/app/PaymentDrivers/Mollie/Bancontact.php @@ -78,7 +78,7 @@ class Bancontact implements MethodInterface 'currency' => $this->mollie->client->currency()->code, 'value' => $this->mollie->convertToMollieAmount((float) $this->mollie->payment_hash->data->amount_with_fee), ], - 'description' => \sprintf('Invoices: %s', collect($data['invoices'])->pluck('invoice_number')), + 'description' => \sprintf('Invoices: %s', \implode(', ', collect($data['invoices'])->pluck('invoice_number')->toArray())), 'redirectUrl' => route('client.payments.response', [ 'company_gateway_id' => $this->mollie->company_gateway->id, 'payment_hash' => $this->mollie->payment_hash->hash, diff --git a/app/PaymentDrivers/Mollie/BankTransfer.php b/app/PaymentDrivers/Mollie/BankTransfer.php index bf8595e090bf..c11bbbecfc48 100644 --- a/app/PaymentDrivers/Mollie/BankTransfer.php +++ b/app/PaymentDrivers/Mollie/BankTransfer.php @@ -81,7 +81,7 @@ class BankTransfer implements MethodInterface 'currency' => $this->mollie->client->currency()->code, 'value' => $this->mollie->convertToMollieAmount((float) $this->mollie->payment_hash->data->amount_with_fee), ], - 'description' => \sprintf('Invoices: %s', collect($data['invoices'])->pluck('invoice_number')), + 'description' => \sprintf('Invoices: %s', \implode(', ', collect($data['invoices'])->pluck('invoice_number')->toArray())), 'redirectUrl' => route('client.payments.response', [ 'company_gateway_id' => $this->mollie->company_gateway->id, 'payment_hash' => $this->mollie->payment_hash->hash, diff --git a/app/PaymentDrivers/Mollie/IDEAL.php b/app/PaymentDrivers/Mollie/IDEAL.php index f496db5b6f20..fdd617091dfe 100644 --- a/app/PaymentDrivers/Mollie/IDEAL.php +++ b/app/PaymentDrivers/Mollie/IDEAL.php @@ -78,7 +78,7 @@ class IDEAL implements MethodInterface 'currency' => $this->mollie->client->currency()->code, 'value' => $this->mollie->convertToMollieAmount((float) $this->mollie->payment_hash->data->amount_with_fee), ], - 'description' => \sprintf('Invoices: %s', collect($data['invoices'])->pluck('invoice_number')), + 'description' => \sprintf('Invoices: %s', \implode(', ', collect($data['invoices'])->pluck('invoice_number')->toArray())), 'redirectUrl' => route('client.payments.response', [ 'company_gateway_id' => $this->mollie->company_gateway->id, 'payment_hash' => $this->mollie->payment_hash->hash, diff --git a/app/PaymentDrivers/Mollie/KBC.php b/app/PaymentDrivers/Mollie/KBC.php index 1e90725b6c0d..2244c78c2456 100644 --- a/app/PaymentDrivers/Mollie/KBC.php +++ b/app/PaymentDrivers/Mollie/KBC.php @@ -78,7 +78,7 @@ class KBC implements MethodInterface 'currency' => $this->mollie->client->currency()->code, 'value' => $this->mollie->convertToMollieAmount((float) $this->mollie->payment_hash->data->amount_with_fee), ], - 'description' => \sprintf('Invoices: %s', collect($data['invoices'])->pluck('invoice_number')), + 'description' => \sprintf('Invoices: %s', \implode(', ', collect($data['invoices'])->pluck('invoice_number')->toArray())), 'redirectUrl' => route('client.payments.response', [ 'company_gateway_id' => $this->mollie->company_gateway->id, 'payment_hash' => $this->mollie->payment_hash->hash,