Chargebee Reveal Recipes/Gateway Error Drill-Down

Act with urgency on the costliest payment errors

Not every payment decline costs the same. A gateway error code tells you a payment failed. It doesn't tell you whether that failure cost you $75 or $750, or whether it was the first error in the sequence or the one that finally lost you a customer. This recipe shows you how Chargebee Reveal cuts through the error noise so you can prioritize the glitches actually draining revenue.

Outcome
Fix the errors costing maximum revenue
Per review
~10 min
Error Impact on RevenueLive
39% insufficient_funds insufficient_fundsgeneral_declinenetwork_declinedo_not_honor23 more ERROR CODE VOLUME COUNT insufficient_funds $282,9972,039 general_decline $550,459 1,981
general_decline has fewer errors than insufficient_funds, but almost double the dollar volume. Volume, not count, is what tells you where to look first.
The payoff

Why error frequency is never the full story.
And what to look for instead.

The most common error is rarely the most expensive one. An error that fires 500 times on $20 transactions matters less than one that fires 80 times on $400 transactions. This recipe re-sorts your errors by what they truly cost, so the fix list matches the revenue at stake.

See the dollar behind every decline

Not just "this error happened 2,039 times," but $282,997 sat behind it. Two numbers next to each other change which error you call urgent.

Spot the errors that lost the order

A customer can hit three different errors before giving up. Only the last one mattered. Track that one separately and act with precision.

Turn a code into an action

Every error comes with a plain-English reason and a next step. No decoding gateway jargon before you can act on it.

The recipe · six steps

From “we have a lot of declines” to a fix list ranked by revenue impact

If you already have Chargebee Reveal live, jump straight to Step 3. If not, follow the first two steps to get set up. In this recipe, you'll start with the shape of your errors, then move to what they cost, then to which one actually ends the sale, then to who it's happening to.

1Connect

Connect your gateway API keys

Open Reveal and go to Sources in the left navigation. Add each processor you run today with a read-only key. One-time setup, no engineering work.

Not live on Reveal yet?
Get started with a free, full-stack payments audit run by our expert team. Connect your gateway keys and Chargebee's payments specialists will walk your whole stack with you, surfacing exactly which error reasons are leaking revenue and where. Start your free audit →
app.reveal.chargebee.com · Sources
Sources Add Source
Sources
Stripe
Adyen
Braintree
Cybersource
PayPal
Shopify
Step 1 — Sources. Connect every gateway with read-only keys. Five clicks, no code.
2Populate

Let your payment data populate

Once sources are connected, Reveal starts importing your transaction history. Full ingestion typically finishes within a day. Nothing to do on your end but wait for it to finish.

  • Transaction and error data populates per gateway as it comes in
  • Insights and Performance views unlock as data is ready
  • Come back when the Error Distribution tab shows numbers instead of a loading state
Pro tip · use the wait productively
While the data loads, write down which error reasons your support team hears about most in tickets, chargebacks, or churn interviews. That's your shortlist for what to check first once Error Distribution is ready.
reveal.chargebee.com · Performance
Building your error picture Pulling transaction and decline history from your gateways 74%
Step 2 — Populate. One-time ingest. Error Distribution goes live once it's done.
3See the shape

Decode the overall error distribution

Go to Performance › Error Distribution. The donut chart breaks every decline down by gateway error code, as a share of total error volume. Hover any slice and you get the exact percentage and error count. Below it, currency-specific tables show the same breakdown scoped to USD, EUR, GBP, and every other currency you process in.

  • Hover a slice for exact percentage and error count
  • Scroll the currency tables to see if the same error dominates everywhere, or if it's currency-specific
  • Click Currency Wise Error Distribution to flip the whole view to a per-currency donut layout
Pro tip · don't stop at the top slice
The biggest wedge is usually a catch-all like general_decline or insufficient_funds, which tells you little on its own. The specific, named errors further down the legend, fraud flags, network declines, do_not_honor, are usually where the fixable patterns live.
reveal.chargebee.com · performance/error-distribution
Performance 30 Jun–6 Jul Auth RateDecline RateRetry & Recovery3DSError Distribution Transaction Error Distribution ⇅ Currency Wise Distribution 48.10% insufficient_funds insufficient_funds (48.10%) general_decline (30.68%) network_decline (4.83%) fraud_security_violation (2.50%) do_not_honor (1.02%)+ 23 moreUSDinsufficient_funds48.00%general_decline31.75%+ 31 moreEURgeneral_decline38.67%insufficient_funds29.77%+ 16 moreGBPinsufficient_funds63.83%general_decline18.30%+ 11 moreMADgeneral_decline57.76%insufficient_funds20.69%+ 10 more
Step 3 — Error Distribution. One donut for the overall shape, per-currency tables for the local picture.
4See the cost

Rank your errors by true dollar impact

Click into any error, or scroll down, and you land on Error Impact on Revenue. This is the same kind of donut, but sized by dollar volume instead of raw count. Set the dropdown to by: Average and you get the average transaction value sitting behind each error type. The table below lists every gateway error code with a plain-English reason, the total volume, and the count, and you can toggle between viewing by Count or by Volume in the filter panel.

  • Set the dropdown to by: Average for average transaction value per error
  • Toggle Count / Volume in the filter panel to change what the donut sizes itself by
  • Read the Gateway Error Reasons column, it explains the code in plain language
Pro tip · watch for the high-value outlier
If a lower-frequency error shows a much higher average transaction value than your top error, that's usually a premium-customer or high-ticket segment hitting a specific failure. Worth checking against your customer or geography breakdown before you decide it's low priority.
Performance › Error Impact on Revenue
Performance Error Impact on Revenue · USD Error Impact on Revenue by: AverageCount Volume 39.09% insufficient_funds GATEWAY ERROR CODE GATEWAY ERROR REASONS VOLUME COUNT insufficient_funds Declined due to insufficient funds. Ask the customer to add funds or use another method. $282,997 2,039 general_decline Declined without a specific reason. Ask the customer to retry or contact their bank. $550,459 1,981 network_decline Declined by the processor's network. Ask the customer to contact their issuer. $58,125 375
Step 4 — Error Impact on Revenue, by Average. Sized by dollar volume, not just how often each error fires.
5Find the breaking point

Catch the error that lost you the sale

Open the same dropdown and pick by: Last Occurrence instead. This re-sorts the donut and table around a different question: not "which errors happen," but "which error was the final one before the customer gave up." A $500 order can hit a 3DS failure, retry into an insufficient funds error, and finally abandon on a network decline. All three happened. Only the network decline cost you the sale.

  • by: Average tells you the typical dollar value at stake per error type
  • by: Last Occurrence tells you which error is the true breaking point
  • Compare both views, an error that's rarely "last" but frequently "first" points to a retry-timing fix, not a checkout fix
Pro tip · find the communication gap
If do_not_honor or a similar hard decline shows up disproportionately often as the last error but rarely as the first, that's your customer communication gap. Those customers hit a wall with no clear next step and quietly left. A retry nudge won't fix it. A payment method switch prompt might.
Performance › Error Impact on Revenue
Performance Error Impact on Revenue · USD Error Impact on Revenue by: Last Occurrenceby: Averageby: Last Occurrence 34.2% do_not_honor leads as final error GATEWAY ERROR CODE LAST-SEEN SHARE COUNT do_not_honor 34.2% 614 insufficient_funds 28.9% 519 network_decline 12.4% 223
Step 5 — same view, by Last Occurrence. Re-ranked around what actually ended the order.
6Cross-reference

Trace revenue leaks to specific regions, issuers, or card types

Open the Filter Panel in the top right and apply a breakdown: Customer Country, Card Type, Card Issuer, Issuing Country, Funding Type, Payment Method, Gateway Account, or 3DS flow. Every step above still applies, you're just scoping it. This is how "3DS failures average $300 per transaction" becomes "3DS failures average $300 per transaction, and they're concentrated in customers on Issuer X in Region Y."

  • Filter to one segment at a time first, card type, then geography, then issuer
  • Watch for an error that's unremarkable overall but severe in one segment
  • Segment-specific problems usually need a segment-specific fix, not a blanket policy change
Pro tip · run this after every market launch
Run this filter pass right after a new market launch or a pricing tier change. New segments often carry payment methods or card types your existing error handling wasn't built around, and this is the fastest way to catch it in week one instead of quarter one.
Performance › Error Impact · Filter Panel
Filter Panel× Count VolumeFilterBreakdownCustomer CountryTransaction CurrencyPayment MethodGateway AccountFunding TypeCard TypeCard IssuerIssuing Country3DS flow Error Impact by Card Issuer Issuer A insufficient_funds: 61.2% avg. value $412 Issuer B do_not_honor: 44.6% avg. value $780 · 2x segment avg Issuer C network_decline: 38.0% avg. value $295
Step 6 — Filter Panel. Break the same errors down by issuer, geography, or card type until a pattern isolates.
How to read the metrics

Two ways to slice the error data,
what to use when

You need visibility into both errors by average value and the final error that costs you a customer. Both live in the same Chargebee Reveal dropdown, and both matter. They just answer different questions.

by: Average
What's the typical dollar value at stake?

The average transaction value behind each error type. Answers: "if I fix this error, what's a typical recovered sale worth?" High-value errors deserve engineering time even if they're less frequent.

3DS failures: avg $300/txn
Insufficient funds: avg $75/txn
by: Last Occurrence
Which error actually ends the sale?

The final error a customer hit before abandoning, across every retry attempt. Answers: "which failure is the true breaking point, not just one step along the way?"

3DS fail → retry → insufficient_funds → retry → do_not_honor (this one cost you the sale)
What to do with this

How to turn error insights into a fix list

Combining Average Revenue Impact with Last Occurrence, plus a segment breakdown, gets you to a specific action plan around your payment errors. Here's what teams typically do with it.

Prioritize by revenue, not frequency

Rank your fix backlog by dollar impact, not error count. A rare, expensive error can outrank a common, cheap one.

Build retry rules around high-value failures

If a specific error carries a high average value, give it a more generous retry policy than low-value soft declines.

Tune the checkout flow for the segments that need it

If failures concentrate in one geography or card type, the fix belongs in that flow specifically, not a global change.

Route around issuers with high hard-decline rates

If Card Issuer breakdown shows one issuer driving disproportionate do_not_honor volume, that's a routing conversation, not a retry fix.

Message customers before they hit the wall

Errors that show up heavily as "last occurrence" are silent losses. A proactive nudge at that exact failure point recovers sales a generic retry never would.

Start the recipe

Find out which errors are actually costing you money

Connect your gateways and Reveal returns the full error picture in a day: what's failing, what it's worth, and which one is ending the sale. If you'd rather have the Reveal team run it for you, we do that too, no engineering setup on your side.

Already on Chargebee Billing? Reveal is provisioned within one business day. Reach out to your account manager. Not on Chargebee yet? Reveal works standalone across 40+ gateways, book a free full-stack payments audit.