Ausnahmebedingung für Amazon Pay
This commit is contained in:
bovenliggende
e1be2b618a
commit
69618b8db5
|
@ -30,6 +30,16 @@ class oeUserComponent extends oeUserComponent_parent
|
||||||
|
|
||||||
public function createUser()
|
public function createUser()
|
||||||
{
|
{
|
||||||
|
ob_start();
|
||||||
|
debug_print_backtrace();
|
||||||
|
$trace = ob_get_contents();
|
||||||
|
ob_end_clean();
|
||||||
|
|
||||||
|
if(str_contains($trace, 'initAmazonPayExpress'))
|
||||||
|
{
|
||||||
|
return parent::createUser();
|
||||||
|
}
|
||||||
|
|
||||||
if(\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('fnc') == 'approveOrder')
|
if(\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('fnc') == 'approveOrder')
|
||||||
{
|
{
|
||||||
return parent::createUser();
|
return parent::createUser();
|
||||||
|
|
Laden…
Verwijs in nieuw issue