Projekt

Allgemein

Profil

Aktionen

GX-Bug #70977

geschlossen

Es könenn keine Gastkonten angelegt werden, wenn nur Gastbestellung aktiviert ist

Von Till Tepelmann vor 4 Monaten hinzugefügt. Vor 3 Monaten aktualisiert.

Status:
Erledigt
Priorität:
Sofort
Zugewiesen an:
Kategorie:
Core
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
Unbestimmt
Release Notes Langtext:

Schutz vor automatisierten Registrierungen durch Skripte erhöht

Tags:

Beschreibung

Wenn man nur die Gastkonto Bestellungen aktiviert hat, dann können keine Konten mehr angelegt werden.

Kann wie folgt reproduziert werden:

  1. Shop installieren
  2. Als Admin einloggen
  3. Im Gambio Admin unter "Einstellungen->Art der Kontoerstellung" auf "Gastkonto" umstellen
  4. Ausloggen
  5. Einen Artikel in den Warenkorb legen
  6. im Warenkorb auf "Kasse" klicken
  7. Dann neue Kundendaten eintragen und ein Konto versuchen anzulegen

Erwartetes Verhalten:
Es sollte ein Gastkonto ohne Probleme erstellt werden können.

Tatsächliches Verhalten:
Es kann kein Gastkonto angelegt werden, es erscheint eine Fehlermeldung.


If you have only activated the guest account orders, then no more accounts can be created.

Can be reproduced as follows:

  1. install the store
  2. log in as admin
  3. switch to “Guest account” in the Gambio Admin under “Settings->Type of account creation”
  4. log out
  5. add an item to the shopping cart
  6. click on “Checkout” in the shopping cart
  7. then enter new customer data and try to create an account

Expected behavior:
It should be possible to create a guest account without any problems.

Actual behavior:
No guest account can be created, an error message appears.


{"message":"user might be a bot","context":{"session ID":"session-6666f78624b107.58234466","exception":{"class":"SuperhumanRegistrationSpeedException","message":"user might be a bot","code":0,"file":"/var/www/system/core/MainFactory.inc.php","line":390,"trace":["/var/www/system/core/MainFactory.inc.php:339
│ array_shift($args);


├─ return MainFactory::create_object($className, $args);
│ }
│ ","/var/www/GXMainComponents/Extensions/Customers/CreateAccountProcess.inc.php:196
│ $inputArray = $this->customerCollection->getArray();
│ if(!$inputValidatorService->validateTimestamp($inputArray['timestamp'])){
├─ throw MainFactory::create('SuperhumanRegistrationSpeedException', 'user might be a bot');
│ }
│ }","/var/www/GXMainComponents/Extensions/Customers/AbstractCreateAccountProcess.inc.php:92
│ $this->customerCollection = $customerCollection;


├─ $this->_validateGuest();


Dateien

2024-07-05_12h41_42.mp4 (10,4 MB) 2024-07-05_12h41_42.mp4 Jessica Balaban, 05.07.2024 12:43

Aktionen

Auch abrufbar als: Atom PDF