From 4c4bb8948116e35a0d5b409366b459fac2e4ed80 Mon Sep 17 00:00:00 2001 From: khushboos Date: Thu, 21 Nov 2024 17:13:23 +0100 Subject: [PATCH] Updating Paybylink description --- Gateway/Request/DescriptionDataBuilder.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Gateway/Request/DescriptionDataBuilder.php b/Gateway/Request/DescriptionDataBuilder.php index 0bd7c12a2..9c6d81f23 100644 --- a/Gateway/Request/DescriptionDataBuilder.php +++ b/Gateway/Request/DescriptionDataBuilder.php @@ -29,13 +29,7 @@ public function build(array $buildSubject) $payment = $paymentDataObject->getPayment(); /** @var Order $order */ $order = $payment->getOrder(); - - $request['body']['description'] = __( - 'Order %1 from %2', - $order->getIncrementId(), - $order->getStore()->getGroup()->getName() - ); - + $request['body']['description'] = 'Order ' . $order->getIncrementId() . ' from ' . $order->getStore()->getGroup()->getName(); return $request; } }