Customer-facing messages
WooFraudGuard shows exactly two customer-facing messages at checkout, depending on the decision. Both are translated into every locale shipped with the plugin.
Cancel message
\”We were unable to process this order. Please contact us if you believe this is in error.\”
Shown when a Cancel decision fires. Deliberately vague — surfacing the specific rule that triggered would give bad actors a probe-and-bypass signal.
Hold message
\”Additional verification is required for this order. Please contact us to complete your purchase.\”
Shown when a Hold decision fires. Frames the situation as a verification need rather than a refusal, which keeps the door open for legitimate buyers to reach out.
Customising the messages
Both messages can be filtered via the woofraudguard_customer_message filter:
add_filter( \'woofraudguard_customer_message\', function ( $message, $decision_key ) {
if ( \'cancel\' === $decision_key ) {
return __( \'Your order needs review. Please email support@example.com.\', \'my-theme\' );
}
return $message;
}, 10, 2 );