Guide · Last updated: 2026-12-02
WooCommerce error tracking: catch checkout and payment errors automatically
Failed cart and checkout requests, errors from payment and shipping plugins and PHP errors of your WooCommerce store, delivered to bugd.one automatically.
Language: Deutsch
When something breaks in a store, you often notice only because orders stop coming in. A payment plugin whose API does not respond usually does not throw a PHP error; it writes a line to the WooCommerce log. A checkout that fails with 503 is seen only by the customer. The bugd.one plugin brings both to your dashboard, together with the plugin that caused the error.
This guide builds on the WordPress guide and focuses on what stores get on top.
Prerequisites
- WordPress 6.0 or newer, PHP 7.4 or newer and an active WooCommerce.
- The bugd.one – Bug Reports & Error Tracking plugin, version 1.1.0 or newer, from the WordPress plugin directory (or as a ZIP).
- A bugd.one account: new accounts try all Pro features free for 7 days, then Pro at €9.90 or Team at €29.90 per month (incl. VAT). Without an active plan bugd.one accepts no new reports.
- The publishable key (
bk_live_…) for JavaScript errors and the server key (bk_server_…) for PHP errors, the WooCommerce log and the dashboard widget. Connecting sets up both automatically.
Step by step
Step 1: Install and connect the plugin
Install the plugin under Plugins → Add New (search for “bugd.one”, then “Install Now”) and activate it. Open Settings → bugd.one, click “Connect with bugd.one”, sign in, pick a project and tick “Capture PHP errors” so a server key is created too. Back in WordPress the setup assistant walks you through the rest: Connect → Check → Apply recommended settings.
Step 2: Apply the recommended settings
“Apply recommended settings” turns on what a store needs: the bug report button, JavaScript errors with failed requests, PHP errors and the WooCommerce log. Warnings and notices stay off. You can change each item in the Error tracking tab:
- JavaScript errors with “Also report failed requests to your site” (server errors 5xx and network errors, e.g. add to cart or checkout).
- PHP errors: fatal errors and uncaught exceptions.
- WooCommerce: “Report WooCommerce log entries of level “error” and above”.

Error tracking works without a visible button. If you don't want a button in your store, untick “Show the bug-report button on the site” in the Bug-report widget tab.
Step 3: Test the connection
Click “Test connection” on the status card. The plugin checks the widget key including the allowed domains and sends a PHP test error (environment development, so no notification). It shows up in bugd.one under Crashes with the *Development* filter. If you use a page-cache plugin, clear its cache afterwards.
Step 4: Use the overview on the WordPress dashboard
Once a server key is saved, administrators see the “bugd.one – errors and bug reports” widget on the WordPress dashboard: open errors, errors seen and new in the last 24 hours, open bug reports and the most recent open errors, each linking into bugd.one. The widget loads after the dashboard and is cached for 5 minutes, so it never slows down the admin area.

What is captured
| Source | Example in bugd.one | Needs |
|---|---|---|
| Failed requests to your store (5xx, network errors) | POST /?wc-ajax=checkout → 503 | publishable key, JavaScript errors on |
Store API requests and admin-ajax.php | path with rest_route or action, IDs as :id | publishable key, JavaScript errors on |
| Scripts and stylesheets that fail to load | Failed to load script: … | publishable key, JavaScript errors on |
| Uncaught JavaScript errors in the browser | TypeError with stack trace | publishable key, JavaScript errors on |
| WooCommerce log from “error” (error, critical, alert, emergency) | type WooCommerce:<source>, e.g. the payment plugin's source | server key |
| PHP errors (fatal, uncaught exceptions, optionally warnings) | E_ERROR with stack trace and affected plugin | server key |
A few details that help in practice:
- Routes stay recognizable: for failed requests the crash reporter keeps the WooCommerce parameters
wc-ajax,rest_route(IDs →:id) andactionforadmin-ajax.php. All other parameters are dropped, so each endpoint becomes its own error group with a counter. - Only your store counts: requests to other domains (ads, analytics, CDNs) are ignored, as are network errors while offline or after the page was left.
- The culprit is named: for log entries the plugin finds the call site outside WooCommerce's logger that wrote the entry, for example the payment plugin's file.
- Release with WooCommerce version: the release reads e.g.
My Shop (WP 7.1.5, WC 11.3.1), so bugd.one shows you which errors are new since a store update. - WooCommerce stays unchanged: the plugin adds its handler next to WooCommerce's own log handler. The log under WooCommerce → Status → Logs keeps being written as before.

Environments: live store and test store
“Automatic” follows wp_get_environment_type(): production stays production; staging, development and local are reported as development. Only production events trigger e-mails, webhooks and chat messages; development events appear in the dashboard marked DEV. If your site reports as development, the dashboard widget tells you so.
Privacy
As the store operator you are the controller; bugd.one (Mignuti Media) processes the data on your behalf. Conclude the data processing agreement and mention bugd.one in your privacy policy. The plugin's Privacy tab contains a suggested text to copy that adapts to the features you turned on: when failed requests and the WooCommerce log are active, it mentions them.
Sent:
- for failed requests: method, path without parameters (numbers and IDs replaced by placeholders) and status code, plus browser, operating system and the page address without parameters;
- for log entries: message, source, level, WooCommerce version and where the entry was written from;
- for PHP errors: message and type, stack trace with paths relative to the WordPress folder and without arguments, page path, request method, PHP and WordPress version, active theme and affected plugin.
Not sent: request and response bodies, the context of log entries (order and customer data), cookies, POST data, query strings, user names and IP addresses. E-mail addresses, tokens and API keys in messages are replaced by placeholders before sending. The data is stored with Cloudflare under EU jurisdiction.
Page speed
The crash reporter loads with defer and never blocks rendering; errors that happen before it starts are buffered by a small inline script and reported afterwards. The bug report widget loads only after the page has finished loading, when the browser is idle. On the server, a normal request only registers error handlers; something is sent only when an error occurs, at the end of the request, with a 2-second timeout. The same error is reported at most every 5 minutes, at most 30 reports per 10 minutes.
Troubleshooting
- The report button covers another button (chat, callback, cookie settings): in the plugin settings, right below the position, raise the distance from bottom (“Bottom offset” in some plugins), e.g. to 90 – the button then sits above the other one. Or change the side distance, or move it to the left. Empty = 16 px.
- No failed requests in the dashboard: check that JavaScript errors and “Also report failed requests to your site” are on. Only server errors (5xx) and network errors are reported, not 4xx responses. Clear the page cache after changes.
- WooCommerce log entries don't arrive: the server key is missing (see the Error sources card) or the entry is below level “error”.
- The dashboard widget says “Save a server key”: enter the server key in the Connection tab, or reconnect and tick “Capture PHP errors”.
- “Domain not allowed” during the test: add your store's domain in bugd.one under Project → Settings → Allowed domains.
- “bugd.one refused the request”: the trial has ended or the project is read-only. Without an active plan bugd.one accepts no new reports.
- Content Security Policy: allow
https://bugd.oneinscript-srcandconnect-src.
Going further
- Bug reports and error tracking for WordPress: all plugin settings
- JavaScript error tracking in the browser: what else the crash reporter can do
- WordPress in the documentation
Frequently asked questions
- Do I need a separate plugin for WooCommerce?
- No. The WooCommerce features are part of the WordPress plugin bugd.one – Bug Reports & Error Tracking from version 1.1.0. When WooCommerce is active, the WooCommerce log option shows up in the Error tracking tab automatically.
- Is order or customer data sent to bugd.one?
- No. From the WooCommerce log only the message, its source and the level are sent, never the context of the entry (which can contain order or customer data). E-mail addresses and tokens in the message are replaced first. For failed requests only the method, the path without parameters and the status code are sent, never request or response bodies.
- Why don't I see entries from the WooCommerce log?
- Forwarding needs the server key (
bk_server_…). If it is missing, the Error sources card says “Server key missing – add it”. Also, only entries of level “error” and above are reported; warnings and notices stay in WooCommerce. - Is a fatal error reported twice when WooCommerce logs it as well?
- No. WooCommerce writes fatal PHP errors to its own log (source
fatal-errors). When PHP error capture is on, the plugin skips those entries because it already reports the error as a PHP error. - Does this slow down checkout?
- No. The crash reporter loads with
deferand never blocks rendering; the bug report widget is loaded only after the page has finished loading. Your server sends PHP errors and log entries at the end of the request with a 2-second timeout, after the page has been delivered where the server supports it.
Related guides
- Bug reports and error tracking for WordPress with bugd.one — The bugd.one plugin for WordPress: a bug report button, PHP and JavaScript errors, failed requests and an overview on your dashboard — setup and privacy.
- JavaScript error tracking in the browser — Capture uncaught errors and unhandled promise rejections in the browser: crash reporter via script tag (ESM/UMD), releases and source-map upload with curl.
- Add a bug report button to your website — Embed a feedback widget with screenshots, annotation and “My reports” via one script tag — options, environments, privacy link and self-hosting via ZIP.
Up and running in two minutes
Create an account, add a project, paste your key — all Pro features free for 7 days, no credit card required.