Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Tax or shipping rate API failing at checkout: find and fix it

OPS-226High impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Many stores do not calculate shipping and tax themselves. At checkout they send the cart and the delivery address to an outside service, such as a carrier (UPS, FedEx, USPS, DHL), a shipping app or a tax service (for example Avalara or TaxJar). That service replies with the rates to show. An API is simply the way one system asks another for data.

Where the rate lookup breaks
  1. CartShopper starts checkout
  2. Address enteredCart and address sent to rate service
  3. Rate API callTimes out or returns an error
  4. Shipping and tax shownEmpty or missing
  5. PaymentNever reached

The shopper enters an address, the rate request fails, and every later step is lost.

Why it costs you leads or sales

This breaks the step right before payment, so the people affected are your most committed buyers. They have chosen products and typed their address. If they cannot see a delivery price or finish the order, most will leave and may not return.

Orders completed per day when rates failExample numbers
Orders completed per day when rates fail (example)Normal day: 40 orders; Rate API down (no fallback): 6 orders; Rate API down (flat-rate fallback): 34 orders0153140634Normal dayRate API down (no fal…Rate API down (flat-r…orders

Example: a store that normally takes 40 orders a day loses most of them while the rate lookup is down.

How to check if your site has it

Test the rate lookup by hand
  1. Use a private window

    Open your store in a private or incognito window so you see what a new visitor sees, with no saved address or login.

  2. Add a normal product and go to checkout

    Enter a real, valid address in your main market and check that shipping options and a tax line appear and the total updates.

  3. Repeat for edge cases

    Try another country, a remote postcode or ZIP, a heavy or oversized item, a cart with several products and a tax-exempt or different-state address.

  4. Check the logs

    Look for failed requests, timeouts, 401/403 (bad credentials), 429 (rate limit) or 5xx (provider error) responses in your platform or app logs. In a browser, open DevTools, go to Network and watch the request that runs after you enter the address.

  5. Check the provider

    Open the status page and dashboard of your carrier, shipping app or tax service for outages, expired accounts, exhausted quotas or billing problems.

Common symptoms and likely causes
What you seeLikely cause
No shipping options for every orderExpired or wrong API credentials, provider outage, carrier account suspended
No options for some countries or itemsMissing shipping zone, product weight or dimensions not set, service not offered to that destination
Tax shows zero or an errorTax service unreachable, nexus or registration settings missing, invalid address
Spinner that never endsTimeout, slow provider, blocked request
Worked until recentlyQuota or plan limit reached, billing failed, API version retired

How to fix it

Fix the cause first, then add a safety net so a future outage does not stop checkout. The first steps are the same everywhere. The settings differ by platform.

Fix the rate lookup
  1. Find the failing call

    Use the logs and the provider dashboard to see the exact error code and message.

  2. Renew credentials and billing

    Re-enter or regenerate API keys, confirm the account is active and paid, and check quotas.

  3. Complete the product data

    Carrier-calculated rates need weight, and often dimensions, on every product. Check the origin (warehouse) address too.

  4. Check shipping zones and services

    Make sure every country you sell to has a zone and at least one enabled service.

  5. Add fallback rates

    Set flat or free-shipping rates that apply if live rates are unavailable, so shoppers can always complete the order.

  6. Retest

    Run the manual test above for each region and product type.

Where to look on each platform
  1. Open shipping settings

    Go to Settings > Shipping and delivery. Check each shipping profile and zone for the markets you sell to.

  2. Check carrier-calculated rates

    Carrier-calculated rates depend on your Shopify plan or an add-on. Confirm it is active and that products have weight set.

  3. Add a fallback rate

    In the Shipping and delivery profile, find the Fallback rate option under the carrier-calculated section and enter a flat rate. For third-party apps, check the app's own status and settings.

  4. Check taxes

    Go to Settings > Taxes and duties and confirm your regions are set up. If you use a tax app, check its connection.

Example: fallback shipping rate when the live API fails (Node.js 18+)javascript
async function getShippingRates(cart, address) {
  const controller = new AbortController();
  const timer = setTimeout(() => controller.abort(), 4000);
  try {
    const res = await fetch('https://api.example-carrier.com/rates', {
      method: 'POST',
      headers: { 'Content-Type': 'application/json' },
      body: JSON.stringify({ cart, address }),
      signal: controller.signal
    });
    if (!res.ok) throw new Error('Rate API status ' + res.status);
    const data = await res.json();
    if (!data.rates || data.rates.length === 0) throw new Error('No rates returned');
    return data.rates;
  } catch (err) {
    console.error('Rate lookup failed:', err.message);
    return [{ name: 'Standard shipping', price: 7.9, fallback: true }];
  } finally {
    clearTimeout(timer);
  }
}

How to confirm it's fixed

Confirmation checklist
  • Shipping options appear for your main market within a few seconds
  • Tax is calculated and the total updates after the address is entered
  • Other countries, remote postcodes and heavy items also return options
  • No failed rate requests in the logs or browser Network tab
  • The provider dashboard shows no errors, quota warnings or billing problems
  • Fallback rates show when you temporarily disable the live rate service on a test setup

How to prevent it happening again

Prevention checklist
  • Keep flat-rate fallbacks enabled for every shipping zone
  • Subscribe to the status page of every carrier, shipping app and tax service you use
  • Turn on billing and quota alerts in each provider dashboard
  • Calendar reminders for key and certificate expiry dates
  • Set weight and dimensions on every new product before publishing
  • Test checkout by hand after changing plugins, themes, products or shipping zones
  • Watch your order count against a normal day so a sudden drop gets noticed
How a silent rate failure unfolds
  1. Example: 09:00

    The carrier account hits its request limit and the API starts returning errors.

  2. Example: 09:05

    Shoppers reach checkout and see no shipping options. Orders slow down.

  3. Example: 14:00

    Nobody has noticed. Site, ads and cart all look normal.

  4. Example: 16:30

    A staff member tests checkout, finds the error and upgrades the plan.

How FunnelGuard handles this

FunnelGuard does not check this yet. A dedicated check for missing shipping or tax rates is a possible future addition, but it is not something the service does today, so do not rely on it for this problem.

What FunnelGuard does do is run your real customer journeys on a schedule with a robot visitor, from the EU or the US, and check each step. If a checkout step breaks in a way it can see, such as a page error or a button that cannot be clicked, a failure is re-checked from a second region before one alert goes out with a screenshot and a likely cause. It stops before payment unless your store's test mode is set up. That can reveal a checkout that is visibly broken, but it is not a specific check on your rate service.

Questions people ask

Why are no shipping rates showing at checkout?

Usually the live rate request is failing or returning nothing. Common causes are expired API credentials, a carrier outage, missing product weights, an address outside your shipping zones, or a quota or billing limit. Check the logs and the provider dashboard for the exact error.

Why does my checkout say "no shipping options available"?

The store found no shipping method that matches the cart and address. Either the destination is not in any shipping zone, a method needs weight or dimensions that are missing, or the carrier service did not respond. Add the zone or a flat-rate fallback and retest.

How do I add a fallback shipping rate?

Add a flat rate for each shipping zone alongside your live carrier rates. In Shopify, use the fallback rate option in Shipping and delivery. In WooCommerce, add a Flat rate method to each zone. Custom stores should return a default rate when the API errors or times out.

Why is tax not calculating at checkout?

The tax service may be down, your credentials or plan may have expired, or the address may be invalid or missing from your tax settings. Check the tax provider's status and logs, confirm your regions are set up, and retest with a valid address.

How do I know if my shipping API is down?

Place a test checkout and see whether options appear, then check the carrier or app status page and your platform logs for timeouts and 4xx or 5xx errors. In your browser's Network tab, look at the request that fires after you enter the address.

Can a rate API failure lose me sales without any warning?

Yes. The site, ads and cart can all look normal while the checkout step stalls. A drop in completed orders compared with a normal day is often the first sign, so watch order counts and test checkout regularly.

Does FunnelGuard monitor shipping and tax rate APIs?

Not yet. A rate-lookup check is a possible future addition. FunnelGuard does run your checkout journeys on a schedule and alerts on steps it can see failing, but you should test shipping and tax by hand and watch your provider's status page.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.