Welcome to Zuora Product Documentation

Explore our rich library of product information

Step 3: Test the Sales Tax

Learn how to test the sales tax plugin by registering as a user and verifying the tax application on subscription prices.

You can test the plugin as follows:

  1. Test With Taxable Location:
    1. Register a test user account.
    2. Set the tax attribute field to a taxable value, for example, state = "NY".
    3. Navigate to a subscription payment page.
    4. Verify the price displays with tax: $10.00 + $0.83 (Tax) (for 8.25% tax rate)
  2. Test With Non-Taxable Location:
    1. Register another test user account.
    2. Set the tax attribute field to a non-taxable value, for example, state = "MT".
    3. Navigate to the same payment page.
    4. Verify the price displays without tax: $10.00.
  3. Verify Tax Calculation:
    • Base price: $10.00

    • Tax rate: 8.25%

    • Tax amount: $10.00 × 0.0825 = $0.83

    • Total: $10.83