Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Shipping rates API timeout blocking checkout: how to fix it

CNV-184High impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

Many stores calculate shipping live. When a shopper enters an address, the store sends the cart weight, size and destination to a carrier (such as UPS, FedEx, USPS or Royal Mail) or to a shipping app, and waits for prices. An API is simply the interface that lets one system ask another for data.

Where a rates timeout breaks the journey
  1. CartItems added
  2. Address enteredCheckout asks the carrier for rates
  3. Rates requestNo reply before the timeout
  4. Shipping optionsNever shown
  5. Payment and orderNever reached

The shopper does everything right, but the rates request never returns.

Why it costs you leads or sales

This failure hits shoppers at the very end of the funnel, after they have chosen products and typed their address. They have no way around it. Most will leave rather than retry, and ad spend that brought them in is wasted.

Checkouts completed with and without a rates timeoutExample numbers
Checkouts completed with and without a rates timeout (example)Rates load normally: 70 %; Rates time out: 5 %02754705Rates load normallyRates time out%

Example: illustrative numbers only. Of shoppers who reach the shipping step, far fewer finish when rates do not load.

How to check if your site has it

Test the shipping step by hand
  1. Use a private window

    Open a fresh private or incognito window so no saved address or cart interferes.

  2. Add a typical and a heavy cart

    Test one light item and one large or heavy order. Large carts send bigger requests and often time out first.

  3. Enter addresses in several regions

    Try a domestic address, a far domestic one and an international one. Note which ones hang.

  4. Watch the network tab

    Open browser developer tools, go to Network, and look for the rates request (often named rates, shipping or get_rates). A request that stays pending or returns 504, 408 or 500 confirms the timeout.

  5. Check the platform logs

    Look at your shipping app, carrier plugin or server error log for timeout messages.

How to fix it

The goal is two things: make the rate lookup faster and more reliable, and make sure checkout still works when it fails. Start with the common causes below.

Common causes of rate timeouts
CauseSignFix
Carrier API outage or slownessRates fail for everyone at the same timeAdd fallback flat rates; check the carrier status page
Too many carriers queriedSlow every timeDisable carriers and services you do not use
Expired or wrong API credentialsErrors in logs, instant failureRe-enter keys or re-authorise the account
Large carts with many itemsOnly big orders failSet product weights and dimensions; use box packing
Slow hosting or blocked outbound callsOther plugin calls also slowUpgrade hosting; allow outbound requests in firewall
Fix by platform
  1. Add fallback rates

    In WooCommerce go to Settings > Shipping > Shipping zones and add a Flat rate method to each zone, so shoppers still have an option when live rates fail.

  2. Trim carrier services

    In your carrier plugin settings, turn off services you do not offer to cut the request size.

  3. Check credentials and logs

    Re-enter API keys, then check WooCommerce > Status > Logs for timeout entries.

  4. Rule out conflicts

    Temporarily disable other plugins on a staging copy to see if one slows checkout.

Example: carrier call with timeout and fallback (Node.js 18+)javascript
async function getRates(payload) {
  const controller = new AbortController();
  const timer = setTimeout(() => controller.abort(), 4000);
  try {
    const res = await fetch(process.env.CARRIER_RATES_URL, {
      method: 'POST',
      headers: { 'Content-Type': 'application/json' },
      body: JSON.stringify(payload),
      signal: controller.signal
    });
    if (!res.ok) throw new Error('Carrier error ' + res.status);
    return await res.json();
  } catch (err) {
    console.error('Rates failed:', err.message);
    return [{ name: 'Standard shipping', price: 5.95 }];
  } finally {
    clearTimeout(timer);
  }
}

How to confirm it's fixed

Confirmation checks
  • Shipping options appear within a few seconds for a domestic address
  • They also appear for an international address and a heavy cart
  • Disabling the carrier (or blocking it on staging) still shows the fallback rate
  • The rates request in the Network tab returns 200, not 408, 500 or 504
  • You can reach the payment step and place a test order in test mode

How to prevent it happening again

Prevention habits
  • Keep fallback or backup rates enabled in every shipping zone
  • Only enable carrier services you actually sell
  • Keep product weights and dimensions complete
  • Re-test checkout after plugin, theme or carrier account changes
  • Check the carrier's status page when rates suddenly fail
  • Run a scheduled checkout test so you hear about failures before customers do
How an unnoticed timeout unfolds
  1. Example: 09:00

    Carrier API slows down; rates stop loading.

  2. Example: 09:30

    Shoppers reach checkout, see a spinner and leave.

  3. Example: 14:00

    Sales look low, but nobody knows why.

  4. Example: next day

    A team member tests checkout and finds the problem.

How FunnelGuard handles this

FunnelGuard detects this issue only partly. A robot visitor runs your checkout journey on a schedule from the EU or the US. It flags a journey step timeout, and its shipping_available check fails when shipping rates never load. A failure is re-checked from a second region before one alert goes out, with a screenshot and a likely cause.

Questions people ask

Why are my shipping rates not loading at checkout?

Usually the carrier or shipping app did not reply in time. Other causes are expired API credentials, missing product weights, slow hosting or a plugin conflict. Check the Network tab for a pending or failed rates request and your platform logs.

What does a shipping rates API timeout mean?

It means your store asked a carrier or shipping app for live prices and gave up waiting for the answer. The shopper then sees a spinner, an error or no shipping methods. The order cannot continue until rates return.

How do I stop checkout failing when the carrier is down?

Add fallback rates. In Shopify enable Backup rates under Shipping and delivery. In WooCommerce add a Flat rate method to each shipping zone. Shoppers then see a price even if live rates fail.

Why does shipping only fail for large orders?

Large carts send bigger requests and can take longer to price. Missing weights or dimensions can also cause failed lookups. Test with a heavy cart and complete your product data.

How can I see a shipping rates timeout in my browser?

Open developer tools, go to the Network tab, enter an address at checkout and find the rates request. If it stays pending or returns 408, 500 or 504, the lookup is timing out.

Can FunnelGuard detect a shipping rates timeout?

Partly. It flags a journey step timeout and fails its shipping_available check when rates never load. It does not measure carrier speed, test every cart or destination, or verify prices.

Should I use live carrier rates or flat rates?

Live rates are more accurate but depend on an outside service. Flat or table rates are faster and more reliable. Many stores use live rates with flat rates as a backup.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: journey step timeout; shipping_available fails when rates never load.

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.