How to Set Up and Use Tax in WP User Frontend Pro

WP User Frontend Pro includes a built-in tax system that lets you charge the correct tax rate to customers based on their billing country and state. You can define multiple regional tax rates, set a fallback rate for customers outside your defined regions, and control whether displayed prices include or exclude tax.


Where to Find Tax Settings

Go to WP User Frontend → Settings → Tax in your WordPress admin.


Tax Settings Explained

Enable Tax

Turn this on to activate the tax system. When disabled, no tax is calculated or displayed on the payment page, and no tax is added to payments sent to the gateway.

Default: On

Base Country and State

Set the country and state where your business is located. This serves as a reference point for your tax configuration.

Tax Rates

Define your regional tax rates here. Each row in the table represents a tax rule for a specific country and state combination.

ColumnDescription
CountryThe country this rate applies to.
State / ProvinceThe state or province within that country. Select Country Wide to apply the rate to the entire country regardless of state.
RateThe tax percentage to apply. Enter a number like 10 for 10%. Supports up to 4 decimal places.

To add a tax rate: Click Add Tax Rate at the bottom of the table, fill in the country, state, and rate, then save settings.

To remove a tax rate: Click the Remove Rate button on the row you want to delete.

Fallback Tax Rate

If a customer’s billing address does not match any of your defined tax rates, this rate is applied instead. Enter a percentage (e.g. 5 for 5%). Set to 0 if you do not want to charge tax to customers outside your defined regions.

Show Prices With Tax

Controls whether prices displayed on the payment page already include tax or show tax as a separate line item.

OptionWhat It Means
Show prices with taxThe displayed price already includes tax. Tax is baked into the total shown to the user.
Show prices without taxTax is shown as a separate line below the pack price. The total is the sum of the pack price and the tax amount.

How Tax Is Calculated

Tax is calculated based on the billing address the customer enters on the payment page, or their saved address from a previous purchase.

Standard Calculation (No Coupon)

Tax amount = Pack price × Tax rate ÷ 100
Total      = Pack price + Tax amount

Calculation With a Coupon Applied

When a coupon is applied, the discount is subtracted first, then tax is calculated on the reduced amount.

Discounted amount = Pack price − Coupon discount
Tax amount        = Discounted amount × Tax rate ÷ 100
Total             = Discounted amount + Tax amount

Example — $50 pack, 20% coupon, 10% tax:

Pack price          $50.00
Coupon -20%        −$10.00
Discounted price    $40.00
Tax 10%              $4.00
──────────────────────────
Total               $44.00

How Tax Appears on the Payment Page

When tax is enabled, the order summary on the payment page shows a dedicated tax line between the item price and the total:

Subscription: Pro Plan     $50.00
One time payment
Tax 10%                     $5.00
──────────────────────────────────
Total                       $55.00

The tax rate shown is determined by the customer’s billing address at the time of checkout.


Which Payment Types Support Tax

Payment TypeTax Applied?
Subscription packYes
Pay-per-postYes
Free pack activationNo (no charge, no tax)

WooCommerce Integration

If WooCommerce is active on your site and a customer does not have a billing address saved in WPUF, the plugin will read their billing address from their WooCommerce profile to determine the correct tax rate. Existing WooCommerce customers get the right regional tax rate without needing to re-enter their address.


Frequently Asked Questions

Does tax apply if the customer is in a country I haven’t configured?

Yes — the Fallback Tax Rate is charged to any customer whose billing country and state does not match a defined rate. Set the fallback to 0 if you want to exempt unrecognised regions.

What if I enable tax but set no tax rates and no fallback rate?

No tax will be charged and the tax row will not appear on the payment page.

Can I set different rates for different states within the same country?

Yes. Add a separate row for each state. You can also add a Country Wide row as a catch-all, then add specific state rows with different rates for exceptions.

Is tax included in what gets sent to PayPal?

Yes. When a payment is processed, the tax amount is included in the payment total sent to the gateway.

Does the tax system work with coupons?

Yes. Tax is always calculated on the post-coupon (discounted) price, not the original pack price.


  • Coupon Settings — WP User Frontend → Coupons
  • Payment Settings — WP User Frontend → Settings → Payment
  • Billing Address — WP User Frontend → Settings → Address

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *