• Resolved Mushi

    (@mubashiriqbal)


    We are using your plugin with Kount Fraud detection functionality. We have a customer now who has been a customer for over a year, and now Kount/Braintree are saying it is fraud. it’s clearly not fraud so we need a way to let this user pay. We contacted Kount on this and they said the following

    The first is to check if the WooCommerce plugin you’re using has a way to whitelist certain customers to not be rejected by Kount. This functionality definitely exists within Braintree, but the plugin would need to have implemented that functionality for you to be able to use it.

    Can you please tell me if there is a way we can enable white-listing of certain user’s transaction by user email or IP address so Kount don’t detect them as a fraud?

    Thank You

    • This topic was modified 5 years, 3 months ago by Mushi.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @mubashiriqbal,

    The plugin does not currently have a way to whitelist certain customers because I am not aware of any attribute within the Braintree API that supports this.

    I would imagine that whitelist setting would exist within Kount since they are the ones performing the fraud check.

    I recommend you reach out to Braintrees support team and ask them what Kount is talking about. Feel free to copy me on the email.

    Thanks,

    Thread Starter Mushi

    (@mubashiriqbal)

    We contacted Briantree over this and here is their reply

    “As for being able to whitelist customers, you can selectively skip Kount’s evaluation by either creating transactions manually in the Control Panel, or by passing the skipAdvancedFraudChecking parameter via the Transaction::sale() call. It’s important to note that once you’ve skipped checks for a transaction, it is not possible to run them retroactively. Additionally, I would also check if the WooCommerce plugin you’re using has a way to whitelist certain customers, so that they are not getting rejected by Kount.”

    Plugin Author Payment Plugins

    (@mrclayton)

    You can use our plugin’s transaction arguments filter to add that attribute based on the customer you want to exclude.

    Transaction Filter

    function whitelist_certain_customer($args, $order){
        if($order->get_customer_id() == 5){
            $args['skipAdvancedFraudChecking'] = true;
        }
        return $args;
    }
    add_filter('wc_braintree_order_transaction_args', 'whitelist_certain_customer', 10, 2);
    
    Thread Starter Mushi

    (@mubashiriqbal)

    @mrclayton

    Thank you for providing a wonderful support. I have added “wc_braintree_order_transaction_args” filter to whitelist certain users. So lets see if that works correctly.

    Plugin Author Payment Plugins

    (@mrclayton)

    Update to code snippet:

    function whitelist_certain_customer($args, $order){
        if($order->get_customer_id() == 5){
            $args['options']['skipAdvancedFraudChecking'] = true;
        }
        return $args;
    }
    add_filter('wc_braintree_order_transaction_args', 'whitelist_certain_customer', 10, 2);
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Need help with Kount’ is closed to new replies.