strangerstudios / pmpro-vat-tax

Calculate VAT tax at membership checkout with Paid Memberships Pro. Allows customers with a VAT Number to avoid the tax.
https://www.paidmembershipspro.com/add-ons/vat-tax/
8 stars 20 forks source link

Added filter pmprovat_hide_vat_if_same_country #42

Closed dparker1005 closed 3 years ago

dparker1005 commented 4 years ago

Previously, when a user's billing country was the same as the VAT selling country, they would not be given the option to enter a VAT number; however, there are country-specific rules around whether the vat number should be collected in that case. This filter provides the option to allow users to enter a VAT number even if their billing country is the same as the seller's country.

mircobabini commented 3 years ago

Just tested and it's working great. Thank you!

(Please, normalize the version number from .7 to 0.7 on the next update).