captcha === null) { $this->captcha = oxNew('oeCaptcha'); } return $this->captcha; } 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') { return parent::createUser(); } if (!$this->getCaptcha()->passCaptcha()) { return false; } return parent::createUser(); } }