Skip to main content

Checkout Troubleshooting

Use this article to troubleshoot Kustom Checkout when it does not load, fix 401 Unauthorized errors, understand the "Something went wrong" message and find out what to send Kustom support.

Use this article to troubleshoot Kustom Checkout when it does not load, including 401 Unauthorized errors in your API call logs and the "Something went wrong" message, and to find out what information to send Kustom support if you need help.

For full technical details about the Kustom API, see docs.kustom.co.


Where to find your API call logs

Your API call logs show every request between your store and Kustom, including any error messages. You can find them in the Kustom Portal under Developers, in the developer logs. See Developer logs for how to search and read them.


401 Unauthorized error

A 401 Unauthorized error in your API call logs means Kustom did not accept the API credentials your store sent. This usually happens when the credentials are wrong, or when they belong to a different environment.

Kustom has two separate environments, each with its own API credentials:

  • Production. Your live store, where customers make real payments.

  • Playground. The test environment, where you test your integration without real payments. See Playground Account.

Production credentials only work in production, and Playground credentials only work in Playground.

How to fix a 401 Unauthorized error

  1. Check that your store uses the API credentials (Key ID and password) from the right environment. Your live store needs production credentials. See Finding your API credentials in the Kustom Portal.

  2. Check that the Key ID and password have been copied correctly into your platform, without extra spaces.

  3. If the error continues, generate new API credentials in the Kustom Portal under Developers, then API, and enter them in your platform. See API.

  4. Load your checkout again and check the API call logs to confirm the 401 error is gone.


Checkout blocked by your website's security settings

If your checkout does not load and your browser console shows errors about blocked content, your website's Content Security Policy may be blocking Kustom. See Content Security Policy.


"Something went wrong" or "old version of the web browser" message

Sometimes the checkout shows the heading "Something went wrong" and a text saying the problem may be caused by an old version of the web browser.

This message is part of the checkout itself. It appears when the browser cannot load the checkout's script from js.live.kustom.co within a few seconds. The checkout was created correctly, but the browser could not display it. An outdated browser is only one possible cause, so the message can appear on fully updated devices too.

Common causes are:

  • The network. A company network, firewall or DNS filter blocks js.live.kustom.co.

  • A browser extension. An ad blocker or privacy extension blocks the checkout script.

  • Your website's security settings. A Content Security Policy, or a plugin that optimizes or rewrites scripts on your website, stops the checkout script from running.

How to find the cause

  1. Open the checkout on your phone using mobile data with wifi turned off. If it works there, the network you were using is blocking the checkout.

  2. Open the checkout in a private or incognito window with browser extensions turned off. If it works there, an extension is blocking the checkout.

  3. If it still does not work, open the browser console on the checkout page (press F12 and select Console) and look for errors that mention js.live.kustom.co. Errors about blocked content usually point to your Content Security Policy.

  4. Check whether anything changed on your website recently, such as a new plugin, new security headers or a script optimization setting.

If you still need help, contact Kustom support and include a screenshot of the console errors.


When to contact Kustom support

If your checkout still does not load and you see other error messages in your API call logs, contact Kustom support. Include the following details so we can investigate quickly:

  • Your Merchant ID (MID). See How to find your Merchant ID.

  • What you were trying to do when the error happened.

  • The exact error messages from your API call logs.

  • Screenshots of any errors in the browser console, if the checkout does not appear at all.

Did this answer your question?