diff --git a/src/inc/abuse-decisions.php b/src/inc/abuse-decisions.php index fcd097b..265a825 100644 --- a/src/inc/abuse-decisions.php +++ b/src/inc/abuse-decisions.php @@ -60,9 +60,17 @@ function process_sift_decision_received( $return_value, $decision_id, $entity_id } return $return_value; + return $return_value; } add_filter( 'sift_decision_received', __NAMESPACE__ . '\process_sift_decision_received', 10, 5 ); +/** + * Handle the 'trust_list_payment_abuse' decision. + * + * @param integer $user_id The ID of the user. + * + * @return void + */ /** * Handle the 'trust_list_payment_abuse' decision. * @@ -74,6 +82,15 @@ function handle_trust_list_payment_abuse( $user_id ) { unblock_user_from_purchases( $user_id ); } +/** + * Handle the 'looks_good_payment_abuse' decision. + * + * @param integer $user_id The ID of the user. + * + * @return void + */ +} + /** * Handle the 'looks_good_payment_abuse' decision. * @@ -85,6 +102,15 @@ function handle_looks_good_payment_abuse( $user_id ) { unblock_user_from_purchases( $user_id ); } +/** + * Handle the 'not_likely_fraud_payment_abuse' decision. + * + * @param integer $user_id The ID of the user. + * + * @return void + */ +} + /** * Handle the 'not_likely_fraud_payment_abuse' decision. * @@ -96,6 +122,15 @@ function handle_not_likely_fraud_payment_abuse( $user_id ) { unblock_user_from_purchases( $user_id ); } +/** + * Handle the 'likely_fraud_refundno_renew_payment_abuse' decision. + * + * @param integer $user_id The ID of the user. + * + * @return void + */ +} + /** * Handle the 'likely_fraud_refundno_renew_payment_abuse' decision. * @@ -111,6 +146,15 @@ function handle_likely_fraud_refundno_renew_payment_abuse( $user_id ) { display_sgdc_error( 'You are blocked from making purchases due to a recent fraud review. SGDC Error OYBPXRQ' ); } +/** + * Handle the 'likely_fraud_keep_purchases_payment_abuse' decision. + * + * @param integer $user_id The ID of the user. + * + * @return void + */ +} + /** * Handle the 'likely_fraud_keep_purchases_payment_abuse' decision. * @@ -123,6 +167,15 @@ function handle_likely_fraud_keep_purchases_payment_abuse( $user_id ) { display_sgdc_error( 'You are blocked from making purchases due to a recent fraud review. SGDC Error OYBPXRQ' ); } +/** + * Handle the 'fraud_payment_abuse' decision. + * + * @param integer $user_id The ID of the user. + * + * @return void + */ +} + /** * Handle the 'fraud_payment_abuse' decision. * @@ -139,6 +192,15 @@ function handle_fraud_payment_abuse( $user_id ) { force_user_logout( $user_id ); } +/** + * Handle the 'block_wo_review_payment_abuse' decision. + * + * @param integer $user_id The ID of the user. + * + * @return void + */ +} + /** * Handle the 'block_wo_review_payment_abuse' decision. *