Remove complication with PayPal Checkout

This commit is contained in:
Markus Gärtner 2023-09-05 14:37:54 +02:00 committed by MaxBUhe
parent ba5d8d04af
commit 0305d484a3

View File

@ -30,6 +30,11 @@ class oeUserComponent extends oeUserComponent_parent
public function createUser()
{
if(\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('fnc') == 'approveOrder')
{
return parent::createUser();
}
if (!$this->getCaptcha()->passCaptcha()) {
return false;
}