Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Pippin Williamson

    (@mordauk)

    The billing address is required for taxes. If you wish to disable it, you have to disable taxes.

    Thread Starter Craig Griffiths

    (@craig-griffiths)

    That is not the case in Australia. Taxes have to appear on the receipt clearly stating the date of the purchase and the items purchased. Who purchased is not required.

    It may be nice to have , but not required. Otherwise running to the shop to buy a pen could be a long process.

    Is there any plans to make it optional?

    That is not the case in Australia.

    But it is in many other countries. In the US, for example, tax varies by state. In the EU, VAT is only applied if the customer is resident in the EU. These are kinds of international tax issues that all developers of ecommerce plugins have to deal with and, sometimes, it is necessary to strike a compromise by applying some rules across the board.

    Just my two (untaxed) penn’orth worth…

    Plugin Contributor Pippin Williamson

    (@mordauk)

    I can give you a code snippet to disable it, if you’re comfortable adding it to your site. Just note that without the billing address, all customers will get taxed your default tax rate, regardless of where they are.

    @esmi Thanks!

    Thread Starter Craig Griffiths

    (@craig-griffiths)

    Blanket tax is fine by me. Australia has a flat 10% tax. My products are only needed by Australians.

    Plugin Contributor Pippin Williamson

    (@mordauk)

    Add this to a custom plugin, or your theme’s functions.php:

    function pw_edd_remove_tax_fields() {
    	remove_action( 'edd_purchase_form_after_cc_form', 'edd_checkout_tax_fields', 999 );
    }
    add_action( 'init', 'pw_edd_remove_tax_fields' );

    Thread Starter Craig Griffiths

    (@craig-griffiths)

    Excellent thanks

    The above snippet worked once, but not anymore. Now what happens when trying to check out is that these errors occurs:

    Error: Please enter your zip / postal code
    Error: Please enter your billing city
    Error: Please select your billing country
    Error: Please enter billing state / province

    The snippet removes those fields, but somehow they are still validated. Has the code changed?

    The snippet removes those fields, but somehow they are still validated. Has the code changed?

    I have the same problem .

    Plugin Contributor Pippin Williamson

    (@mordauk)

    Do you have taxes enabled?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Can not disable billing address’ is closed to new replies.