Cancel unpaid orders

  • Posts: 224
  • Thank you received: 13
4 months 22 hours ago #369587

-- HikaShop version -- : 6.1.1
-- Joomla version -- : 6.0.1
-- PHP version -- : 8.3

Hi.
Is there any ways to cancell unpaid orders with mass actions after for example 2 days ?

Please Log in or Create an account to join the conversation.

  • Posts: 85391
  • Thank you received: 13954
  • MODERATOR
4 months 19 hours ago #369589

Hi,

Yes. HikaShop comes with the "Hikashop Orders Automatic Cancel Plugin" which you can configure via the Joomla plugins manager.
It was made specifically for that purpose.
Also, you'll need to configure your HikaShop cron task in order to use it:
www.hikashop.com/support/documentation/5...ashop-cron-task.html

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 1
  • Hikashop Business
1 month 2 weeks ago #370449

Hallo Zusammen,

seit einiger Zeit bekomme ich täglich sehr viele Bestellungen, die scheinbar von Bots erstellt werden.

Ich habe jetzt das Plugin aktiviert, um sie zukünftig aus dem Shop löschen zu lassen.

Gibt es auch eine Möglichkeit, die automatische Erstellung, z.B. durch ein Captcha oder eine ähnliche manuelle Bestätigung durch Kunden, zu verhindern?

Viele Grüße - Harald

Please Log in or Create an account to join the conversation.

  • Posts: 85391
  • Thank you received: 13954
  • MODERATOR
1 month 2 weeks ago #370459

Hi,

We have a captcha plugin here:
www.hikashop.com/marketplace/product/223...-with-recaptcha.html

However, with AI, captcha are getting less and less useful. On our website, we've switched from ReCaptcha to extensions.joomla.org/extension/ospam-a-not/ a few years back with great results. So that's what I would recommend.

The following user(s) said Thank You: haraldundandrea

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 1
  • Hikashop Business
1 month 2 weeks ago #370461

Thank you for your answer.

I think I will try OSpam-a-not.

Greetings - Harald

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 1
  • Hikashop Business
1 month 2 weeks ago #370489

Hello Nicolas,

I have installed OSpam-a-not and set the time already to 10 (seconds) but still get automatic orders.

What can I do to get better results without getting trouble for real customers?

What time setting you are using?

Is there any other way to stop this automatic orders more effective/better?

Greetings - Harald

Please Log in or Create an account to join the conversation.

  • Posts: 85391
  • Thank you received: 13954
  • MODERATOR
1 month 2 weeks ago #370496

Hi,

I just left the default settings and it works great for us.
Maybe you could try combining it with the recaptcha plugin and see if that helps ?

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 1
  • Hikashop Business
1 month 2 weeks ago #370501

Hello Nicolas,

I hesitate to set up the recaptcha plugin as in the plugin it is described as "Display ReCaptcha v2 on contact and registration forms".

But an order in the shop is neither a contact for nor a registration form...

For the moment I will still try to increase the time and look what will happen.

I set the logging (option) in the plugin to yes but right now there has not been logged any action from the pluggin.

Greetings - Harald

Please Log in or Create an account to join the conversation.

  • Posts: 85391
  • Thank you received: 13954
  • MODERATOR
1 month 2 weeks ago #370503

Hi,

The ReCaptcha plugin also works on the guest form.
And for an order to be made, the user has to be logged in or filled the guest form.
If he's logged in, it means he filled the registration form in the past with the captcha.
So either way, adding the Captcha check will help reduce abuse for new orders.

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 1
  • Hikashop Business
1 month 1 day ago #370632

Hello Nicolas,

first I tried get better effects with the OSpam-a-not plugin. I set the time limit at the end up to 40 Seconds but the plugin logged no action. Only one time the plugin logged one action from the type honeypot. I took the registered ip-adress and blocked it with a special plugin. This has stopped the abuse and the automatic orders immediately.

Second I set up the captha too. Since 24th of february until now I got not more automatic order.

Now I try to reduce the time limit again to prevent any trubble for real customers during an order and look what will happen.

Last edit: 1 month 1 day ago by haraldundandrea.
The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 1
  • Hikashop Business
3 weeks 1 day ago #370761

Hallo Nicolas,

leider ist das Problem noch immer nicht behoben.

Inzwischen habe ich auch das reCAPTCHA-Plugin eingerichtet und die Zeit beim OSpam-a-not-Plugin auf 30 Sekunden gesetzt.

Gestern habe ich 1022 unvollständige Bestellungen erhalten, heute waren es bisher 1586 unvollständige Bestellungen. Bei allen diesen Bestellungen fehlen die Kundendaten, als Zahlungsmethode wurde PaypalExpress gespeichert, obwohl ich das HikaShop Paypal Express Checkout payment plugin bereits deaktiviert habe.

Gibt es noch irgendeine andere Möglichkeit diese Flut von unvollständigen, automatischen Bestellungen zu beenden?

Viele Grüße - Harald

Last edit: 3 weeks 1 day ago by haraldundandrea.

Please Log in or Create an account to join the conversation.

  • Posts: 85391
  • Thank you received: 13954
  • MODERATOR
3 weeks 23 hours ago #370763

Hi,

The fact that you're getting orders with a disabled payment method (PaypalExpress) and incomplete customer data despite CAPTCHA protections suggests the bots may be rendering the page to grab the form token and then submitting garbage data programmatically.

A few things to try:

1. Make sure to completely uninstall (not just disable) the PaypalExpress payment plugin if you don't use it, so that it can't be selected at all during checkout.
2. Enable the "Record customers IP" option in HikaShop's configuration (System tab). This will log the IP on each order, making it easier to identify and block the source IPs via your server firewall or .htaccess.
3. If the bot orders all come from specific IP ranges, blocking them at the server level (firewall or .htaccess) will be far more effective than any application-level protection.
4. You can also look into a Web Application Firewall (WAF) like Cloudflare's free plan, which can filter out bot traffic before it even reaches your site.

We'll also look into adding bot detection to the checkout process in a future version.

Please Log in or Create an account to join the conversation.

  • Posts: 85391
  • Thank you received: 13954
  • MODERATOR
3 weeks 22 hours ago #370765

Hi,

After investigating further, we believe the issue is related to the PayPal Express payment plugin specifically. The checkout process already has bot detection.

Unlike the standard checkout flow, PayPal Express creates orders at the very beginning of the payment process, before the customer completes payment on PayPal's side. That's the goal of PayPal Express: to bypass the normal checkout on your website to simplify the payment process for the customers. This means that bots or automated scripts only need to trigger the "Pay with PayPal Express" button to generate an order, without actually going through the full checkout (no CAPTCHA, no form validation, no address entry).

That would explain both the incomplete customer data and the high volume of orders.

Here is what we recommend:

1. Uninstall (not just disable) the PayPal Express payment plugin entirely if you are not using it. Disabling it prevents customers from selecting it, but the callback URL can technically still receive requests.
2. In your PayPal account, check if there are any IPN or webhook URLs still configured that point to your site. Remove any that reference "paypalexpress" in the URL.
3. Enable the "Record customers IP" option in HikaShop configuration (System tab) so we can verify whether the orders come from a single source or many IPs.

We are also looking into adding additional protections to the PayPal Express plugin for a future version.

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 1
  • Hikashop Business
2 weeks 4 days ago #370799

Hallo Nicolas,

ich gehe auch davon aus, dass diese unvollständigen Bestellungen von Bots stammen.

Das PayPal Express-Zahlungs-Plugin habe ich zur Zeit deaktiviert, würde es aber eigentlich gerne später wieder aktivieren.

Unter System>Bestellungen ist die Option „Kunden-IP protokollieren“ bereits aktiviert. Wo kann ich denn die protokollierten IP-Adressen am einfachsten finden? Eine Erweiterung um IP-Adressen zu sperren habe ich bereits auf meiner Internetseite im Einsatz. Dort kann ich auch manuell entsprechende IP-Adressen speichern bzw. sperren. Zudem benutzen wir auch eine Firewall und einen Traffic-Filter, so dass wir mehrere Möglichkeiten haben, den unerwünschten Traffic zu sperren, sofern wir ihn identifizieren können.

Wie kann ich überprüfen, ob in meinem PayPal-Konto IPN- oder Webhook-URLs konfiguriert sind, die auf meine Website verweisen. Ich kann mich nicht erinnern so etwas eingerichtet zu haben.

Viele Grüße und vielen Dank - Harald Schulze

Last edit: 2 weeks 4 days ago by haraldundandrea.

Please Log in or Create an account to join the conversation.

  • Posts: 85391
  • Thank you received: 13954
  • MODERATOR
2 weeks 4 days ago #370802

Hi,

Where to find the IP addresses:

Once "Record customers IP" is enabled in your HikaShop configuration (System > Configuration, in the order section), the IP address will be recorded for all new orders. You can see it when you open an order in the backend. It is displayed in the order details, at the top of the order form. If you have the geolocation plugin installed and enabled, it will also show the city, state and country associated with that IP.

Note that this only applies to orders created after you enabled the setting. Orders created before that won't have an IP recorded.

If you want to see the IPs in bulk, you can create a mass action on orders to export the order_ip column. Go to System > Mass actions, create a new mass action on orders, and add an export action with the
order_ip field.

Checking PayPal for IPN/webhook URLs:

1. Log into your PayPal account at paypal.com
2. Go to Settings (gear icon) > Seller tools (or Account Settings > Notifications)
3. Look for Instant Payment Notifications (IPN) and check the notification URL configured there. If it points to your website with a path containing "paypalexpress" or "hikashop", that's the one bots are likely hitting.
4. Also check Webhooks in the same section for any URLs pointing to your site.
5. If you see old or unused URLs referencing the PayPal Express plugin, remove them.

Good news about HikaShop 6.4.0:

We just released HikaShop 6.4.0 two days ago, and it includes two fixes specifically for this type of problem with the PayPal Express plugin:

- The PayPal Express payment plugin now blocks known bots from initiating orders via the PayPal Express button.
- The PayPal Express payment plugin now prevents duplicate order creation when the PayPal Express button is clicked multiple times, by detecting if a pending order already exists for the same cart.
www.hikashop.com/home/blog/530-hikashop-6-4-0.html

So I'd recommend updating to HikaShop 6.4.0. That should significantly reduce or eliminate the bot-generated orders you're experiencing, without needing to uninstall the PayPal Express plugin.

In the longer term, you might also consider switching to the PayPal Checkout plugin, which is the newer PayPal integration and creates orders later in the checkout flow.

Last edit: 2 weeks 4 days ago by nicolas.

Please Log in or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum