captcha === null) { $this->captcha = oxNew('oeCaptcha'); } return $this->captcha; } public function createUser() { /* START check for Amazon Pay - no Captcha */ ob_start(); debug_print_backtrace(); $trace = ob_get_contents(); ob_end_clean(); if(str_contains($trace, 'initAmazonPayExpress')) { return parent::createUser(); } /* END check for Amazon Pay - no Captcha / /* START check for PayPal Checkout - no Captcha */ if(\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('fnc') == 'approveOrder') { return parent::createUser(); } /* START check for PayPal Checkout - no Captcha */ if (!$this->getCaptcha()->passCaptcha()) { return false; } return parent::createUser(); } }