We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit f6da96d4 authored by cyattilakiss's avatar cyattilakiss Committed by GitHub

Merge pull request #464 from Adyen/PW-1396

PW-1396 Add separate port support for origin key retrieval
parents 14062302 861b7dd5
......@@ -1484,6 +1484,9 @@ class Data extends AbstractHelper
$baseUrl = $this->storeManager->getStore()->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_WEB);
$parsed = parse_url($baseUrl);
$origin = $parsed['scheme'] . "://" . $parsed['host'];
if (!empty($parsed['port'])) {
$origin .= ":" . $parsed['port'];
}
return $origin;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment