Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STRIP-23: Fixed URL for redirect used for onboarding #23

Merged
merged 2 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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' => 'info@oxid-esales.com',
Expand Down