Skip to content

Commit

Permalink
STRIP-23: Fixed URL for redirect used for onboarding
Browse files Browse the repository at this point in the history
  • Loading branch information
markusmichalski-fc committed Feb 8, 2024
1 parent f141c13 commit 33bca6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 33bca6e

Please sign in to comment.