Compare commits

...

2 Commits

Author SHA1 Message Date
Markus Gärtner 2ac4507ace mod CHANGELOG.md, add some comments 2023-11-16 09:29:03 +01:00
Markus Gärtner 69618b8db5 Ausnahmebedingung für Amazon Pay 2023-11-15 14:38:08 +01:00
3 changed files with 19 additions and 2 deletions

View File

@ -19,8 +19,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Security
## 2.0.8 - 08 September 2023
- add check for Amazon Pay - no Captcha
## 2.0.7 - 08 September 2023
-
- add check for PayPal Checkout - no Captcha
## 2.0.6 - 18 Juli 2023
- don't request captcha if user is logged in

View File

@ -30,10 +30,24 @@ class oeUserComponent extends oeUserComponent_parent
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;

View File

@ -37,7 +37,7 @@ $aModule = array(
'en' => 'OXID eSales Simple Captcha Module',
),
'thumbnail' => 'out/pictures/picture.png',
'version' => '2.0.7',
'version' => '2.0.8',
'author' => 'OXID eSales AG',
'url' => 'https://www.oxid-esales.com/',
'email' => '',