AI, testing and the human in the loop
How MaxLTV decides when to retry a failed charge, where a model contributes, and why nothing it suggests takes effect in your store without a person enabling it.
The rule table is the product
What happens after a charge fails is decided by a table of rules, and that table is yours. It lives on the Retries page.
Each rule matches against the decline and says what kind of failure it is and how it should be handled. Rules are matched in priority order and the first match decides, so the order of the table is itself a decision. Your store starts with a sensible default table rather than an empty one, and you change it from there.
Everything below is about how that table gets better over time. None of it replaces the table as the thing in charge.
Where the model contributes
Two places, both of which produce suggestions rather than changes.
1. Declines no rule has seen before
Payment processors invent new decline messages constantly, and a table that only knows the ones it was built with slowly goes stale. When a failure matches no rule, the decline is sent to a model, which answers in a fixed structure: what kind of failure this looks like and roughly when a retry could authorise.
That answer is written back into your table as a suggested rule, marked as coming from the model — and by default it is created disabled. It does not take part in matching until a person enables it.
If the model is unavailable, the decline is simply treated as unknown and handled conservatively. There is no fallback that invents a classification.
2. The monthly review
On your policy's cadence — or whenever you press Run a review now — a model reads the period's retry results, your live policy and rule table, and how your past experiments turned out. It writes a short summary, a few observations, and experiments worth running.
Each suggested experiment is validated before it is stored. It cannot change a rule's category or whether a rule is enabled, and it cannot touch a hard-decline rule at all. Anything that fails validation is not offered.
What survives is filed as a proposed experiment, waiting for a person to approve or reject it. The review only runs when there is enough closed history to read, so it does not produce confident-sounding suggestions from a thin month.
How an experiment runs
An experiment is a change set against your live configuration, not a separate configuration. New failed charges are split: the control arm is planned with your live settings, the variant arm with the changes applied. Everything else is identical, so the readout compares one thing.
- Proposed — by the monthly review, or by a person. A proposal carries a hypothesis and a rationale, not just a diff.
- Approved — a person starts it. Until then nothing is split and nothing changes.
- Running — new failures are allocated between the arms. A person can stop it at any point, with a reason.
- Completed — when both arms reach the required sample, or the window runs out.
- Adopted or discarded — a person decides. Adopting writes the change set into your live policy and rules. Discarding leaves them untouched.
Every one of those transitions records who made it. Completing is the only state an experiment reaches on its own.
Only one experiment runs per store at a time. Overlapping tests contaminate each other, and the second one is rarely worth the ambiguity it introduces into the first.
What an experiment may change
Timing, delays, discount eligibility, discount schedules and attempt caps, plus the policy's own numbers and window.
What it may never change
- A rule's category. A hard decline stays a hard decline. No test can reclassify what a failure is.
- Whether a rule is on. Tests tune rules; they do not switch them off.
- The order of the table. Precedence is a structural decision, not a variable.
Why it is built this way
A system that proposed, tested and adopted on its own would be easier to build and harder to trust. Three problems come with it:
- A metric can improve while the outcome gets worse. More aggressive retrying lifts recovery rate and can cost you in processor fees and subscriber goodwill at the same time. Which number matters is a question about your business, not about the data.
- Significance is not sufficiency. A result can be real and still not worth adopting — too small to matter, too narrow to generalise, or at odds with how you want to treat people whose payment just failed.
- Automatic adoption compounds errors. A system that adopts its own wins drifts in whatever direction its metric points, and nobody notices until the direction is obviously wrong.
So the division is deliberate. The model is good at reading a decline it has not seen, noticing patterns across a period, and proposing something specific to try. It is not asked to decide what is worth doing to your subscribers.
What this means for you
- Nothing changes without approval. Not a new rule, not a retry setting, not a discount schedule.
- An unreviewed suggestion is always the cautious option. Full price, or waiting for a card update. It cannot be the expensive one.
- You can see what changed and who changed it. Every adoption and rejection is recorded against a person.
- You do not have to run any of this. We review, propose and read the tests as part of the service. Where you would rather be the approver, say so and you will be.
Related
- How payment recovery works — what the rules and timing actually do.
- Reading your recovery numbers — the definitions a readout is built on.