Prevent PO Boxes being entered as address at checkout

New Member
1 0 7

I have spent the last few hours reading posts and chatting with Shopify support to find a solution to my problem without success.

I need to prevent customers from entering PO Boxes as their shipping address during the checkout process. I do not want their order cancelled if they happen to enter a PO Box. I would like a message to appear that PO Boxes are not accepted (or a similar message that can be customised). 

I have seen this requested by other Shopify users in the past and yet it is still overlooked or simply ignored.

Surely there should be more customisations available at checkout to ALL Shopify users without having to find a Shopify expert to create an app that doesn't do the job.

Shopify Staff
Shopify Staff
187 0 29

Hi Anthony!

Diana here from the Shopify Support Team.

I totally understand where you're coming from when you say you're wanting more customizability options in the Shopify checkout. While we do currently offer some superficial checkout customization (like adding logos, banners, adjusting text, etc.) the reason we're so strict about what can and can't be customized is because we don't want to jeopardize the PCI-compliance of our checkout

When you sign up to host your store with Shopify, we're proud to offer a secure checkout with your store, no matter your plan, the size of your business, or your own levels of web knowledge. If we compromised on checkout customizations, being able to verify that every single customization made is still 100% PCI-secure would be beyond our scope, and we couldn't realistically promise the same security that we do now. Since the financial security of your customers is of the utmost importance, we've had to impose the tighter limit on what is customizable at this time.

That being said, I'd still like to suggest some options for you. While there's currently no coding options for you to forceably reject a PO Box address during checkout, you could conceivably code in an 'Agree to Terms of Service'-type checkbox into your cart to let them know about your policy on PO Box addresses before the checkout begins. Alternatively, you could take advantage of your Theme's language editor to adjust the default phrasing of the 'Shipping address title' from "Shipping address" to something like "Shipping address (PO Boxes will not be available for shipping)". 

I hope this helps you move closer towards what you're aiming for with your checkout!

- Diana

Diana | Shopify Guru ~ Contact Shopify 24/7 at!
New Member
1 0 9

This is a careful diplomatic response to this clearly years-long issue, but unfortunately it's just not acceptable. The obvious underlying feature request is simple and requires no customizability by the shop owners: Customers should not be allowed to proceed with an order if non postal service shipping methods are selected with a "PO Box", "P.O. Box", "po box", "p.o. box" string match in the street address field. If that is not possible, please explain to your customers why exactly that is not possible while maintaining PCI compliance, or this question will continue to persist and Shopify customers will become more irritated or leave the platform.

Shopify Partner
13 0 7

What if our theme doesn't have a language editor, what then??

New Member
1 0 0

I followed the advice to "Alternatively, you could take advantage of your Theme's language editor to adjust the default phrasing of the 'Shipping address title' from "Shipping address" to something like "Shipping address (PO Boxes will not be available for shipping)". However, it does not reflect the changes in the live store. It doesn't even seem like Online Store / Themes / Venture / Language (English) even controls it as it shows two address fields and my site only shows one.

New Member
1 0 4

Is there a solution for this yet? 


This is a major issue as FedEx does not deliver to PO Boxes. This needs to be addressed and offered to your customers. 

It should not be difficult to add shipping restrictions, Like out of the Country, or PO Boxes. 




Shopify Staff
Shopify Staff
2005 154 431

Hey, everyone!


Taking a look here, this feature isn't something that we offer natively at this time, however, I was able to find an app called "Address Validator" which should help with this. Here are a few reasons why I suggest this app:


  1. Currently holds a 5-star rating over 63 reviews 
  2. Offers great customer support (based on reviews provided)
  3. Free to install and costs 3 cents an address (Pay as you go) 
  4. Allows for blocking PO box Address

Outside of this, I've also sent up a feature request to our products team so they can look into this further. Should this be something our teams are able to add to the platform, they will do so in a future update! 





Peter | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

New Member
2 0 3

Given Shopify refuse to address this issue (along with many other basic issues) I have sought help.


Address Validator was an app that Shopify have suggested and it never did fully block the PO Boxes from being used, however I have written to the developer and he has added this feature to prevent users from proceeding with PO Boxes. I have attached his instructions below.


As a further note, Shopify have placed a block preventing the 'additional google analytics javascript' section of your store from performing anything other than analytics related activities. They can remove this block, you need only call or chat to them online, it is a quick (albeit should be unnecessary) process. You will need to do this for Address Validator to function properly.



Screenshot 2019-02-18 13.51.36.png

3 0 12

Oh great, another cost to every sale rather than Shopify just providing a little bit of service by allowing store owners the ability to add a simple line of text stating that we're unable to deliver to PO Boxes. :( :( :( **bleep** poor effort 

New Member
2 0 3

You can already put that bit of text there however you'll find customer's don't care and will try list a PO Box anyway.


To add the text visit your store's language settings and find the relevant checkout lines.