When an established customer suddenly ships to a completely new location, it may indicate a legitimate address change, a gift, or a compromised account. Without a flag, these orders are dispatched without a second look, risking delivery to the wrong address or an intercepted shipment.
OrderBadger can automatically flag orders from established customers that are shipping to a postcode they have never used before.
Any store with repeat customers - especially those shipping high-value goods where address verification reduces fraud and delivery failures.
How it works
Checks two conditions: the customer must have 5 or more previous paid orders, and the current shipping postcode must have zero previous deliveries. When both conditions are true, the order is badged and routed to your inbox for address confirmation.
Verify the shipping address with the customer before dispatch. A quick email or SMS confirming the new delivery location can prevent costly misdeliveries and protect against account takeover fraud.
Rule template
Write this (or something similar) in the OrderBadger rule builder. The AI compiler turns it into executable logic automatically.
Make it yours
- Lower '5 or more previous paid orders' to '3 or more' if you want to flag new-address orders sooner in the customer relationship.
- Raise '5 or more previous paid orders' to '10 or more' if you only want to flag address changes for your most established accounts, reducing noise.
- Add 'and order total is over £200' to only flag high-value shipments to new addresses, where the cost of a misdelivery is significant. … paid orders and previous orders to same postcode count is 0 and order total is over £200
- Add 'and shipping is international' to focus on address changes that cross borders, which carry higher risk and cost if wrong. … paid orders and previous orders to same postcode count is 0 and shipping is international
Badge preview
When this rule matches
When this rule does not match
Workflow
This rule includes workflow features that help your team act on flagged orders.
Good to know
- Address comparison uses postcodes only. A customer shipping to a different street within the same postcode will not trigger this rule.
- Guest checkouts are excluded because order history tracking requires a registered customer account.
- The 5-order threshold filters out new customers, who always have a 'new' postcode. Adjust if you want to flag newer customers too.
Frequently asked questions
-
Does this compare exact addresses or just postcodes?It compares postcodes only. The previous_orders_to_same_postcode_count field tracks how many prior orders shipped to the same postcode. Different addresses within the same postcode area will not trigger the flag.
-
Why require 5 previous orders instead of flagging all customers with a new postcode?New and low-frequency customers always have few or zero orders to any postcode, which would cause excessive false positives. The 5-order minimum ensures only established customers with a clear address pattern trigger the rule.
-
Will the badge appear if the customer previously ordered to this postcode but it was years ago?No. If the customer has any prior order to the same postcode - regardless of how long ago - the count will be 1 or more and the rule will not fire.
-
Can I combine this with a value threshold to only flag high-value orders to new addresses?Yes. Edit the natural language rule text to add an order total condition, then recompile. This narrows the scope to high-value shipments to unfamiliar addresses.
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