From 52c02a074bb82faf8b88d186f6d375fd5627b72a Mon Sep 17 00:00:00 2001 From: Artyom Jaksov Date: Mon, 21 Oct 2024 16:11:56 +0200 Subject: [PATCH] add custom order id to payment metadata --- Service/Order/PaymentCreationService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Service/Order/PaymentCreationService.php b/Service/Order/PaymentCreationService.php index cc83d90..155391b 100644 --- a/Service/Order/PaymentCreationService.php +++ b/Service/Order/PaymentCreationService.php @@ -151,6 +151,7 @@ private function createPaymentConfig( ], "metadata" => [ "Magento Order ID" => $order->getEntityId(), + "Magento Order Increment ID" => $order->getIncrementId(), "Magento Store ID" => $order->getStoreId(), ] ];