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.
OrderBadger can automatically flag orders placed after 10pm in your local timezone.
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.
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
Write this (or something similar) in the OrderBadger rule builder. The AI compiler turns it into executable logic automatically.
Make it yours
- 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 '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
When this rule matches
When this rule does not match
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