mirror of
https://git.d3data.de/3rdParty/captcha-module.git
synced 2025-01-31 07:18:40 +01:00
Ausnahmebedingung für Amazon Pay
This commit is contained in:
parent
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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user