Fraud Screening
I3 -> FS/SS (submitting order for fraud screening)
Order in status I3 is automatically submitted for fraud screening. Fraud Screening is performed by handler "OF_IsOrderFraudSafe" according to the defined fraud filter. If the order scores less fraud points than its order type threshold, the order gets status FS, which indicates that the order is fraud-safe and can be processed further. If the order scores more fraud points than the threshold, the order gets status SS (suspect) and requires manual approval for further processing.
SS -> FS/SS (Checking order with fraud screening rules)
If the order has been marked as suspected, the user can re-submit it to fraud screening. The handler "OF_IsOrderFraudSafe" revalidates the order and assigns the status FS (if the order successfully passed the fraud filter) or SS (the order fails the fraud screening). Naturally, such resubmission is efficient if a new screening results are positive, which can occur only if either order type threshold has been lowered/raised or fraud filter has been reconfigured.
SS -> I6/SS (manually approving order)
If the order has been marked as suspected, the operator can manually approve the order processing despite the fraud screening result. The transition calls handler "OF_RemoveParametersFromBlackList" to update fraud screening black lists so that in the future similar order is not marked as suspects. Status I6 is in all respects identical to status FS. The only difference is that FS indicates automatic approval whereas I6 indicates manual approval.
SS -> FR/SS (putting order parameters in blacklists)
If the order has been marked as suspected, the operator can confirm that the order is indeed fraudulent. The transition calls handler "OF_PlaceParametersIntoBlackList" to update fraud screening black lists so that in the future similar order is automatically recognized as suspects.
SS -> CL/SS (canceling order)
If the order has been marked as suspected, the operator can cancel the order without updating black lists. No handler is called in this transition.
FR -> CL/FR (canceling order)
If the order has been marked as fraud, the operator can cancel it in the control panel. No handler is called in this transition.
FR > I6/FR (manually approving order)
In case the order has been considered fraudulent or if fraud screening has been configured so on purpose, the order can be approved for processing by clicking Approve for Processing in order properties. The transition calls handler "OF_RemoveParametersFromBlackList" to update fraud screening black lists so that in the future similar order is not marked as suspects. On success, the order gets I6 status, which is equivalent to FS.