• Resolved infotrailexplorerscouk

    (@infotrailexplorerscouk)


    We are after updating to the new version of the app getting the following error.

    WooCommerce Square: Your base country is GB, but Square can’t accept transactions from merchants outside of US, CA, UK, AU, and JP.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • I am getting the same thing. ‘Country’ specific WordPress updates for the UK are set up as GB (for Great Britain) rather than UK. WooCommerce Square needs to add GB to the list of non-flagged country codes..

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If you’re posting you need to be contributing to the topic. Don’t just post to say “me too”. If you want to subscribe you can do so without distracting the topic by pressing the “Subscribe” button in the sidebar; @phildarv, @chrslcy, @malachiconstant, @robgs

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi all,

    We are aware of this and will get a fix out as soon as possible.

    Thanks,

    For anyone needing a quick fix for this while waiting for an update, I amended the \wp-content\plugins\woocommerce-square\includes\plugin.php file from line 404 to read:

    	protected function add_base_location_admin_notice() {
    
    		$accepted_countries = [
    			'US',
    			'CA',
    			'UK',
    			'GB',
    			'AU',
    			'JP',
    		];
    

    and my test transaction worked fine.

    Thread Starter infotrailexplorerscouk

    (@infotrailexplorerscouk)

    rectified in latest update

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WooCommerce Square: Your base country is GB, but Square can’t accept transaction’ is closed to new replies.