• Resolved Tyler

    (@tylercyert)


    We tried to use this plugin to deny po boxes for a single shipping methods, but it denys for all methods. I unchecked activate restrictions globally, and then it says to “please enter address” and does not validate any address we input.

    We would really like to use this plugin. Please get back to me soon.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Maje Media LLC

    (@majemedia)

    @tylercyert thanks for writing in.

    The plugin only validates addresses upon clicking “Complete Checkout” or “Pay” or whatever the final button on the checkout says. There’s too many variances in front-end scripting to make a stable use of live validation.

    Can you submit a screenshot of your settings page when it denys for all methods?

    Also, are you using any shipping plugins that don’t come from the WooCommerce.com store? There’s been problems in the past with some methods not registering via WC’s shipping method registration which means the No PO Boxes plugin can’t see the shipping method.

    Thread Starter Tyler

    (@tylercyert)

    We do not need live feedback for po box, all of our tests were done by actually inserting a test payment method or paying via paypal.

    Screenshot of our shop page before and after we attempt to pay when we have ‘Enable Globally’ checked:
    https://gyazo.com/ebe58db733d737e7fcd5e4d3c5107343
    https://gyazo.com/fd55a6689d6076804948d26a89d04fb2

    …And when ‘enable globally’ is unchecked: it doesn’t restrict po box at all.

    We are using Flexible Shipping for woocommerce. Link: https://flexibleshipping.com/

    Here’s a screenshot of our settings: https://gyazo.com/823597ed9d2113e072fd4d20ca8b4a5b

    If we check ‘Enable globally’ we can get the message to pop up for all shipping methods, but we need to allow USPS for po box shipping.

    • This reply was modified 4 years ago by Tyler.
    Thread Starter Tyler

    (@tylercyert)

    I resolved this myself. Flexible shipping renames shipping methods to…
    flexible_shipping_x_y

    I don’t know what x and y are or how they are calculated but I used var_dump() to discover this. I ended up putting my coding gloves on and was able to develop my own function for this.

    Even though we were unable to use your plugin, I hope this information will be helpful for your future support tickets. Thank you for your help!

    We are having the same issues, could you please share your solution?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin denys PO box for all shipping methods’ is closed to new replies.