Details
-
Type: Story
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.9.0-b1
-
Component/s: None
-
Labels:None
Description
See CORE-3074 for details.
Fraud checks on the Order plugin occur prior to client registration, which is desired in order to prevent fraud clients from being created in the system. However, fraud checks occur on every request regardless of whether enough/valid information was provided to actually create the client in the system.
The solution is two-fold:
- Update the core to add any methods necessary to determine whether a client can be created before attempting to create one via Clients::create.
- Update any calls prior to Clients::create to validate that the information provided is enough to pass Clients::create before attempting to do so
- Update the Order plugin to validate the information provided for creating a client is valid prior to attempting to run the fraud check or create the client via Clients::create