Skip to content

Commit

Permalink
Merge pull request #23 from OXID-eSales/STRIP-23_EE_Compatiblity_OX7
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 43cb569 + 62fb676 commit 8fbe69f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.0.2] - 2024-??-??
## [2.0.2] - 2024-02-09

- Fix onBording in OXID-Enterprise-Environment

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,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=' . Registry::getSession()->getSessionChallengeToken();
$redirectUrl.= '&shop_param=' . $sMode;
$redirectUrl.= '&shp=' . Registry::getConfig()->getShopId();
Expand Down
2 changes: 1 addition & 1 deletion metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
'en' => 'This module integrates STRIPE as payment provider in your OXID Shop.',
],
'thumbnail' => 'img/stripe_logo.png',
'version' => '2.0.2-rc.1',
'version' => '2.0.2',
'author' => 'OXID eSales AG',
'url' => 'https://www.oxid-esales.com',
'email' => '[email protected]',
Expand Down

0 comments on commit 8fbe69f

Please sign in to comment.