From e7b5947a3d3e3b1dfc909a9422a3e36b9219a076 Mon Sep 17 00:00:00 2001 From: MarkusGaertner Date: Tue, 5 Sep 2023 14:37:54 +0200 Subject: [PATCH] Remove complication with PayPal Checkout --- application/component/oeusercomponent.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/application/component/oeusercomponent.php b/application/component/oeusercomponent.php index bd005b0..50bb53e 100644 --- a/application/component/oeusercomponent.php +++ b/application/component/oeusercomponent.php @@ -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; }