Late Night

How to flag late-night orders for review in WooCommerce

Flag orders placed after 10pm local time

Automatically badges orders placed after 10pm in the store's local timezone, which may warrant additional review since late-night orders have a higher incidence of impulsive purchases or fraudulent activity.

Review info
The problem

Orders placed late at night can indicate impulsive buying that leads to cancellations, or in some cases, fraudulent transactions. Without a flag, these orders are processed identically to daytime orders and any issues are only discovered after dispatch.

The solution

OrderBadger can automatically flag orders placed after 10pm in your local timezone.

Who this is for

Stores that experience higher cancellation or fraud rates on late-night orders, or any store that wants to segment orders by time of day for operational insights.

At a glance
Uses store WordPress timezone Fires on orders placed at 10pm or later All customers and order values eligible Badge: Late Night (purple, info)
People also search for
WooCommerce flag orders placed after 10pm for review how to catch impulsive late-night purchases in WooCommerce detect after-hours orders that might be fraud in WooCommerce WooCommerce alert for orders placed at unusual times review overnight orders before dispatch WooCommerce

How it works

Checks the hour of order placement in the store's local timezone. If the order was placed at 10pm or later, it receives a badge. This lets you identify late-night orders for additional review or operational segmentation.

Review late-night orders for signs of impulsive purchasing or unusual payment details before dispatch. Consider whether a brief delay before processing would reduce cancellation rates.

Rule template

Plain English rule The order was placed after 10pm local time

Write this (or something similar) in the OrderBadger rule builder. The AI compiler turns it into executable logic automatically.

Make it yours

Adjust thresholds
  • Change '10pm' to '11pm' if 10pm orders are normal for your customer base and you only want to flag truly late activity.
  • Change '10pm' to '9pm' if your fraud or cancellation patterns start earlier in the evening.
Add or remove conditions
  • Add 'and order total is over £200' to only flag high-value late-night orders where impulsive or fraudulent risk matters most. The order was placed after 10pm local time and order total is over £200
  • Add 'and customer has 0 previous paid orders' to narrow this to late-night orders from unknown first-time customers, a stronger fraud signal. The order was placed after 10pm local time and customer has 0 previous paid orders

Badge preview

Default: Late Night

When this rule matches

Order At 11pm
The order was placed at hour 23 (11pm), which is after 10pm.
Order At 10pm
The order was placed at hour 22 (10pm), which meets the 'after 10pm' condition as the hour has started.

When this rule does not match

Order At 9pm
The order was placed at hour 21 (9pm), which is before 10pm.
Order At Midday
The order was placed at hour 12 (midday), well before 10pm.

Good to know

  • The local hour is based on the WordPress timezone setting. Ensure your store timezone is correctly configured.
  • This does not account for customer timezone - only the store's local time is used.

Frequently asked questions

  • Whose timezone is used - the customer's or the store's?
    The store's WordPress timezone setting. The customer's local time is not considered, so a customer ordering at 8pm in a different timezone could still be flagged if it is after 10pm in your store's timezone.
  • Does the rule cover early morning hours like 1am-5am, or only 10pm-midnight?
    As written, it covers 10pm onward (hours 22 and 23). Orders placed between midnight and the morning are hour 0-5 and would not be flagged. Edit the rule to add an early-morning window if needed.
  • Can I change the cutoff to a different time, like 9pm or 11pm?
    Yes. Edit the rule text and replace 10pm with your preferred time. The rule will recompile with the new hour threshold.

Related rules

Try this rule in your store

OrderBadger is free on WordPress.org. Install it and create this rule in minutes - no code required.

Install OrderBadger Free