From 33bca6e8d9edd569705116bac902fa97edd08a8b Mon Sep 17 00:00:00 2001 From: markusmichalski-fc Date: Thu, 8 Feb 2024 08:35:03 +0100 Subject: [PATCH] STRIP-23: Fixed URL for redirect used for onboarding --- extend/Application/Controller/Admin/ModuleConfiguration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extend/Application/Controller/Admin/ModuleConfiguration.php b/extend/Application/Controller/Admin/ModuleConfiguration.php index 923c670..d2f06bc 100644 --- a/extend/Application/Controller/Admin/ModuleConfiguration.php +++ b/extend/Application/Controller/Admin/ModuleConfiguration.php @@ -127,7 +127,7 @@ public function stripeIsStripe() public function stripeGetConnectUrl($sVarName) { $sMode = $sVarName == 'sStripeTestToken' ? 'test' : 'live'; - $redirectUrl = Registry::getConfig()->getSslShopUrl().'admin/index.php?cl=stripeConnect&fnc=stripeFinishOnBoarding'; + $redirectUrl = Registry::getConfig()->getShopUrl(0,true).'admin/index.php?cl=stripeConnect&fnc=stripeFinishOnBoarding'; $redirectUrl.= '&stoken=' . $this->getSession()->getSessionChallengeToken(); $redirectUrl.= '&shop_param=' . $sMode; $redirectUrl.= '&shp=' . Registry::getConfig()->getShopId();