Skip to content

Commit 2e0fddd

Browse files
committed
KUSTOM-51 Changing the direct linking on the admin panel to Kustom
1 parent 644a8e1 commit 2e0fddd

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
11.0.15 / 2026-02-18
2+
==================
3+
4+
* KUSTOM-51 Changing the direct linking on the admin panel to Kustom
5+
16
11.0.14 / 2026-01-15
27
==================
38

Model/System/MerchantPortal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function getOrderMerchantPortalLink(MageOrder $mageOrder, KlarnaOrder $kl
5353
$merchantId = $this->apiConfiguration->getUserName($store, $currency);
5454

5555
return $portalBaseUrl .
56-
"orders/" .
56+
"orders/list/" .
5757
$klarnaOrder->getKlarnaOrderId() .
5858
"?merchantId=" .
5959
$merchantId;

Test/Unit/Model/System/MerchantPortalTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function testGetOrderMerchantPortalLinkToLive(): void
6767
->method('isTestMode')
6868
->willreturn(false);
6969

70-
$urlPath = 'orders/ORDER-123?merchantId=MERCHANT-123';
70+
$urlPath = 'orders/list/ORDER-123?merchantId=MERCHANT-123';
7171
$expected = MerchantPortal::MERCHANT_PORTAL . $urlPath;
7272

7373
$result = $this->model->getOrderMerchantPortalLink($this->mageOrder, $this->klarnaOrder);
@@ -84,7 +84,7 @@ public function testGetOrderMerchantPortalLinkToTest(): void
8484
->method('isTestMode')
8585
->willreturn(true);
8686

87-
$urlPath = 'orders/ORDER-123?merchantId=MERCHANT-123';
87+
$urlPath = 'orders/list/ORDER-123?merchantId=MERCHANT-123';
8888
$expected = MerchantPortal::MERCHANT_TEST_PORTAL . $urlPath;
8989

9090
$result = $this->model->getOrderMerchantPortalLink($this->mageOrder, $this->klarnaOrder);

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Kustom Base Magento 2 Extension",
44
"type": "magento2-module",
55
"license": "Apache-2.0",
6-
"version": "11.0.14",
6+
"version": "11.0.15",
77
"scripts": {
88
"test": "phpunit",
99
"cov": "phpunit --coverage-html coverage"

0 commit comments

Comments
 (0)