Package de.hybris.platform.yacceleratorordermanagement.actions.order.fraudcheck
package de.hybris.platform.yacceleratorordermanagement.actions.order.fraudcheck
-
ClassDescriptionAbstractFraudCheckAction<T extends OrderProcessModel>Abstract action for fraud check action which define 3 possible transitions (OK,POTENTIAL,FRAUD) and some supplementary methodsCheck for fraudulent order.
If a fraud is detected, the process transitions to FRAUD and the order will be cancelled.
If no fraud is detected, the process transitions to OK and the order will be sourced.
If the order is deemed potentially fraudulent, the process transitions to POTENTIAL and the order must be approved/declined by a customer support agent.Send a notification that an order is fraudulent.Process decision from customer support agent to determine if an order is fraudulent or not.Action in order business process, which sets the order status toOrderStatus.WAIT_FRAUD_MANUAL_CHECKand sends eventOrderFraudEmployeeNotificationEvent.Send a notification that an order is being placed.