Skip to content

Commit

Permalink
Merge pull request #19 from OXID-eSales/STRIP-23_EE_Compatibility
Browse files Browse the repository at this point in the history
STRIP-23: Added ShopID for EE Compatibility
  • Loading branch information
mariolorenz authored Jan 30, 2024
2 parents 751e6f2 + 498e717 commit c78c55a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ public function stripeGetConnectUrl($sVarName)
$redirectUrl = Registry::getConfig()->getSslShopUrl().'admin/index.php?cl=stripeConnect&fnc=stripeFinishOnBoarding';
$redirectUrl.= '&stoken=' . $this->getSession()->getSessionChallengeToken();
$redirectUrl.= '&shop_param=' . $sMode;
$redirectUrl.= '&shp=' . Registry::getConfig()->getShopId();

if ($sMode == 'test') {
return 'https://dev-osm.oxid-esales.com/stripe-connect?shop_redirect_url=' . rawurlencode($redirectUrl);
Expand Down

0 comments on commit c78c55a

Please sign in to comment.