Testing in the Sandbox Environment

In your sandbox environment, payments and filings will not be submitted to the tax authority, so it’s the best way to test your integration before going to production. You can force a Quarterly Tax Payment to resolve to a specific status in your sandbox environment to test various scenarios by passing the amount specified in the table below. This is especially useful when testing Webhooks for different statuses.

For example, if you want to test a Quarterly Tax Payment in which the final status = "error" and errorMessage = "userError", you would create a Quarterly Tax Payment with amount = 333.

Status

Description

Amount

created

Tax payment is created, this is the default status

Any other amount not listed below.

pending

Tax payment is submitted to the tax authority

111

done

Successful tax payment

222

error

resourceMessage: "userError"

333

error

resourceMessage: "paymentMethodError"

444

error

resourceMessage: "timingError"

555


Did this page help you?