Jump to content

dealing with fake/spam orders


Recommended Posts

5 minutes ago, snake said:

have you tried my previous suggestion of changing the question/answer on the custom form field to something else other than the default suggested in the KB ?

This! custom field fixed my issue, but don't use the default one provided in the documentation. Use something like '7 + 3 = ?' instead

Link to comment
Share on other sites

  • 1 month later...

Has nobody actually looked elsewhere for the answer....... IT'S GOOGLE pinging false orders to check you are complying with their rules, tc etc. Don't try to stop it or block ip or you will see your presence o  google drop or dissappear completely. just suck it up and it will stop once they've gone through your inventory 

Link to comment
Share on other sites

On 11/30/2024 at 3:14 PM, bullybobgoogle said:

IT'S GOOGLE pinging false orders to check you are complying with their rules, tc etc. Don't try to stop it or block ip or you will see your presence o  google drop or dissappear completely

And you have definitive proof of this fantastic claim?

Link to comment
Share on other sites

On 12/1/2024 at 1:44 AM, bullybobgoogle said:

Has nobody actually looked elsewhere for the answer....... IT'S GOOGLE pinging false orders to check you are complying with their rules, tc etc. Don't try to stop it or block ip or you will see your presence o  google drop or dissappear completely. just suck it up and it will stop once they've gone through your inventory 

Good try, Mr. Hacker! So, you are the one who does these spams.

 

2 minutes ago, bear said:

And you have definitive proof of this fantastic claim?

Ignore them, it's not true

Link to comment
Share on other sites

On 10/5/2024 at 9:06 PM, createashoppe said:

I just updated to 8.11.2, and now I am getting not-stop bot orders for domains. No payments, just the account creation and order. I've tried everything I've seen to fix it, and nothing is stopping them. WHMCS really needs a fix ASAP,

If you have a custom template for orders or frontend, have you updated them as well?

Link to comment
Share on other sites

  • 1 month later...

I’ve had a similar issue before with fake accounts, and what worked for me was setting up address validation during the registration process. I used a service that checks if the postal code matches a valid UK address, which helped weed out a lot of the non-UK sign-ups right from the start. You could also consider flagging email addresses with non-UK domains, like .com or anything not related to the UK. It’s a bit more manual but saved me a lot of hassle. Hopefully, something like that could help you block these fake users before they even get through.

Link to comment
Share on other sites

  • 3 months later...

Hey all, I have been suffering with this issue and think I have found a solution: 
After trying everything I still was getting round 75 fake order but tried this method of having the client first validate their email before placing the order. 
Here is the hook if you want to give it a try:
 

Step 1: Enable Email Verification

  1. Log in to your WHMCS Admin Area.

  2. Go to Configuration (Cog Icon) > System Settings > Security.

  3. Find the setting "Enable Email Verification".

  4. Tick the box to enable it.

  5. Click Save Changes at the bottom.

This will send a verification link to the user’s email after they register.


Step 2: Prevent Ordering Until Email Is Verified

WHMCS does not natively block unverified users from ordering. You need to modify the cart behavior using a hook.

⚠️ How to Add a Custom Hook to Block Orders from Unverified Accounts:

  1. Access your WHMCS Files via FTP or File Manager in cPanel.

  2. Navigate to:
    /includes/hooks/

  3. Create a new file, e.g.,
    blockUnverifiedOrders.php

  4. Paste the following code inside that file:

 
php
CopyEdit
<?php use WHMCS\Database\Capsule; add_hook('ShoppingCartValidateCheckout', 1, function($vars) { $client = Menu::context('client'); if ($client && !$client->emailVerified) { return 'You must verify your email before you can place an order. Please check your email for the verification link.'; } });
  1. Save the file.

This stops the checkout with a message if the client’s email is not verified.

Link to comment
Share on other sites

Unfortunately this solution doesn't stop the users being created, and if you're blocking the order you simply won't notice all the additional users, which will still end up gradually increasing your license cost. You will then end up with many hundreds if not thousands of users that you need to delete manually.

The solution that I provided many months ago is still working just fine for me, I haven't had any fake spam users or orders since then.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated