Skip to content

Commit

Permalink
Merge pull request #11724 from ptibogxiv/patch-228
Browse files Browse the repository at this point in the history
Fix stripelive_oauthcallback.php
  • Loading branch information
eldy committed Aug 26, 2019
2 parents 039a613 + 06fdd5d commit 2b8c57b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/core/modules/oauth/stripelive_oauthcallback.php
Expand Up @@ -17,7 +17,7 @@
*/

/**
* \file htdocs/core/modules/oauth/stripe_oauthcallback.php
* \file htdocs/core/modules/oauth/stripelive_oauthcallback.php
* \ingroup oauth
* \brief Page to get oauth callback
*/
Expand Down Expand Up @@ -45,7 +45,7 @@
$uriFactory = new \OAuth\Common\Http\Uri\UriFactory();
//$currentUri = $uriFactory->createFromSuperGlobalArray($_SERVER);
//$currentUri->setQuery('');
$currentUri = $uriFactory->createFromAbsolute($urlwithroot.'/core/modules/oauth/stripe_oauthcallback.php');
$currentUri = $uriFactory->createFromAbsolute($urlwithroot.'/core/modules/oauth/stripelive_oauthcallback.php');


/**
Expand All @@ -65,7 +65,7 @@

// Setup the credentials for the requests
$credentials = new Credentials(
$conf->global->OAUTH_STRIPE_TEST_ID,
$conf->global->OAUTH_STRIPE_LIVE_ID,
$conf->global->STRIPE_LIVE_SECRET_KEY,
$currentUri->getAbsoluteUri()
);
Expand Down

0 comments on commit 2b8c57b

Please sign in to comment.