diff --git a/Block/Adminhtml/System/Config/DirectLink.php b/Block/Adminhtml/System/Config/DirectLink.php index ea5c0af..4da000e 100644 --- a/Block/Adminhtml/System/Config/DirectLink.php +++ b/Block/Adminhtml/System/Config/DirectLink.php @@ -106,9 +106,9 @@ public function getButtonHtml() ] ); if (!($guid = $this->getSwellGuid()) || !($apiKey = $this->getSwellApiKey())) { - $button->setOnClick("window.open('https://app.swellrewards.com/login','_blank');"); + $button->setOnClick("window.open('https://loyalty.yotpo.com/login','_blank');"); } else { - $button->setOnClick("window.open('https://app.swellrewards.com/login/{$guid}/{$apiKey}','_blank');"); + $button->setOnClick("window.open('https://loyalty.yotpo.com/login/{$guid}/{$apiKey}','_blank');"); } return $button->toHtml(); diff --git a/Helper/AbstractApi.php b/Helper/AbstractApi.php index 1b8a378..1a6a9ff 100644 --- a/Helper/AbstractApi.php +++ b/Helper/AbstractApi.php @@ -4,7 +4,7 @@ abstract class AbstractApi extends \Magento\Framework\App\Helper\AbstractHelper { - const SWELL_API_PRODUCTION_URL = "https://app.swellrewards.com/magento/"; + const SWELL_API_PRODUCTION_URL = "https://loyalty.yotpo.com/magento/"; /** * @var \Yotpo\Loyalty\Helper\Data