My website is running on Magento 2.2.2 and I am using Paypal Payflow as a payment method.

The issue that we are facing is someone with different IP addresses is using our website for Carding and my PayPal account has been deactivated. They are saying that your account is getting suspicious transactions Until you will not fix this issue we will not enable your account.

Please suggest me a solution so that I would be able to re-open my PayPal account. I would really appreciate your help and consideration.

Please let me know if you need any other details.


1 Answer 1


This is a big issue. Paypal shut us down for an hour yesterday until we could get a handle on blocking the IPs. We really need a solution for this.

I wrote this to monitor the url they were hitting 35k times. Just put it in a cron job.

    $count =  exec('grep "/paypal/transparent/requestSecureToken/" /var/log/apache2/access.log | wc -l');
    echo $count;
    if($count > 50)
            $msg = gethostname() . "  has a high count of paypal hits: " . $count;
            $msg = wordwrap($msg,70);
            mail("[email protected]", "CRITICAL Paypal Issue", $msg);
    #       $msg = "All Good";
    #       mail("[email protected]", "CRITICAL Paypal Issue", $msg);



  • This does not really provide an answer to the question. Once you will have enough reputation you will have the possibility to leave comments.
    – HelgeB
    Apr 9, 2019 at 13:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.