When I try to checkout I get: The selected country is not available for checkout

As the title says…

I have had the checkout working last year, but I have made some changes (… dangerous…)

  1. I check the user’s IP address for local (Australia) or international (not Australia). The checkout has worked with this before.

  2. I only offer the user the appropriate pricing/tax according to the location from 1. (This has also worked).

  3. Today when I enter my address I immediately get “the selected country is not available for checkout”. Ironic as this is the only country available for this user to checkout with.

Odd… the address which one can see developing as “11 MyStreet St, Suburb, State, Australia”, ends up in the field as “11 MyStreet St, Suburb, State, AU, postcode”.

  1. Finally: this is the content of the buy button:
<button class="snipcart-add-item" 
        id="plus-edition_1" 
        data-item-id="plus-edition_1"
        data-item-url="/products/plus-edition" 
        data-item-description="Rumm2030 Plus - 1 Seat Licence"
        data-item-name="Rumm2030 Plus - 1 Seat Licence" 
        data-item-max-quantity="1" 
        data-item-min-quantity="1"
        data-item-taxable="true" 
        data-item-tax-rate="0.1" 
        data-item-taxes="GST" 
        data-item-has-taxes-included="true"
        data-item-custom1-name="Region" 
        data-item-custom1-type="hidden" 
        data-item-custom1-value="Australia"
        data-item-price="{&quot;aud&quot;:&quot;1650.0&quot;}" >
  Add to Cart
</button >

So what changes did I make: Previous versions of the button have included prices for both currencies (aud and usd), but this version only shows the currency/price for the region that the user’s ip address is in.

Is this likely to cause the problem?
If I include both currencies the data-item-taxes attributes will be wrong for one of the currencies.

thanks,

Anita