Skip to content

Commit

Permalink
Merge pull request #22 from OXID-eSales/STRIP-23_EE_Compatibility
Browse files Browse the repository at this point in the history
STRIP-23: Fixed URL for redirect used for onboarding
  • Loading branch information
mariolorenz authored Feb 9, 2024
2 parents c97286e + 33bca6e commit cff9f03
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 cff9f03

Please sign in to comment.