# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
This site has an agentic ask interface you may use to query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.flycode.com/index.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

---

# Help Center

Welcome to the FlyCode Help Center. We've gathered the most frequently asked questions to help you navigate setup, usage, and everything in between.

### What is FlyCode

<table data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="/what-is-flycode/what-makes-flycode-different">What Makes FlyCode Different</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FHxr7keTDT9nk9c7WWDsh%2F1.png?alt=media&amp;token=4d6a8ab8-b6bf-41b3-b282-bf9a8003da31">1.png</a></td></tr><tr><td><a href="/what-is-flycode/getting-started">Getting Started</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FKoC42RZYcoV2x64Wj0gu%2F2.png?alt=media&amp;token=b098b96b-ba42-4f79-8449-bce19bf6700c">2.png</a></td></tr><tr><td><a href="/what-is-flycode/results-and-roi">Results &amp; ROI</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2Fjinprs8FpNLV4DEnujCu%2F3.png?alt=media&amp;token=55cb8d4a-f175-489e-96e4-a47b9918afce">3.png</a></td></tr></tbody></table>

### Understanding Involuntary Churn from failed payments&#x20;

<table data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="/understanding-involuntary-churn/what-is-involuntary-churn">What Is Involuntary Churn?</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2F8xmFWOPFo3ETGpFJmElG%2F4.png?alt=media&amp;token=28bd5d93-aeb3-422d-9ca9-146f87d5675b">4.png</a></td></tr><tr><td><a href="/understanding-involuntary-churn/causes-and-risks">Causes &amp; Risks</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FcskCflF9cAHaK9yYughO%2F5.png?alt=media&amp;token=174e1136-8618-4c75-a2a4-211f60809c5c">5.png</a></td></tr><tr><td><a href="/understanding-involuntary-churn/flycodes-approach-to-churn">FlyCode's Approach to Churn</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2F0SmVcqhCi1gbHvXiAHm2%2F6.png?alt=media&amp;token=9e5cf666-88c3-463a-a8ff-15e9ce9a3d20">6.png</a></td></tr><tr><td><a href="/understanding-involuntary-churn/integration-considerations">Integration Considerations</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FaVtZz669YkMg8BFtjWba%2F7.png?alt=media&amp;token=8a7cb7f2-c46a-4001-971f-28bc7c423871">7.png</a></td></tr></tbody></table>

### Handling Failed Payments

<table data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="/handling-failed-payments/when-and-how-payments-are-retried">When and How Payments Are Retried</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FsBtPzuQ9HURETfb8mB3E%2F8.png?alt=media&amp;token=99635f13-f702-46db-8817-cc86c24115ff">8.png</a></td></tr><tr><td><a href="/handling-failed-payments/reducing-churn-from-failed-payments">Reducing Churn from Failed Payments</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FhHRE8LDg4wpg1PHfBArB%2F9.png?alt=media&amp;token=5b0043cd-34de-47d4-b7a6-626be06e5f8d">9.png</a></td></tr><tr><td><a href="/handling-failed-payments/coordinating-messaging-with-recovery">Coordinating Messaging with Recovery</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FTjFn27lY5piWqhz37Pyl%2F10.png?alt=media&amp;token=2f9e59f9-ebde-4a03-9fb5-d55fc31265cb">10.png</a></td></tr></tbody></table>

### Decline Codes Explained

<table data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="/decline-codes-explained/what-decline-codes-tell-you">What Decline Codes Tell You</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2Fr0p9DL0JMa0BEjXzFTHH%2F11.png?alt=media&amp;token=46a74f55-4cc5-4b34-8bba-961c32162a67">11.png</a></td></tr><tr><td><a href="/decline-codes-explained/where-to-find-decline-codes-and-how-to-use-them">Where to Find Decline Codes (and How to Use Them)</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FJoKkCELUW4NvsFwk3uAp%2F12.png?alt=media&amp;token=19ebe466-31bb-4efa-af97-5bc43371b5df">12.png</a></td></tr><tr><td><a href="/decline-codes-explained/how-to-handle-the-most-common-declines">How to Handle the Most Common Declines</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FT0PwEEJcfUBtWqLfJzR0%2F13.png?alt=media&amp;token=4b84faff-c37e-4afb-afb9-9a00a4f4d7a0">13.png</a></td></tr><tr><td><a href="/decline-codes-explained/what-to-do-when-you-see-these-other-codes">What to Do When You See These Other Codes</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2F1CW4P3NqN6KSbZm9F1P1%2F14.png?alt=media&amp;token=e97d7384-ca71-4856-8bf0-9345a8ea38b7">14.png</a></td></tr><tr><td><a href="/decline-codes-explained/how-flycode-makes-decline-codes-work-for-you">How FlyCode Makes Decline Codes Work for You</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2F1PKjelbiHVM69PZI0GCH%2F15.png?alt=media&amp;token=f7b45ff8-8984-4341-8b41-2e3cd60d8eae">15.png</a></td></tr></tbody></table>

### FlyCode & Stripe

<table data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="/flycode-and-stripe/connecting-flycode-to-stripe">Connecting FlyCode to Stripe</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FpyB4xBOplQyl79W4wUkC%2F16.png?alt=media&amp;token=3ad94493-94d7-4389-939a-b26cf93514d5">16.png</a></td></tr><tr><td><a href="/flycode-and-stripe/what-flycode-adds-to-stripe">What FlyCode Adds to Stripe</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FSiNhfo0hsXLe4opTkfqr%2F17.png?alt=media&amp;token=06bdcf4b-76ff-43ba-8697-002c38d22e56">17.png</a></td></tr><tr><td><a href="/flycode-and-stripe/going-further-with-flycode">Going Further with FlyCode</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FhruVBqfnKUWxiqa5kQPz%2F18.png?alt=media&amp;token=c473a445-b749-4552-a070-1d5eae3e4bd2">18.png</a></td></tr></tbody></table>

### FlyCode vs. ProfitWell (Paddle Retain)

<table data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="/flycode-vs.-profitwell-paddle-retain/recovery-performance">Recovery Performance</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FTu1gT3wZKruH3xPxNmuT%2F19.png?alt=media&amp;token=237a98f5-779e-45b4-a9ae-48e0755dbc1b">19.png</a></td></tr><tr><td><a href="/flycode-vs.-profitwell-paddle-retain/whats-different-behind-the-scenes">What's Different Behind the Scenes</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2Fxh0qGZzlRXGBH8Zzy0Ev%2F20.png?alt=media&amp;token=db4e4b0a-5f9d-4867-9b3c-913869aedb2f">20.png</a></td></tr><tr><td><a href="/flycode-vs.-profitwell-paddle-retain/platform-fit-and-compatibility">Platform Fit &amp; Compatibility</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2F2SEu2zq2i9cP9PYEZlIe%2F21.png?alt=media&amp;token=59872169-ed0e-4785-a63f-c3c8261d3f56">21.png</a></td></tr><tr><td><a href="/flycode-vs.-profitwell-paddle-retain/what-you-keep-and-gain-if-you-switch">What You Keep (and Gain) If You Switch</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FZXetwnha6nBqbwY0Wtly%2F22.png?alt=media&amp;token=ab703646-0418-499a-99e0-db1f47bc85bd">22.png</a></td></tr></tbody></table>

### FlyCode & Shopify

<table data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="/flycode-and-shopify/compatibility-and-app-support">Compatibility &amp; App Support</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FwJmLv1i4F0Z235XrE57j%2F23.png?alt=media&amp;token=97ab517f-994b-443e-8576-6baa61f14413">23.png</a></td></tr><tr><td><a href="/flycode-and-shopify/setup-and-requirements">Setup &amp; Requirements</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FFpDbgFxUFo5uVOutXL93%2F24.png?alt=media&amp;token=ba893d3d-101b-48d1-b82a-3bd43855755c">24.png</a></td></tr></tbody></table>

### AI Payment Recovery

<table data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="/ai-payment-recovery/hard-declines-and-backup-logic">Hard Declines &amp; Backup Logic</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FMiDmMK6CM0Rs5c5Fqsz0%2F25.png?alt=media&amp;token=be9ada75-22ff-4d65-b2a2-f6636f5df5c0">25.png</a></td></tr><tr><td><a href="/ai-payment-recovery/email-behavior-and-deliverability">Email Behavior &amp; Deliverability</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FWPEGKycQpDaBGTdMUscG%2F26.png?alt=media&amp;token=f417e327-a0b6-4a81-8f84-5602c5f9efc7">26.png</a></td></tr></tbody></table>

### Failed Payment Outreach

<table data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="/failed-payment-outreach/messaging-customization">Messaging Customization</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2Fwqg5QCSrtEvX53BLFdQ1%2F27.png?alt=media&amp;token=0f37ece1-e7fc-4757-b18b-5716214dd065">27.png</a></td></tr><tr><td><a href="/failed-payment-outreach/delivery-strategy">Delivery Strategy</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FIf9YwEYttdYZoLAxOBQH%2F28.png?alt=media&amp;token=4540502f-3d29-468a-87fd-72d1c1ea8ced">28.png</a></td></tr><tr><td><a href="/failed-payment-outreach/system-integration">System Integration</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FYRi2Y4yBGWvhQOYktHos%2F29.png?alt=media&amp;token=73a0d52d-0f83-4238-8d63-a5d31cc58041">29.png</a></td></tr></tbody></table>

### Backup Payment Methods

<table data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="/backup-payment-methods/product-overview">Product Overview</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FzbN1G6BNOGM76HFltWK2%2F30.png?alt=media&amp;token=7d9dd1de-53a5-4030-90af-2ae2d77a6a72">30.png</a></td></tr><tr><td><a href="/backup-payment-methods/functionality">Functionality</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FqKQPOCveMqALmvYShfNR%2F31.png?alt=media&amp;token=85680c39-827a-4ce7-8acc-687f4c1791da">31.png</a></td></tr><tr><td><a href="/backup-payment-methods/reporting">Reporting</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2F6K31ohKPRakAPSMTPt9d%2F32.png?alt=media&amp;token=fda367e7-d52a-47e3-a649-47d5101a30ed">32.png</a></td></tr></tbody></table>

### Payment Orchestration Agent

<table data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="/payment-orchestration-agent/feature-overview">Feature Overview</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FxLTErj6h0XIU4RFWHBmw%2F33.png?alt=media&amp;token=575a399e-51d8-49b9-a986-551a1d29b284">33.png</a></td></tr><tr><td><a href="/payment-orchestration-agent/platform-fit-and-performance">Platform Fit &amp; Performance</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FumyiLfXM3g2ZN36ln7XT%2F34.png?alt=media&amp;token=f92029a5-469c-4f86-accb-3076bbcadf46">34.png</a></td></tr><tr><td><a href="/payment-orchestration-agent/monitoring-and-reporting">Monitoring &amp; Reporting</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FtYeI0UWZ1mFHkXmTUBUV%2F35.png?alt=media&amp;token=37613a7f-764c-467a-8b98-f9fc1b211089">35.png</a></td></tr></tbody></table>

### Subscription Compliance

<table data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="/subscription-compliance/regulatory-rules">Regulatory Rules</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FZYEJr2DL9QpptiBQBYYP%2F36.png?alt=media&amp;token=77c14c16-c2f7-47eb-8988-3a73a4d75262">36.png</a></td></tr><tr><td><a href="/subscription-compliance/legal-and-tracking-requirements">Legal &amp; Tracking Requirements</a></td><td><a href="https://3146285885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKocGBJrGfZ4lYsnp2e8R%2Fuploads%2FGitaqcJ2uu65UoXEBfEn%2F37.png?alt=media&amp;token=aae2cf25-0fa9-48c7-881e-21d71f203bad">37.png</a></td></tr></tbody></table>


# What is FlyCode

FlyCode is the revenue performance platform for payments: an AI-native failed payment recovery layer for Stripe, Shopify, Braintree and PayPal subscription businesses. What it does, how it differs, ho

FlyCode is the revenue performance platform for payments. It sits on top of the billing stack a subscription business already runs (Stripe, Shopify subscription apps such as Recharge, Skio and Stay AI, Braintree, PayPal) and recovers failed payments that would otherwise become involuntary churn. Per-merchant machine learning models, trained with Visa and Mastercard network data, decide when to retry each failed charge, when to fall back to a backup payment method, and when to contact the customer. FlyCode is a Stripe design partner, a Mastercard network partner, a Visa Everything Award winner, and is backed by Y Combinator.

{% hint style="info" %}
**Quick answer:** FlyCode recovers 16 to 25 percentage points more failed payments than native processor retries, which typically adds 5 to 9 percent to ARR. It installs from the Stripe or Shopify app stores in hours, needs no engineering, and charges only on revenue recovered above your existing baseline.
{% endhint %}

## In this section

* [What Makes FlyCode Different](https://help.flycode.com/what-is-flycode/what-makes-flycode-different): AI-native per-merchant models versus legacy tools and fixed retry schedules, and why the Visa, Mastercard and Stripe partnerships matter.
* [Getting Started](https://help.flycode.com/what-is-flycode/getting-started): pricing model, time to launch, and whether FlyCode disturbs existing billing workflows.
* [Results & ROI](https://help.flycode.com/what-is-flycode/results-and-roi): the recovery lift and ARR increase to expect, with documented customer results.

## Go deeper

* [What is FlyCode?](https://docs.flycode.com/docs/introduction/what-is-flycode) in the FlyCode docs
* [Supported payment and subscription platforms](https://docs.flycode.com/docs/integrations/supported-payment-and-subscription-platforms)
* [Payment recovery platforms compared 2026](https://docs.flycode.com/docs/read-more/payment-recovery-platforms-compared-2026)
* [flycode.com](https://www.flycode.com/) for products, case studies and pricing


# What Makes FlyCode Different

How FlyCode differs from legacy dunning tools and fixed retry schedules: AI-native per-merchant models, retries separated from emails, alternative payment routing, and network data from Visa, Masterca

Most payment recovery tools were built around a fixed retry calendar and a sequence of reminder emails. FlyCode was built around a model that learns from every transaction and issuer response. This page explains what that changes in practice and why FlyCode's card network and processor partnerships matter.

## How is FlyCode different from traditional payment-recovery tools?

FlyCode is AI-native from day one. Legacy dunning tools and processors' built-in recovery apply static, rule-based schedules (retry on day 3, 5 and 7, email after each attempt) that are the same for every merchant and every failure. FlyCode trains a model per merchant on that merchant's own transactions and issuer responses, and it keeps learning: retry timing, payment routing and messaging are refined continuously as new outcomes come in. The result is fewer attempts per recovered invoice, faster recovery, fewer customer emails and a recovery rate 16 to 25 percentage points above the native baseline.

Three other design choices set it apart. Recovery is silent first: no customer contact while a retry still has a good chance. Recovery is multi-path: if the primary card fails hard, FlyCode charges a backup method on file or routes through another processor rather than stopping at an email. And pricing is outcome-based, so FlyCode is paid only on incremental recovered revenue.

## What makes FlyCode different from standard retry logic?

Standard retry logic is a schedule. FlyCode is a decision made per invoice. Instead of a fixed cadence, it dynamically adjusts retry timing, routing and messaging based on the failure reason (the decline code), payment metadata (issuer, card type and brand, country, amount, billing history) and customer behaviour (past payment dates and time-of-day patterns). An `insufficient_funds` decline on a debit card is retried around the customer's likely deposit date; a `do_not_honor` at 3 a.m. local time is retried in business hours; a hard decline is not retried at all and goes straight to a backup method.

FlyCode also separates retries from emails. Standard tooling emails the customer at every failed attempt, which tells otherwise unaware customers there is a problem and pushes some of them to cancel. FlyCode holds messaging until silent recovery has been exhausted, then sends a specific, well-timed message. Its recovery models are strengthened by a partnership with Visa, which gives the engine network-level insight into how issuers respond.

## Why do the Visa, Mastercard and Stripe partnerships matter?

Because recovery quality depends on data the merchant cannot see alone. Direct partnerships with Visa and Mastercard give FlyCode network insights and payment metadata about how issuers behave, which decline patterns resolve on retry and within what limits, and how card credential updates propagate. That data trains the models and keeps every retry inside the networks' retry rules, so recovery improves without risking excessive-retry fees or issuer penalties. FlyCode is a Visa Everything Award winner and a Mastercard network partner.

The Stripe partnership matters for a different reason: FlyCode is a Stripe design partner and its app is verified on the Stripe App Marketplace, which means the integration is reviewed by Stripe, installs with standard Stripe permissions, and executes every retry and update through Stripe's own API, keeping Stripe as the system of record.

## Related

* [FlyCode & Stripe](https://help.flycode.com/flycode-and-stripe)
* [FlyCode vs. ProfitWell (Paddle Retain)](https://help.flycode.com/flycode-vs.-profitwell-paddle-retain)
* [How FlyCode Makes Decline Codes Work for You](https://help.flycode.com/decline-codes-explained/how-flycode-makes-decline-codes-work-for-you)


# Getting Started

Getting started with FlyCode: outcome-based pricing with no seats or minimums, launch in hours via the Stripe or Shopify apps or API keys, and how FlyCode runs alongside your billing workflows without

Three questions come up before every FlyCode evaluation: what it costs, how long it takes to launch, and whether it will disturb billing that already works. The short answers are pay-on-results, hours, and no.

## What pricing model does FlyCode use?

FlyCode charges only on the dollars it actually recovers above your existing baseline. There are no seats, no platform fee and no minimums. The baseline is what your processor or previous tool was already recovering, so FlyCode is paid only for incremental revenue; if it recovers nothing beyond your baseline, you pay nothing. This aligns incentives: FlyCode's revenue grows only when yours does, and the ROI is positive by construction. Documented customer results range from roughly 6X to 13X. Current rates are on [flycode.com/pricing](https://www.flycode.com/pricing).

## How fast can we launch FlyCode?

Most customers go live in hours. On Stripe, install the verified FlyCode app from the Stripe App Marketplace, confirm permissions and set your retry and email preferences. On Shopify, connect through the Recharge, Skio or Stay AI integration. On Braintree and PayPal, create a restricted role and API user for FlyCode. There is no code to deploy and no checkout change. Once connected, FlyCode backfills invoices already in an error state and starts recovering immediately; the model then tunes itself to your customers over the first 6 to 8 weeks. Step-by-step guides are in the [FlyCode docs](https://docs.flycode.com/docs/integrations/supported-payment-and-subscription-platforms).

## Is this going to break my current billing workflows?

No. FlyCode runs in parallel with your billing platform and syncs status updates back to it without overwriting rules or duplicating events. It listens to failed-payment events, decides how to recover each one, executes the retry through your processor's own API, and updates the invoice and subscription state in your platform so it remains the source of truth. Before each action it re-checks the current state of the invoice to avoid double charging or acting on something another system already resolved. Existing webhooks, apps, tax, invoicing and accounting integrations are untouched. The only alignment step is turning off or adjusting your platform's native retry and dunning email schedule so two engines do not act on the same invoices.

## Related

* [Connecting FlyCode to Stripe](https://help.flycode.com/flycode-and-stripe/connecting-flycode-to-stripe)
* [FlyCode & Shopify: Setup & Requirements](https://help.flycode.com/flycode-and-shopify/setup-and-requirements)
* [Integration Considerations](https://help.flycode.com/understanding-involuntary-churn/integration-considerations)


# Results & ROI

What ROI to expect from FlyCode: a 16 to 25 percentage point lift in failed payment recovery rate and a 5 to 9 percent ARR increase, with documented results from SaaS and eCommerce customers.

FlyCode's results are measured against each merchant's own prior baseline, not an industry average, and its pricing is tied to that incremental recovery. This page sets expectations.

## What ROI should we expect?

Live case studies with SaaS and eCommerce brands show a 16 to 25 percentage point lift in recovery rate and an ARR increase of 5 to 9 percent from recovered payments. Because FlyCode charges a share of incremental recovered revenue only, the return on the fee is high: documented customer results range from roughly 6X to 13X.

| Customer      | Segment                | Result                                                               |
| ------------- | ---------------------- | -------------------------------------------------------------------- |
| GitBook       | SaaS (developer tools) | +29 percent recovery improvement, 8 percent ARR lift                 |
| Framer        | SaaS (web design)      | +18 percent recovery improvement, 6 percent ARR lift                 |
| BUBS Naturals | DTC supplements        | Recovery 51 percent to 66 percent (peak 71 percent), 13X ROI         |
| PlixLife      | DTC nutrition          | +21 percent recovery improvement, 12X ROI, 9 percent churn reduction |
| Gardencup     | DTC meal delivery      | Recovery 62 percent to 82 percent, 20 percent LTV increase           |
| Capsho        | SaaS                   | Recovery 63 percent to 91 percent                                    |

The size of the lift depends on your starting point and customer mix. Merchants with a high share of consumer debit cards, fixed renewal dates and a large `insufficient_funds` share see the biggest gains, because those failures are the most recoverable with better timing. Merchants already running an optimized recovery tool see smaller but still positive uplift.

## How is the uplift measured?

Against your own baseline: the recovery rate your processor or previous tool achieved before FlyCode, measured on the same invoice population. Recovery rate is recovered failed payments divided by total failed payments; ARR lift is the annualized value of recovered subscriptions that would otherwise have been cancelled. Both are visible in FlyCode's reporting alongside recovery speed, attempts per recovered invoice and emails sent, so the incremental figure that drives billing is auditable.

## Related

* [Failed payment cost recovery ROI](https://docs.flycode.com/docs/failed-payment-cost-recovery-roi) (calculate your own number)
* [Revenue recovery calculator](https://www.flycode.com/revenue-recovery-calculator)
* [Customer case studies on flycode.com](https://www.flycode.com/)


# Understanding Involuntary Churn

What involuntary churn is, how it differs from voluntary churn, why failed payments cause it, what it costs subscription businesses beyond lost revenue, and how FlyCode prevents it without changing yo

Involuntary churn is the loss of customers who never chose to leave: their subscription lapsed because a payment failed. It is the largest fixable source of churn in most subscription businesses, and unlike voluntary churn it does not require product or pricing changes to reduce. This collection defines it, explains what causes it and what it costs, and shows how FlyCode addresses it.

{% hint style="info" %}
**Quick answer:** studies put involuntary churn at 20 to 40 percent of total churn in SaaS and other subscription models, and the average subscription business loses around 9 percent of MRR a year to failed payments. Most of it is recoverable, because the customer still wants the product and most declines are temporary.
{% endhint %}

## In this section

* [What Is Involuntary Churn?](https://help.flycode.com/understanding-involuntary-churn/what-is-involuntary-churn): the definition, how it differs from voluntary and passive churn, and why it matters.
* [Causes & Risks](https://help.flycode.com/understanding-involuntary-churn/causes-and-risks): why payments fail, what hard declines mean, and what is at risk beyond the invoice.
* [FlyCode's Approach to Churn](https://help.flycode.com/understanding-involuntary-churn/flycodes-approach-to-churn): how FlyCode attacks involuntary churn, whether automation prevents it, and best practices to keep.
* [Integration Considerations](https://help.flycode.com/understanding-involuntary-churn/integration-considerations): why you do not need to rebuild your billing stack.

## Go deeper

* [Involuntary churn: the hidden revenue killer](https://docs.flycode.com/docs/involuntary-churn-hidden-revenue-killer) (benchmarks by segment, KPI framework, 5-step plan)
* [Failed payment cost recovery ROI](https://docs.flycode.com/docs/failed-payment-cost-recovery-roi)
* [Failed payment recovery glossary](https://docs.flycode.com/docs/read-more/failed-payment-recovery-glossary)
* [Free churn analysis for your subscription business](https://www.flycode.com/churn-audit-failed-payments)


# What Is Involuntary Churn?

Involuntary churn defined: customers lost to failed payments rather than a decision to cancel. How it differs from voluntary and passive churn, and why it accounts for 20 to 40 percent of subscription

Involuntary churn (also called passive, delinquent or payment churn) is what happens when a customer who wants to keep paying is cancelled because the charge failed. This page defines the term, separates it from the other kinds of churn, and puts a number on why it matters.

## What exactly is involuntary churn?

Involuntary churn is when active customers lose access to your service because a recurring payment fails and is never recovered. The customer did not cancel and usually did not know there was a problem; the transaction simply could not go through, most often because of insufficient funds, a generic bank decline, a card that has been replaced or closed, or a processing error. If the failure is not resolved before the billing system's grace period ends, the subscription is cancelled for non-payment and the revenue is lost for the rest of that customer's expected lifetime.

The defining feature is intent: the customer still wants the product. That makes involuntary churn an operational problem in the payment flow rather than a product or pricing problem, and it is why it can be reduced quickly.

## How is involuntary churn different from passive or voluntary churn?

Voluntary churn is a decision: the customer cancels because of price, a competitor, poor fit or a change in need. Passive churn is disengagement: the customer stops using the product and eventually cancels or lets it lapse. Involuntary churn is triggered by an external payment event outside the customer's control, with no decision and often no awareness.

|                    | Voluntary churn                                | Involuntary churn                                                                                    |
| ------------------ | ---------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Cause              | Customer actively cancels                      | Payment fails, customer did not intend to leave                                                      |
| Customer sentiment | Dissatisfied or found an alternative           | Still wants the product                                                                              |
| Common triggers    | Price, fit, competition, low usage             | Insufficient funds, generic declines, replaced or closed cards, bank restrictions, processing errors |
| Fix                | Product, pricing, onboarding, success programs | Retry timing, backup payment methods, card credential updates, coordinated outreach                  |
| Time to impact     | Quarters                                       | Weeks                                                                                                |
| Owner              | Product, marketing, customer success           | Finance, payments, engineering                                                                       |

Each requires its own retention playbook, and the two should be measured separately. A single blended churn number hides the fact that a large share of it can be recovered by payment optimization alone.

## Why should subscription businesses care?

Because the number is large and the fix is cheap relative to acquisition. Studies consistently put involuntary churn at 20 to 40 percent of total churn in SaaS and other subscription models, and higher (40 to 55 percent) for consumer and eCommerce subscriptions where debit cards dominate. The average subscription business loses around 9 percent of MRR a year to failed payments. For a company with millions in ARR, a one-point swing in recovery rate equals hundreds of thousands in retained revenue, and every recovered customer keeps paying for months, so the effect compounds.

It is also the highest-ROI churn to fix: recovering a customer from a failed payment costs a small fraction of acquiring a replacement, and the recovered customer has already proven willingness to pay.

## Related

* [Causes & Risks](https://help.flycode.com/understanding-involuntary-churn/causes-and-risks)
* [Involuntary churn: the hidden revenue killer](https://docs.flycode.com/docs/involuntary-churn-hidden-revenue-killer)
* [Decline Codes Explained](https://help.flycode.com/decline-codes-explained)


# Causes & Risks

Why subscription payments fail (insufficient funds, generic bank declines, incorrect details, gateway errors), what hard declines mean for automatic retries, and what failed-payment churn costs beyond

Most failed subscription payments are not the customer's fault and are not permanent. Understanding the causes tells you which failures can be recovered silently and which need the customer, and understanding the risks shows why the lost invoice is the smallest part of the cost.

## What are the main reasons a payment fails?

The main causes, in rough order of frequency, are insufficient funds, generic bank or card declines, incorrect or outdated billing details, and gateway or processor technical errors.

**Insufficient funds** is the largest single category, 50 to 70 percent of declines in FlyCode's 500-plus merchant study, driven by renewals that land before payday, pending holds and card spending limits. **Generic and issuer declines** (`do_not_honor`, `generic_decline`) are the next largest: the bank refuses without a stated reason, usually because of internal risk rules, velocity limits or restrictions on recurring or cross-border charges. **Incorrect or outdated details** cover wrong numbers, failed CVC or postcode checks and cards that have been replaced, closed, lost or stolen. **Technical errors** (`processing_error`, `issuer_not_available`, `try_again_later`) are transient failures in the bank, network or gateway and almost always succeed on a prompt retry.

The first two categories and the technical errors are soft declines and make up roughly 60 to 70 percent of all failures. Only the outdated-details category is hard. See [Decline Codes Explained](https://help.flycode.com/decline-codes-explained) for code-level detail.

## What are hard decline codes in failed payments?

A hard decline is a permanent refusal for that card: the issuer has said the card cannot be charged again, so retrying will not work. Typical codes are `lost_card`, `stolen_card`, `pickup_card`, `invalid_account`, `invalid_number` and anything returned with `do_not_try_again` advice. When the issuer returns a hard decline, FlyCode does not automatically retry the same card. Instead it moves to the next recovery path: charging a backup payment method already on file, refreshing card credentials through Card Account Updater or Network Tokens where the issuer has reissued the card, and if neither applies, contacting the customer immediately with a specific request for a new payment method. Because hard declines are identified on arrival, no retry attempts or grace-period days are wasted on them.

## Beyond revenue, what else is at risk?

Three things. First, customer experience: failed-payment churn cuts off otherwise happy customers, and a badly timed or generic dunning email can turn a customer who did not know about the problem into one who decides to cancel, converting involuntary churn into voluntary churn. Second, brand perception: a locked account or a stream of payment reminders reads as the business's failure, not the bank's. Third, acquisition cost: every subscriber lost to a failed payment has to be replaced, at a customer acquisition cost that is typically 5 to 10 times higher than the cost of recovering the payment, and the replacement starts from zero lifetime value.

There is also a compliance dimension: retrying declined cards too aggressively breaches Visa and Mastercard retry rules and can trigger excessive-retry fees or issuer penalties, so recovery has to be intelligent as well as persistent.

## Related

* [How to Handle the Most Common Declines](https://help.flycode.com/decline-codes-explained/how-to-handle-the-most-common-declines)
* [Backup Payment Methods](https://help.flycode.com/backup-payment-methods)
* [Failed payment cost recovery ROI](https://docs.flycode.com/docs/failed-payment-cost-recovery-roi)


# FlyCode's Approach to Churn

How FlyCode reduces involuntary churn: AI-optimized retry timing, backup cards, credential updates, coordinated email and SMS, root-cause analytics, and the best practices merchants should keep alongs

FlyCode treats involuntary churn as a payment optimization problem: recover silently first, communicate second, and only involve the customer when automation has been exhausted. This page explains how that works, whether it prevents churn rather than just reacting to it, and what merchants should keep doing themselves.

## How does FlyCode attack involuntary churn?

With five coordinated mechanisms, applied in order of least customer friction. AI-optimized retry timing: a per-merchant model trained on your own transaction data predicts the moment each failed card is most likely to succeed, using the decline code, issuer behaviour, card type, geography and prior payment dates, within card network retry limits. Backup payment methods: when the primary card fails hard, FlyCode charges another card the customer already has on file. Credential updates: Card Account Updater and Network Tokens refresh replaced or reissued cards automatically. Coordinated outreach: personalized email and SMS reminders are held while silent recovery still has a good chance, then sent in the customer's local time with a message matched to the failure reason. Root-cause analytics: decline distribution, recovery KPIs and anomaly alerts so you can see what is failing and why.

All of it plugs directly into Stripe, Shopify subscription apps (Recharge, Skio, Stay AI), Braintree and PayPal, with no integration work on your side.

## Can automation really stop failed-payment churn before it happens?

Yes, a large share of it. Automatic card credential updates prevent failures from replaced cards before the renewal is attempted. Real-time decline handling recovers most soft declines within the grace period, often before the customer notices. Machine-learning risk prediction flags accounts likely to fail on the next cycle, so a backup method or a billing-date adjustment can be arranged in advance. Flexible billing (for example aligning renewal dates with the customer's likely payday) removes the most common trigger for insufficient funds. Across FlyCode's merchant base these measures move recovery rates from an industry baseline of roughly 40 to 55 percent to 70 percent or more, which is what turns a failed payment from a churn event into a delay.

## What best practices should I follow alongside FlyCode?

Four habits make recovery work better. Keep cards up to date: enable Card Account Updater and Network Tokens with your processor and prompt customers to update details at natural touchpoints. Offer multiple payment options: collect a backup card or an alternative method such as PayPal or bank debit at checkout so there is a fallback. Let customers adjust billing timing: allowing a change of renewal date or a short pause removes many insufficient-funds failures at the source. Use predictive analytics: watch the accounts FlyCode flags as high-risk and treat a repeat decline pattern as a customer-success signal, not just a billing one. Finally, keep your past-due grace period at 30 days or more; once a subscription is cancelled, recovery drops close to zero.

## Related

* [Handling Failed Payments](https://help.flycode.com/handling-failed-payments)
* [Failed Payment Outreach](https://help.flycode.com/failed-payment-outreach)
* [What Makes FlyCode Different](https://help.flycode.com/what-is-flycode/what-makes-flycode-different)


# Integration Considerations

You do not need to rebuild or replace your billing stack to use FlyCode. It connects natively to Stripe, Shopify subscription apps, Braintree and PayPal and works alongside your existing workflows.

FlyCode is designed to add recovery on top of the billing tools you already run, not to replace them. This page covers the one question every buyer asks before the technical evaluation.

## Do I need to rebuild my billing stack to use FlyCode?

No. FlyCode integrates natively with Stripe as a verified Stripe app, with Shopify subscriptions through Recharge, Skio and Stay AI, and with Braintree and PayPal through a scoped API user. Your processor, subscription platform, invoicing, tax, accounting and email tools stay exactly as they are. FlyCode listens to failed-payment events, decides how to recover each one, and executes the retry or fallback through your processor's own API, so results appear in the system you already use as the source of truth.

There is no data migration, no checkout change and no code to deploy. Setup is an app install (Stripe, Shopify apps) or creating a restricted role and API user (Braintree and PayPal), plus choosing your retry and messaging preferences. The [Stripe integration guide](https://docs.flycode.com/docs/integrations/stripe-integration-guide-for-flycode), [Recharge guide](https://docs.flycode.com/docs/integrations/step-by-step-integrate-flycode-with-recharge), [Skio guide](https://docs.flycode.com/docs/integrations/how-to-install-flycode-on-skio) and [Braintree and PayPal guide](https://docs.flycode.com/docs/integrations/how-to-connect-flycode-to-your-braintree-paypal-account) cover each path step by step.

## Will FlyCode conflict with dunning I already run?

It should not run in parallel with another retry engine on the same invoices. At go-live you turn off or align the native retry schedule and dunning emails in Stripe, Recharge or Skio so that FlyCode owns retries and (optionally) messaging. Cancellation flows, offers and other retention tooling are unaffected and continue to work. See [Can I use FlyCode if I already have dunning flows set up in Recharge or Skio?](https://help.flycode.com/flycode-and-shopify/compatibility-and-app-support)

## Related

* [Supported payment and subscription platforms](https://docs.flycode.com/docs/integrations/supported-payment-and-subscription-platforms)
* [Connecting FlyCode to Stripe](https://help.flycode.com/flycode-and-stripe/connecting-flycode-to-stripe)
* [FlyCode & Shopify](https://help.flycode.com/flycode-and-shopify)


# Handling Failed Payments

How FlyCode handles failed subscription payments: machine-learning retry timing, backup cards and orchestration beyond simple retries, the three-front approach to involuntary churn, and how recovery e

A failed payment is the start of a recovery process, not the end of a subscription. FlyCode handles each failure with a sequence designed to recover the most revenue with the least customer friction: optimized silent retries first, alternative payment methods second, coordinated outreach last. This collection explains when and how payments are retried, how that reduces churn, and how messaging fits in.

{% hint style="info" %}
**Quick answer:** FlyCode uses machine learning to pick the best moment to retry each failed payment, charges a backup card on file when the primary fails hard, and only emails the customer once silent recovery has been exhausted. Emails come from your own domain and are timed to the retry cycle rather than sent after every attempt.
{% endhint %}

## In this section

* [When and How Payments Are Retried](https://help.flycode.com/handling-failed-payments/when-and-how-payments-are-retried): how FlyCode decides the retry moment, what it does beyond retries, and how it optimizes billing workflows.
* [Reducing Churn from Failed Payments](https://help.flycode.com/handling-failed-payments/reducing-churn-from-failed-payments): the three-front approach to solving involuntary churn and what to measure.
* [Coordinating Messaging with Recovery](https://help.flycode.com/handling-failed-payments/coordinating-messaging-with-recovery): email templates, how FlyCode differs from Stripe's default emails, and whether to show customers the decline code.

## Go deeper

* [Dunning management 2026 guide](https://docs.flycode.com/docs/dunning-management-2026-guide)
* [How to Manage Failed Payments in Stripe](https://docs.flycode.com/docs/integrations/how-to-manage-failed-payments-in-stripe)
* [Card network retry rules for failed payments](https://docs.flycode.com/docs/read-more/card-network-retry-rules-for-failed-payments-visa-and-mastercard)
* [Decline Codes Explained](https://help.flycode.com/decline-codes-explained)


# When and How Payments Are Retried

How FlyCode decides when to retry a failed payment using per-merchant machine learning, what it does beyond retries (backup cards, anomaly detection, dunning orchestration, analytics), and how it opti

Retry timing is the single biggest lever in failed payment recovery. Retrying at the wrong moment burns one of the limited attempts the card networks allow and usually fails again; retrying at the right moment recovers the payment without the customer ever knowing. This page explains how FlyCode chooses that moment and what else it does when a retry is not the answer.

## How does FlyCode decide when to retry a payment?

FlyCode uses machine learning to find the best moment to retry each failed payment. A model trained on your own transaction history scores candidate retry windows for each failed invoice using the decline code, the issuing bank's historical behaviour, card type and brand, the customer's country and time zone, the amount, and the customer's past successful payment dates. An `insufficient_funds` decline is typically retried 2 to 5 days later around the customer's likely deposit cycle and in morning hours; a `do_not_honor` is retried at a different time of day 24 to 48 hours later; transient errors such as `issuer_not_available` are retried within hours. Every schedule stays within Visa and Mastercard limits on attempts per billing cycle.

The model is per merchant, so a B2B SaaS company billing corporate cards and a DTC brand billing consumer debit cards get different schedules, and it keeps learning from each outcome. Compared with fixed schedules this means fewer attempts per recovered invoice, faster recovery and a 16 to 25 percentage point higher recovery rate.

## Does FlyCode do more than simple retries?

Yes. Retries are the first step, not the whole product. When the primary card fails with a hard decline, FlyCode automatically charges an alternate card the customer already has on file. It sends coordinated communication (email and SMS) only when silent recovery has been exhausted. It detects revenue anomalies, such as subscriptions that still show as active while invoices go unpaid or are marked uncollectible. It orchestrates dunning flows so retries, messages and subscription status changes happen in the right order. And it surfaces granular analytics on decline codes, recovery by failure type, recovery speed and outreach performance that your finance and payments team can act on.

## How does FlyCode optimize billing workflows?

FlyCode tracks failures in real time as webhooks arrive from your processor, classifies each one, and adapts the recovery path to the specific issue: retry timing for soft declines, backup method or outreach for hard declines, immediate re-attempt for technical errors. Where more than one processor is available, it routes retries through the provider most likely to succeed for that card and country, then syncs the outcome back to your billing platform. Anomaly detection runs continuously, flagging invoices, proration events and refunds that would otherwise leak revenue. The dashboard gives instant visibility into what is working and what is not, so you can see recovery rate, revenue recovered against baseline and where failures are concentrated without exporting data.

## Related

* [How to Handle the Most Common Declines](https://help.flycode.com/decline-codes-explained/how-to-handle-the-most-common-declines)
* [Backup Payment Methods](https://help.flycode.com/backup-payment-methods)
* [Payment Orchestration Agent](https://help.flycode.com/payment-orchestration-agent)


# Reducing Churn from Failed Payments

How to solve involuntary churn from failed payments: AI-optimized retries, alternate card on file routing, and predictive dunning that reaches customers before the subscription lapses.

Involuntary churn is mostly a payment problem, which means it can be solved in the payment flow. This page describes the three-front approach FlyCode uses and the order in which the fronts are applied.

## How can I solve involuntary churn?

Attack it on three fronts, in this order.

**1. AI-optimized retries.** Most failed subscription payments are soft declines (insufficient funds, generic bank declines, transient processing errors) that will succeed if retried at the right time. A per-merchant model that predicts the best retry moment for each card recovers the majority of these silently, before the customer is aware of any issue. This is where most of the recoverable revenue is.

**2. Alternate card on file routing.** When the primary card fails hard (closed, lost, stolen, invalid), retrying is pointless. If the customer has another payment method on file, charging it automatically recovers the payment with zero friction. Collecting a backup method at checkout, and enabling Card Account Updater and Network Tokens so replaced cards are refreshed automatically, widens this path.

**3. Predictive dunning.** For the failures that neither retries nor backup methods can fix, reach the customer before the subscription lapses, not after. Messages should go out only once automation has been exhausted, be timed to the customer's local hours, name the specific action needed, and link to a one-click card update. Predictive signals (repeat declines, high-risk issuers) let you prompt at-risk accounts before the next renewal fails.

The result is fewer cancellations for non-payment and higher lifetime value, because every recovered subscriber keeps paying for the rest of their expected tenure. Merchants applying all three fronts move from industry-average recovery of 40 to 55 percent to 70 percent or more.

## What should I measure?

Track involuntary churn separately from voluntary churn. The core metrics are payment failure rate (failed charges divided by attempted charges), recovery rate (recovered divided by failed), recovery speed (days from first failure to success), passive-to-active conversion (customers who cancel after receiving a dunning email) and revenue at risk (failed MRR times remaining customer lifetime). The [Involuntary churn guide](https://docs.flycode.com/docs/involuntary-churn-hidden-revenue-killer) has healthy benchmarks for each.

## Related

* [Understanding Involuntary Churn](https://help.flycode.com/understanding-involuntary-churn)
* [Failed Payment Outreach](https://help.flycode.com/failed-payment-outreach)
* [Free churn analysis](https://www.flycode.com/churn-audit-failed-payments)


# Coordinating Messaging with Recovery

How FlyCode coordinates recovery emails with retries: templates and models for failed-payment outreach, how this compares with Stripe's default emails, and whether to show customers the raw decline co

The way you communicate about a failed payment decides whether an involuntary churn event stays recoverable or turns into a real cancellation. FlyCode treats messaging as part of the recovery engine rather than a separate email drip. This page covers what is provided, how it differs from Stripe's defaults, and what to show the customer.

## Do you provide email templates for failed-payment outreach?

Yes. FlyCode includes ready-to-use transactional templates for failed-payment outreach, and its communication models decide when each one is sent so that emails coordinate with the retry schedule rather than firing after every attempt. Templates are short, transactional and specific to the failure type (a request for a new card reads differently from a note that a retry is scheduled), and they can be customized with your brand, tone and sender domain. They are sent from high-reputation sending infrastructure to keep deliverability high, and SMS is available alongside email. See [Failed Payment Outreach](https://help.flycode.com/failed-payment-outreach) for customization and delivery details.

## How does FlyCode handle customer emails compared with Stripe's defaults?

Stripe's default dunning can send an email at every failed attempt, up to eight emails over a retry cycle, each one alerting a customer who may not have known anything was wrong. That is the mechanism by which involuntary churn becomes voluntary: the customer sees repeated payment failures, decides the subscription is a hassle, and cancels.

FlyCode coordinates emails with its retries. No email is sent after a soft decline while silent recovery still has a good chance. When outreach is needed, it goes out on a purpose-built cadence for the failure type, in the customer's local time, from your own domain, with a single clear action. At go-live you turn off Stripe's default failed-payment emails so the two systems do not both message the customer. The [Stripe integration guide](https://docs.flycode.com/docs/integrations/stripe-integration-guide-for-flycode) covers the exact settings.

## Should I expose the raw decline code to customers?

It is your choice, and the usual recommendation is no. Raw codes such as `do_not_honor` or `generic_decline` mean nothing to most customers and can sound alarming. FlyCode's email product lets you show a friendly, action-oriented message ("your bank declined the renewal; update your card or contact your bank") while logging the exact decline code internally for support agents and for automated retry logic. The exception is when the code carries a clear customer action, such as a bank requiring authorization for recurring charges, where naming the reason helps the customer resolve it.

## Related

* [Failed Payment Outreach: Delivery Strategy](https://help.flycode.com/failed-payment-outreach/delivery-strategy)
* [Email Behavior & Deliverability](https://help.flycode.com/ai-payment-recovery/email-behavior-and-deliverability)
* [Dunning management 2026 guide](https://docs.flycode.com/docs/dunning-management-2026-guide)


# Decline Codes Explained

What payment decline codes are, how to tell soft declines from hard declines, what the most common Stripe codes mean, and how FlyCode uses each code to recover more failed subscription payments.

When a subscription charge fails, the issuing bank returns a decline code that says why. That code decides everything that should happen next: whether to retry silently, when to retry, and whether the customer needs to be contacted at all. This collection covers what decline codes are, where to find them in Stripe and FlyCode, how to handle the codes that make up most failed payments (insufficient funds and generic declines), and how FlyCode's models act on each one.

{% hint style="info" %}
**Quick answer:** roughly two thirds of subscription payment failures are soft declines that can be recovered with correctly timed retries and no customer action. The single largest category is `insufficient_funds`, which accounts for 50 to 70 percent of all declines in FlyCode's study of more than 500 merchants. Hard declines (lost, stolen or closed cards) need a new payment method and should not be retried.
{% endhint %}

## In this section

* [What Decline Codes Tell You](https://help.flycode.com/decline-codes-explained/what-decline-codes-tell-you): what decline codes are, why they matter, soft versus hard declines, and fraud patterns.
* [Where to Find Decline Codes (and How to Use Them)](https://help.flycode.com/decline-codes-explained/where-to-find-decline-codes-and-how-to-use-them): where codes appear in Stripe and FlyCode, differences across processors, and Stripe test cards.
* [How to Handle the Most Common Declines](https://help.flycode.com/decline-codes-explained/how-to-handle-the-most-common-declines): `insufficient_funds`, why it dominates, when to retry, and FlyCode's measured uplift.
* [What to Do When You See These Other Codes](https://help.flycode.com/decline-codes-explained/what-to-do-when-you-see-these-other-codes): `generic_decline`, `do_not_honor`, `transaction_not_allowed`, `invalid_account`.
* [How FlyCode Makes Decline Codes Work for You](https://help.flycode.com/decline-codes-explained/how-flycode-makes-decline-codes-work-for-you): how FlyCode ingests and acts on codes without touching your webhooks.

## Full code-by-code reference

For every Stripe decline code and the equivalent ISO 8583 network response codes (05 Do Not Honor, 51 Insufficient Funds, 91 Issuer Inoperative and so on), with meaning, soft or hard classification and recommended next step, see the [Stripe decline codes reference on flycode.com](https://www.flycode.com/stripe/decline-codes). For a strategy-level guide with retry timing by code, see [Subscription payment decline codes guide for Stripe](https://docs.flycode.com/docs/subscription-payment-decline-codes-guide-for-stripe) in the FlyCode docs, and for the network limits on retrying each code, [Card network retry rules for failed payments](https://docs.flycode.com/docs/read-more/card-network-retry-rules-for-failed-payments-visa-and-mastercard).


# What Decline Codes Tell You

Decline codes are the issuing bank's reason for refusing a charge. Learn what they are, why they matter for subscription revenue, the difference between soft and hard declines, and how decline pattern

A decline code is the reason the issuing bank gives for refusing a card charge. Stripe and other processors surface it on every failed payment, and it is the most important input for deciding whether a failed subscription payment can be recovered automatically or needs the customer's help. This page answers the four questions merchants ask most about what decline codes mean.

## What are decline codes in the context of failed payments?

Decline codes are short strings returned by the card-issuing bank and surfaced by Stripe and other payment processors to explain why a transaction was refused, for example `insufficient_funds` or `do_not_honor`. The bank makes the approve or decline decision, sends a two-character network response code (such as `51` or `05`) back through the card network, and the processor translates it into its own readable code. In Stripe the value appears as `decline_code` inside the last payment error on a PaymentIntent, Charge or Invoice.

The code guides the merchant's next move: retry the same card later, request a new card, or tell the customer to contact their bank. Without it, every failed payment looks the same and gets the same treatment, which is why most legacy dunning underperforms.

## Why do decline codes matter for my subscription business?

Because they let you automate the right next step for each failure instead of guessing. Knowing whether a decline is soft or hard tells you whether to run optimized retries (soft declines) or prompt the customer for new payment details (hard declines). Getting this right saves revenue twice over: soft declines get recovered silently before the customer ever hears about a problem, and hard declines get an immediate, specific request instead of days of wasted retries.

For a subscription business, failed payments typically represent 8 to 15 percent of charges, and involuntary churn from those failures is often the largest single churn source. Decline codes are the lever that turns that loss into a recoverable, measurable number. See [Understanding Involuntary Churn](https://help.flycode.com/understanding-involuntary-churn) for the business impact.

## What's the difference between a soft and a hard decline?

A soft decline is temporary and can succeed on a later attempt; a hard decline is permanent for that card and requires new payment details.

|                                | Soft decline                                                                                                           | Hard decline                                                                                                      |
| ------------------------------ | ---------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| Nature                         | Temporary condition at the issuer or account                                                                           | Card is invalid, closed, lost or stolen                                                                           |
| Typical codes                  | `insufficient_funds`, `generic_decline`, `do_not_honor`, `try_again_later`, `issuer_not_available`, `processing_error` | `lost_card`, `stolen_card`, `pickup_card`, `invalid_account`, `invalid_number`, `invalid_cvc`, `do_not_try_again` |
| Share of subscription failures | Roughly 60 to 70 percent                                                                                               | Roughly 30 to 40 percent                                                                                          |
| Right response                 | Retry with optimized timing, no customer contact needed at first                                                       | Stop retrying, request a new payment method, or fall back to a backup card on file                                |
| Recovery potential             | High with correct timing                                                                                               | Depends on outreach and backup methods                                                                            |

The rule that follows from this table: exhaust intelligent retries on soft declines before contacting the customer, and contact the customer immediately on hard declines.

## Are decline-code patterns useful for fraud detection?

Yes. Clusters of hard declines such as `stolen_card` or `pickup_card` on a single account or in a short window are a signal to add verification, and rapid repeats of soft declines across many small charges often indicate card-testing bots probing stolen numbers. Codes like `fraudulent` and `security_violation` come directly from the issuer's or Stripe Radar's risk scoring.

FlyCode surfaces these anomalies in its dashboard so payments and finance teams can distinguish a customer who is temporarily short of funds from an account that should be blocked, and it never retries a charge the issuer has flagged as fraud.

## Related

* [Where to Find Decline Codes (and How to Use Them)](https://help.flycode.com/decline-codes-explained/where-to-find-decline-codes-and-how-to-use-them)
* [How to Handle the Most Common Declines](https://help.flycode.com/decline-codes-explained/how-to-handle-the-most-common-declines)
* [Stripe decline codes reference on flycode.com](https://www.flycode.com/stripe/decline-codes)


# Where to Find Decline Codes (and How to Use Them)

Where decline codes appear in the Stripe Dashboard, API and webhooks and in FlyCode, whether codes are the same across processors, and which Stripe test cards trigger specific declines.

Decline codes are only useful if you can see them, trust them across processors, and test how your recovery flow reacts to each one. This page covers where the code lives in Stripe and FlyCode, how codes differ between processors, and how to simulate declines safely in test mode.

## Where can I see decline codes in Stripe and FlyCode?

In Stripe, every failed PaymentIntent, Charge and Invoice carries the code inside the last payment error: `last_payment_error.decline_code` on a PaymentIntent, `outcome.reason` and `failure_code` on a Charge, and the linked payment error on an Invoice. In the Stripe Dashboard, open the payment and look at the "Decline reason" in the timeline. The same code is delivered in real time through webhooks such as `invoice.payment_failed`, `payment_intent.payment_failed` and `charge.failed`, which is how tools like FlyCode act on it the moment it happens.

In FlyCode, each failed invoice in recovery shows the original decline code, the soft or hard classification, the retry schedule the model chose and the outcome of each attempt. Decline code distribution is also broken out in reporting, so you can see, for example, what share of your failures are `insufficient_funds` versus `do_not_honor` and how recovery differs between them.

## Are decline codes the same across all payment processors?

No. The underlying issuer response codes are standardized by the card networks (ISO 8583, for example `05` Do Not Honor and `51` Insufficient Funds), but each processor translates them into its own vocabulary and may add gateway-specific aliases. Stripe returns `insufficient_funds`; Adyen returns `Refused: 51 Insufficient Funds`; Braintree returns a numeric processor response such as `2001`. Some processors also collapse several issuer reasons into a single generic code.

Stripe maps aliases back to a canonical list, and FlyCode normalizes codes from every supported processor (Stripe, Braintree, PayPal, Shopify subscription apps and others) into one classification so the same retry logic applies regardless of where the charge was processed. The [flycode.com decline codes reference](https://www.flycode.com/stripe/decline-codes) lists Stripe codes alongside their network equivalents.

## Can I simulate decline codes in Stripe Test Mode?

Yes. Stripe provides test card numbers that trigger a specific decline every time, so you can verify how your billing flow, dunning emails and FlyCode configuration respond before going live.

| Test card number    | Decline code triggered | Type |
| ------------------- | ---------------------- | ---- |
| 4000 0000 0000 9995 | `insufficient_funds`   | Soft |
| 4000 0000 0000 0002 | `generic_decline`      | Soft |
| 4000 0000 0000 9987 | `lost_card`            | Hard |
| 4000 0000 0000 9979 | `stolen_card`          | Hard |
| 4000 0000 0000 0127 | `incorrect_cvc`        | Hard |
| 4000 0000 0000 0119 | `processing_error`     | Soft |

Use any future expiry date and any three-digit CVC. Stripe also offers cards that succeed on the first charge and fail on later renewals, which is the most realistic way to test subscription recovery end to end. The full list is in Stripe's testing documentation.

## Related

* [What Decline Codes Tell You](https://help.flycode.com/decline-codes-explained/what-decline-codes-tell-you)
* [How does FlyCode connect to my Stripe account?](https://help.flycode.com/flycode-and-stripe/connecting-flycode-to-stripe)
* [Stripe integration guide for FlyCode](https://docs.flycode.com/docs/integrations/stripe-integration-guide-for-flycode)


# How to Handle the Most Common Declines

insufficient\_funds is the largest decline category in subscription billing, 50 to 70 percent of all failures. What it means, why it dominates, when to retry, and how much more FlyCode recovers on it,

One code dominates subscription payment failures: `insufficient_funds`. Together with `generic_decline` and `do_not_honor` it makes up the bulk of recoverable revenue, so how you handle it decides most of your recovery rate. This page explains what the code means, why it is so common, how much better optimized retries perform, and where the numbers come from.

## What does the insufficient\_funds decline code mean?

The cardholder's issuing bank confirmed that the account did not have enough available balance or credit at the moment the charge was attempted. Stripe classifies it as a soft decline: the card is valid, the account is open and nothing has been flagged, so the same card can succeed later once funds are available. The network equivalent is response code `51`.

Common triggers are a renewal that lands before payday, a pending hold from a recent large purchase, a daily spending cap on the card, or a brief balance dip between paychecks. None of these require the customer to do anything; they require the charge to be attempted at a better moment.

## Why is insufficient\_funds the most common decline code?

Because cash-flow gaps recur every billing cycle. FlyCode's study of more than 500 SaaS and eCommerce merchants shows `insufficient_funds` accounts for 50 to 70 percent of all declines, far ahead of any other code. Subscription renewals fire on a fixed date regardless of when the customer gets paid, so a share of customers is short of funds on that date every month. The effect is strongest for consumer subscriptions, debit cards and lower-income segments, and it spikes at month end and after holiday spending.

This is also why it is the most recoverable category: the customer wants the product and the card works, so a retry timed to the customer's likely deposit cycle usually succeeds without any outreach.

## When should insufficient\_funds be retried?

Not on the same day. Retrying immediately almost always fails again and burns one of the limited retry attempts the card networks allow per billing cycle. The general guidance is to wait 2 to 5 days so a paycheck or deposit can land, and to prefer morning hours in the customer's time zone. Fixed rules like "retry on day 3 and day 7" are a floor, not an optimum, because payday patterns differ by country, employer, card type and issuer.

FlyCode replaces the fixed schedule with a per-merchant model that predicts the moment each specific card is most likely to have funds, using signals such as issuer behaviour, card type, geography, prior successful charge dates and time of day, while staying inside Visa and Mastercard retry limits.

## How much better does FlyCode recover insufficient\_funds declines?

Across more than USD 1 billion in processed volume between March 2024 and June 2025, FlyCode lifted recovery on `insufficient_funds` declines by 17.6 to 26.2 percentage points over the Stripe Smart Retries and ProfitWell (Paddle Retain) baselines. In practice, merchants that recovered roughly half of these declines with native tooling recover around 70 percent or more once optimized timing is applied, with fewer attempts per invoice and fewer customer emails.

## What dataset backs those recovery numbers?

The figures come from FlyCode's June 2025 banking and issuer data cohort study, covering 14 months of live production data (March 2024 to June 2025) from more than 500 SaaS and eCommerce merchants processing over USD 1 billion in subscription volume. Recovery was measured per merchant against that merchant's own prior baseline on Stripe or ProfitWell, not against an industry average, so the uplift reflects incremental recovery rather than total recovery. Results are reported as ranges because uplift varies with the merchant's customer mix, price point and share of debit cards.

## Related

* [insufficient\_funds on the flycode.com decline codes reference](https://www.flycode.com/stripe/decline-codes/insufficient-funds)
* [What to Do When You See These Other Codes](https://help.flycode.com/decline-codes-explained/what-to-do-when-you-see-these-other-codes)
* [How does FlyCode decide when to retry a payment?](https://help.flycode.com/handling-failed-payments/when-and-how-payments-are-retried)


# What to Do When You See These Other Codes

What generic\_decline, do\_not\_honor, transaction\_not\_allowed and invalid\_account mean in Stripe, whether each should be retried, and what to tell the customer.

After `insufficient_funds`, a handful of codes account for most of the remaining subscription failures. Some are recoverable with retries, some need the customer to call their bank, and some mean the card is finished. This page gives the meaning and the right response for each.

## What is a generic\_decline?

`generic_decline` is Stripe's catch-all when the issuing bank refuses the charge without giving a specific reason, or when Stripe Radar blocks the payment on risk grounds. Behind it can sit a dozen different bank decisions: a temporary hold, a velocity limit, a risk score threshold, a restriction on international or recurring transactions, or an account under review.

Treat it as a soft decline. Retry with varied timing (a different day and time of day rather than the same slot), and if it keeps failing after optimized retries, ask the customer to contact their bank or provide another card. Because the code hides the real cause, this is where machine learning adds the most: FlyCode's models use the card type, issuer, geography, time and history of the account to infer the likely underlying reason and choose the retry pattern that matches it. If Radar blocked the charge, review the rule in the Stripe Dashboard before retrying.

## What does do\_not\_honor mean and should I retry?

`do_not_honor` (network response code `05`) is a blanket refusal from the issuing bank. It is the second most common code in subscription billing and sometimes fraud-related, but more often it reflects an issuer's internal rules: an unusual transaction time, a new card that has not settled, a cross-border charge or a soft balance issue the bank chooses not to disclose.

Yes, retry, but intelligently. A first retry 24 to 48 hours later at a different time of day recovers a meaningful share; repeated failures on the same day each month usually point to funds and respond to a post-payday retry; failures at unusual local hours often clear when retried in business hours. If it still fails after the model has exhausted good windows, request a different card. Do not retry the same second, and never exceed the card network retry limits.

## What does the transaction\_not\_allowed code indicate?

The issuer blocked the charge for policy reasons rather than for funds or fraud. Typical causes are a merchant category the card is not permitted to use, a card that does not allow recurring or online payments, corporate card spending controls, or a cross-border rule. Retrying the same card unchanged rarely helps.

Ask the customer to contact their bank and authorize the merchant or transaction type, then retry once they confirm. If the customer has a backup payment method on file, FlyCode can fall back to it instead of waiting.

## Why would Stripe return invalid\_account?

The card, or the bank account linked to it, has been closed or the number was entered incorrectly. It is a hard decline: no retry will succeed because the account no longer exists in a chargeable state.

Stop automatic retries, notify the customer with a clear request for a new payment method, and use a card update link or backup card on file. FlyCode classifies `invalid_account` as hard on arrival, so no retry attempts are wasted on it and outreach goes out immediately.

## Quick reference

| Code                                                          | Soft or hard | Retry?                                           | Customer action                    |
| ------------------------------------------------------------- | ------------ | ------------------------------------------------ | ---------------------------------- |
| `generic_decline`                                             | Soft         | Yes, varied timing                               | Only if retries fail               |
| `do_not_honor`                                                | Soft         | Yes, 24 to 48 hours later, different time of day | Only if retries fail               |
| `transaction_not_allowed`                                     | Soft, policy | After the customer contacts their bank           | Ask bank to permit the transaction |
| `invalid_account`                                             | Hard         | No                                               | New payment method                 |
| `lost_card`, `stolen_card`, `pickup_card`                     | Hard         | No                                               | New payment method                 |
| `try_again_later`, `issuer_not_available`, `processing_error` | Soft         | Yes, within hours                                | None                               |

Every other Stripe code, with its network equivalent, is covered in the [flycode.com decline codes reference](https://www.flycode.com/stripe/decline-codes).

## Related

* [How to Handle the Most Common Declines](https://help.flycode.com/decline-codes-explained/how-to-handle-the-most-common-declines)
* [Should I expose the raw decline code to customers?](https://help.flycode.com/handling-failed-payments/coordinating-messaging-with-recovery)
* [Does FlyCode support backup payment methods?](https://help.flycode.com/backup-payment-methods)


# How FlyCode Makes Decline Codes Work for You

How FlyCode ingests decline codes from Stripe and the card networks, classifies soft versus hard declines, applies issuer-specific retry timing and coordinates outreach, without touching your existing

Decline codes are only valuable if something acts on them in real time. FlyCode turns each code into a decision: retry or not, when, on which payment method, and whether to contact the customer. This page explains how that works and how it fits alongside what you already run on Stripe.

## How does FlyCode use decline codes to improve recovery?

FlyCode receives every failed charge as it happens through Stripe webhooks, enriched with issuer and card network data from its Visa and Mastercard partnerships. Each decline is classified automatically as soft or hard, and soft declines are routed to a per-merchant model that chooses the retry moment most likely to succeed for that specific card, based on the decline code, issuer behaviour, card type and brand, geography, past successful charge dates and time of day. Hard declines skip retries entirely and go straight to a backup payment method on file, if there is one, or to customer outreach.

Retries and communication are coordinated rather than independent: no dunning email goes out while silent recovery still has a good chance, and when an email is needed it is timed to local hours and matched to the failure reason, so an `insufficient_funds` customer is not told to "update your card". The model also respects the card networks' limits on retry attempts per billing cycle, which protects your issuer relationships and avoids excessive-retry fees.

The result, across FlyCode's 500-plus merchant cohort, is 17.6 to 26.2 percentage points more recovery on `insufficient_funds` than Stripe Smart Retries or ProfitWell baselines, with fewer attempts and fewer customer emails, and no engineering work on the merchant's side beyond installing the Stripe app.

## Does FlyCode interfere with my existing Stripe webhooks or apps?

No. FlyCode listens to Stripe events passively through its own app installation and then calls the Stripe API to retry a payment, update invoice metadata or adjust subscription status. It never modifies, replaces or overwrites your other webhook endpoints, Radar rules, Billing settings or third-party apps. Your existing integrations keep receiving the same events they always did, and every action FlyCode takes appears in the Stripe Dashboard and event log under the FlyCode app, so it is fully auditable.

The only settings to align at go-live are Stripe's own retry and dunning email schedule, so that Smart Retries and Stripe emails do not run in parallel with FlyCode's. The [Stripe integration guide](https://docs.flycode.com/docs/integrations/stripe-integration-guide-for-flycode) walks through those steps.

## Which decline codes does FlyCode never retry?

Hard declines and fraud signals: `lost_card`, `stolen_card`, `pickup_card`, `invalid_account`, `invalid_number`, `fraudulent`, `security_violation` and any code Stripe returns with `do_not_try_again` advice. For these the model moves to a backup card on file or immediate outreach. FlyCode also applies a built-in safeguard that never attempts a given customer's charge more than a handful of times per hour, regardless of code.

## Related

* [What Decline Codes Tell You](https://help.flycode.com/decline-codes-explained/what-decline-codes-tell-you)
* [How does FlyCode decide when to retry a payment?](https://help.flycode.com/handling-failed-payments/when-and-how-payments-are-retried)
* [Stripe integration guide for FlyCode](https://docs.flycode.com/docs/integrations/stripe-integration-guide-for-flycode)


# FlyCode & Stripe

How FlyCode works with Stripe Billing: installing the Stripe app, what FlyCode adds on top of Smart Retries, expected ARR uplift, analytics, multi-processor routing and outcome-based pricing.

FlyCode is a verified Stripe app that sits on top of Stripe Billing and recovers failed subscription payments that Stripe's native Smart Retries leave behind. It installs from the Stripe App Marketplace without engineering work, retries invoices directly inside Stripe so every action stays visible in your dashboard, and charges only on revenue recovered above your existing baseline. This collection covers how the connection works, what FlyCode adds to Stripe, and what you get beyond recovery.

{% hint style="info" %}
**Quick answer:** Stripe merchants using FlyCode typically recover around 20 percent more failed payments than with Smart Retries alone, which translates to a 5 to 9 percent lift in ARR. Setup is a one-click app install plus choosing your retry and email preferences.
{% endhint %}

## In this section

* [Connecting FlyCode to Stripe](https://help.flycode.com/flycode-and-stripe/connecting-flycode-to-stripe): how the app connects, why no engineering time is needed, and coexistence with your webhooks and apps.
* [What FlyCode Adds to Stripe](https://help.flycode.com/flycode-and-stripe/what-flycode-adds-to-stripe): why add FlyCode to Smart Retries, the revenue lift, subscription anomalies, and how involuntary churn is cut.
* [Going Further with FlyCode](https://help.flycode.com/flycode-and-stripe/going-further-with-flycode): analytics, adding other processors, and pricing for Stripe users.

## Related resources

* [Stripe integration guide for FlyCode](https://docs.flycode.com/docs/integrations/stripe-integration-guide-for-flycode) (step-by-step setup and go-live checklist)
* [Stripe Smart Retries complete guide](https://docs.flycode.com/docs/stripe-smart-retries-complete-guide)
* [How to Manage Failed Payments in Stripe](https://docs.flycode.com/docs/integrations/how-to-manage-failed-payments-in-stripe)
* [FlyCode on the Stripe App Marketplace](https://marketplace.stripe.com/apps/flycode-payments)


# Connecting FlyCode to Stripe

How the FlyCode Stripe app connects to your account, why no engineering time is needed, and how it coexists with your existing Stripe webhooks, Radar rules and other apps.

FlyCode connects to Stripe as a verified app from the Stripe App Marketplace. There is no API key to paste, no webhook endpoint to build and no code to deploy. This page covers how the connection works, what the setup involves and how FlyCode coexists with everything else you run on Stripe.

## How does FlyCode connect to my Stripe account?

The verified FlyCode app installs from the Stripe App Marketplace using Stripe's standard app permission flow. Once installed it subscribes to Stripe Billing events (failed invoices, payment intents, charges, subscription updates) and passes them to FlyCode's decisioning engine. When the engine decides to retry, it calls the Stripe API to pay the invoice, so the retry, the outcome and any invoice or subscription update appear in your Stripe dashboard and event log exactly like a native Stripe action. Recovered revenue lands in your Stripe balance; FlyCode never touches funds.

On installation FlyCode also backfills every invoice currently in an error state, so recovery starts on your existing past-due book, not only on new failures.

## Do I need engineering time to set FlyCode up with Stripe?

No. Install the app, confirm the permissions, and set two preferences: how FlyCode should retry (or leave the default, model-driven schedule) and whether FlyCode should send recovery emails on your behalf or leave messaging to your existing tool. Most merchants are live in under an hour. The only coordination step is aligning Stripe's own retry and dunning email settings so Smart Retries and Stripe emails do not run in parallel with FlyCode's; the [Stripe integration guide](https://docs.flycode.com/docs/integrations/stripe-integration-guide-for-flycode) walks through those settings with screenshots.

The first 6 to 8 weeks are an optimization period during which the per-merchant model learns your customers' issuer, card and payment-timing patterns; recovery improves through that window.

## Will FlyCode interfere with my existing Stripe webhooks or apps?

No. The app is designed to coexist. It listens to events through its own app installation and never modifies, replaces or overwrites your webhook endpoints, Radar rules, Billing settings or other installed apps. Before each action it re-reads the current state of the invoice and subscription in Stripe to avoid duplicate charges or acting on an invoice that was already paid, voided or cancelled by another system. It also applies a built-in safeguard that never processes a given customer's charge more than a handful of times per hour.

If you later add other processors, FlyCode can route retries across them while syncing results back to Stripe; see [Going Further with FlyCode](https://help.flycode.com/flycode-and-stripe/going-further-with-flycode).

## Related

* [What FlyCode Adds to Stripe](https://help.flycode.com/flycode-and-stripe/what-flycode-adds-to-stripe)
* [How FlyCode Makes Decline Codes Work for You](https://help.flycode.com/decline-codes-explained/how-flycode-makes-decline-codes-work-for-you)
* [Stripe <> FlyCode install steps](https://docs.flycode.com/docs/integrations/stripe)


# What FlyCode Adds to Stripe

Why add FlyCode if you already use Stripe Smart Retries: higher recovery, adaptive per-merchant retries beyond Stripe's 8-attempt cap, coordinated emails, 5 to 9 percent ARR lift, and subscription ano

Stripe Smart Retries are a good baseline: they are free, on by default for Stripe Billing, and trained on Stripe's aggregate data. FlyCode layers a per-merchant recovery engine on top of them. This page answers what changes, how much revenue that is worth, and what else FlyCode catches inside Stripe Billing.

## I already use Stripe Smart Retries. Why add FlyCode?

Because Smart Retries optimize for the average across millions of Stripe merchants, and a model trained on your own transactions consistently recovers more. Merchants moving from Smart Retries to FlyCode recover on average about 20 percent more failed payments. Four things account for the difference.

**Adaptive retry engine.** Stripe applies one fixed strategy and caps attempts at 8 per invoice. FlyCode analyses the failure reason, issuer behaviour, card type, geography and timing for each invoice, adapts the retry schedule dynamically, can use more attempts where card network rules allow, and falls back to alternative payment methods on file. This alone adds roughly 8 percent to ARR on average.

**Coordinated customer communication.** FlyCode times emails to the retry cycle instead of firing them at every failure. No email goes out after a soft decline while silent retries still have a good chance (which avoids turning involuntary churn into voluntary cancellations), hard declines get a purpose-built cadence rather than Stripe's one or two default emails, sends land in the customer's local time, and templates are transactional and sent from high-reputation domains for deliverability.

**Root-cause analytics.** Decline code distribution, recovery rate by failure type, retry performance and anomaly alerts, none of which Stripe's dashboard breaks out.

**Outcome-based pricing.** FlyCode charges a share of revenue recovered above your prior baseline, so if it does not beat Smart Retries you pay nothing.

## How much extra revenue can FlyCode unlock?

Stripe merchants typically see a 5 to 9 percent increase in ARR from recovered payments alone. Documented examples include GitBook (+29 percent recovery improvement, 8 percent ARR lift) and Framer (+18 percent recovery improvement, 6 percent ARR lift). The lift is larger for businesses with a high share of consumer debit cards and for those whose renewals fall on fixed dates, since those have the most recoverable `insufficient_funds` declines. The [Failed payment cost recovery ROI guide](https://docs.flycode.com/docs/failed-payment-cost-recovery-roi) has a framework for estimating your own number.

## Can FlyCode fix subscription-status anomalies Stripe sometimes misses?

Yes. FlyCode's Subscription Anomaly Agent monitors invoices, proration events, refunds and invoices marked uncollectible, and flags cases where Stripe still shows a subscription as active even though it is no longer being paid, or where billing state has drifted from what the customer should be charged. These anomalies leak revenue quietly because nothing in the default Stripe reporting surfaces them. See [Managing the Stripe Billing lifecycle and reporting](https://www.flycode.com/blog/stripe-guide-manage-stripe-billing-lifecycle-and-reporting) for the full breakdown.

## How does FlyCode cut involuntary churn for Stripe businesses?

By addressing the main causes of involuntary churn in order of impact: recovering soft declines (insufficient funds and generic declines) with optimized retry timing before the customer is contacted; charging a backup payment method on file when the primary card fails hard; keeping card credentials current through Card Account Updater and Network Tokens; and reaching customers who do need to act with well-timed, specific messages. Customers who would otherwise have been cancelled for non-payment stay active, and because they never chose to leave, retained revenue continues for the rest of their lifetime.

## Related

* [Stripe Smart Retries complete guide](https://docs.flycode.com/docs/stripe-smart-retries-complete-guide)
* [Understanding Involuntary Churn](https://help.flycode.com/understanding-involuntary-churn)
* [FlyCode vs. ProfitWell (Paddle Retain)](https://help.flycode.com/flycode-vs.-profitwell-paddle-retain)


# Going Further with FlyCode

What Stripe merchants get beyond recovery: root-cause analytics and anomaly alerts, no-code payment orchestration across additional processors, and outcome-based pricing on incremental recovered reven

Once recovery is running, FlyCode gives Stripe merchants three more things: analytics that explain why payments fail, a way to add other processors without leaving Stripe, and a pricing model tied to results. This page covers each.

## What extra analytics do I get?

FlyCode surfaces root-cause insights, recovery KPIs and anomaly alerts that Stripe's dashboard does not break out. Root-cause views show the distribution of decline codes, the split between soft and hard declines, and how failures cluster by issuer, card type, country and billing date. Recovery KPIs include recovery rate by failure type, recovery speed (days from first failure to success), attempts per recovered invoice, and recovered revenue against your pre-FlyCode baseline. Anomaly alerts flag subscription-status drift, unusual decline spikes from a single issuer or country, and card-testing patterns. Together they answer the questions finance and payments teams ask: what is failing, why, and what is being recovered.

## What if we add other payment processors later?

FlyCode can act as a no-code payment orchestration layer inside Stripe. When a retry keeps failing on your primary processor, FlyCode's Payment Orchestration Agent can route the retry through a secondary PSP (for example a local acquirer for cross-border cards) and sync the result back to the Stripe invoice and subscription, so Stripe remains your system of record. You do not need to migrate off Stripe or run a separate orchestration platform; if you already use one such as Spreedly or Primer, FlyCode adds recovery-specific decisioning on top. See [Payment Orchestration Agent](https://help.flycode.com/payment-orchestration-agent).

## How is FlyCode priced for Stripe users?

Pricing is outcome-based: you pay a percentage of the revenue FlyCode recovers above your current baseline, and nothing on revenue Stripe would have recovered anyway. There is no flat platform fee. Because the fee is a fraction of incremental revenue, ROI is positive by construction; documented customer results range from roughly 6X to 13X. Details and current rates are on [flycode.com/pricing](https://www.flycode.com/pricing). See also [What pricing model does FlyCode use?](https://help.flycode.com/what-is-flycode/getting-started).

## Related

* [What FlyCode Adds to Stripe](https://help.flycode.com/flycode-and-stripe/what-flycode-adds-to-stripe)
* [Failed payment cost recovery ROI](https://docs.flycode.com/docs/failed-payment-cost-recovery-roi)
* [Backup Payment Methods](https://help.flycode.com/backup-payment-methods)


# FlyCode vs. ProfitWell (Paddle Retain)

FlyCode vs ProfitWell Retain (Paddle Retain) for failed payment recovery: recovery performance, retry engine and email differences, how each works with Stripe, and what you keep if you switch.

ProfitWell Retain, now part of Paddle, is one of the most widely used dunning tools for Stripe businesses. FlyCode is an AI-native recovery platform that replaces the fixed retry schedule with per-merchant machine learning. This collection compares the two on recovery performance, what happens behind the scenes, platform fit, and what changes if you switch.

{% hint style="info" %}
**Quick answer:** FlyCode recovers 25 to 40 percent more failed payments than ProfitWell Retain on average, driven by adaptive per-merchant retry models instead of a fixed-interval schedule, and by emails coordinated with retries rather than sent after every attempt. You can keep Retain's cancellation flows and use FlyCode for payment recovery.
{% endhint %}

## In this section

* [Recovery Performance](https://help.flycode.com/flycode-vs.-profitwell-paddle-retain/recovery-performance): how much better FlyCode recovers than ProfitWell and the extra ARR lift to expect.
* [What's Different Behind the Scenes](https://help.flycode.com/flycode-vs.-profitwell-paddle-retain/whats-different-behind-the-scenes): the AI retry engine versus fixed intervals, and email handling during the retry cycle.
* [Platform Fit & Compatibility](https://help.flycode.com/flycode-vs.-profitwell-paddle-retain/platform-fit-and-compatibility): how each works with Stripe and how the technology compares.
* [What You Keep (and Gain) If You Switch](https://help.flycode.com/flycode-vs.-profitwell-paddle-retain/what-you-keep-and-gain-if-you-switch): keeping Retain's cancellation flows and what changes.

## Related

* [FlyCode vs Churnkey](https://docs.flycode.com/docs/read-more/flycode-vs-churnkey-for-failed-payment-recovery)
* [FlyCode vs Butter Payments](https://docs.flycode.com/docs/read-more/flycode-vs-butter-payments-for-failed-payment-recovery)
* [Payment recovery platforms compared 2026](https://docs.flycode.com/docs/read-more/payment-recovery-platforms-compared-2026)
* [Dunning management 2026 guide](https://docs.flycode.com/docs/dunning-management-2026-guide) (software comparison section)
* [Top payment recovery platforms 2026: comparison chart](https://www.flycode.com/blog/top-payment-recovery-platforms-2026-comparison-chart-success-rate-stats)


# Recovery Performance

How much better FlyCode recovers failed payments than ProfitWell Retain (25 to 40 percent more on average) and the extra ARR lift to expect beyond your current baseline (around 8 percent).

The comparison that matters is recovery rate on the same invoices. This page gives FlyCode's measured uplift over ProfitWell Retain and what it means for ARR.

## How much better is FlyCode at recovering failed payments than ProfitWell?

On average FlyCode recovers 25 to 40 percent more failed payments than ProfitWell Retain, measured on merchants that moved from Retain to FlyCode and compared on their own invoice population. The gap is largest on `insufficient_funds` declines, where retry timing matters most: FlyCode's models predict when each card is likely to have funds, while a fixed-interval schedule retries on the same days for every customer regardless of payday, issuer or card type. In FlyCode's 500-plus merchant cohort study (March 2024 to June 2025, over USD 1 billion in volume), recovery on `insufficient_funds` was 17.6 to 26.2 percentage points higher than the Stripe and ProfitWell baselines.

## What extra revenue lift can I expect with FlyCode beyond the baseline?

Around 8 percent additional ARR on average, with a typical range of 5 to 9 percent. The lift comes from four mechanisms: analysing the failure reason for every decline rather than treating them alike, adapting retry timing dynamically per card and issuer, using the full retry window the card networks allow where a fixed schedule stops early, and charging alternate payment methods on file when the primary card fails hard. Because FlyCode charges only on revenue recovered above your existing baseline, that lift is net of what Retain was already recovering, and the fee is a fraction of it. The [Failed payment cost recovery ROI guide](https://docs.flycode.com/docs/failed-payment-cost-recovery-roi) shows how to estimate the figure for your MRR.

## Related

* [What's Different Behind the Scenes](https://help.flycode.com/flycode-vs.-profitwell-paddle-retain/whats-different-behind-the-scenes)
* [Results & ROI](https://help.flycode.com/what-is-flycode/results-and-roi)


# What's Different Behind the Scenes

Why FlyCode's per-merchant AI retry engine outperforms ProfitWell Retain's fixed-interval schedule, and how FlyCode coordinates customer emails with the retry cycle instead of emailing after every att

Two design decisions explain most of the performance gap between FlyCode and ProfitWell Retain: how retries are scheduled and how emails are timed.

## Why does FlyCode's AI-driven retry engine matter?

Because the right retry moment differs by customer, card and bank, and a fixed schedule cannot capture that. ProfitWell Retain relies on a fixed-interval retry schedule applied to every failed invoice in the same way. FlyCode trains a custom machine-learning model for each merchant on that merchant's own transactions and issuer responses, and the model keeps learning from every outcome. It weighs the decline code, issuer behaviour, card type and brand, country and time zone, amount and the customer's past payment dates to choose the retry window most likely to succeed, while staying inside Visa and Mastercard limits on attempts per cycle. The practical effects are fewer wasted attempts, faster recovery, less exposure to excessive-retry fees, and a materially higher recovery rate, especially on the `insufficient_funds` declines that make up the largest share of failures.

## How does FlyCode handle customer emails during the retry cycle?

FlyCode coordinates emails with its retry plan instead of running an independent drip. No email is sent immediately after a soft decline, because silent retries usually recover it and an early email risks turning an unaware customer into a voluntary cancellation. Hard declines get their own distinct schedule with a specific request for a new payment method. Every message is sent at the customer's local time, from your own domain, using short transactional templates from high-deliverability sending infrastructure. This goes well beyond Stripe's one or two default messages and differs from dunning-first tools that email at each attempt. See [Coordinating Messaging with Recovery](https://help.flycode.com/handling-failed-payments/coordinating-messaging-with-recovery).

## Related

* [When and How Payments Are Retried](https://help.flycode.com/handling-failed-payments/when-and-how-payments-are-retried)
* [Failed Payment Outreach](https://help.flycode.com/failed-payment-outreach)


# Platform Fit & Compatibility

How FlyCode and ProfitWell Retain each work with Stripe (replacing versus stacking on Smart Retries), and how the two platforms' technology compares.

Both tools connect to Stripe, but they interact with Stripe's native recovery differently, and that affects authorization rates as well as recovery.

## How does FlyCode work with Stripe compared with ProfitWell?

FlyCode replaces Stripe's native retry schedule with its own per-merchant models: at go-live you align Stripe's Smart Retries and dunning emails so FlyCode owns the retry decision, and FlyCode then executes each retry through the Stripe API with a schedule built for that invoice. ProfitWell Retain stacks additional retries on top of Stripe's own attempts. Running two retry engines on the same card can push the total number of attempts past what issuers and card networks tolerate, which degrades authorization rates and can trigger excessive-retry fees. FlyCode's approach keeps a single coordinated schedule inside network limits, and every action remains visible in your Stripe dashboard. See [FlyCode & Stripe](https://help.flycode.com/flycode-and-stripe) for the connection details.

## Who's using better technology, ProfitWell or FlyCode?

They come from different eras. ProfitWell was founded in 2012 and Retain was built around fixed-interval retries and email sequences, the standard approach at the time. FlyCode was purpose-built as an AI-native payment recovery platform: per-merchant machine-learning models trained with Visa and Mastercard network data, retries separated from communication, backup payment method routing and payment orchestration across processors, and outcome-based pricing. FlyCode is a Stripe design partner, a Mastercard network partner and a Visa Everything Award winner. The measurable difference is the 25 to 40 percent higher recovery described under [Recovery Performance](https://help.flycode.com/flycode-vs.-profitwell-paddle-retain/recovery-performance).

## Related

* [Stripe Smart Retries complete guide](https://docs.flycode.com/docs/stripe-smart-retries-complete-guide)
* [What Makes FlyCode Different](https://help.flycode.com/what-is-flycode/what-makes-flycode-different)


# What You Keep (and Gain) If You Switch

Switching from ProfitWell Retain to FlyCode: keep Retain's cancellation flows, add FlyCode for payment recovery with a one-click Stripe app install, and what you gain.

Moving payment recovery to FlyCode does not mean giving up everything else Paddle Retain does. This page covers what stays, what changes and how the switch works.

## Do I lose ProfitWell's cancellation flows if I move to FlyCode?

No. Retain's cancellation flows, offers and voluntary churn tooling are independent of its payment recovery, so you can keep using them and plug FlyCode in for failed payment recovery only. FlyCode installs from the Stripe App Marketplace with one click; you then disable Retain's payment recovery (its retries and dunning emails) so the two engines do not act on the same invoices, and leave its cancel-flow features on. Recovered invoices and subscription status updates flow back into Stripe as before, so downstream reporting is unaffected.

## What do I gain?

Higher recovery (25 to 40 percent more failed payments recovered on average), coordinated messaging that stops emailing customers about soft declines that retries will fix, backup payment method charging for hard declines, root-cause analytics on why payments fail, and pricing tied to incremental recovery rather than a share of everything recovered including what Stripe would have recovered anyway. Most merchants complete the switch in under an hour and see the uplift build over the first 6 to 8 weeks as the model tunes to their customers.

## Related

* [Connecting FlyCode to Stripe](https://help.flycode.com/flycode-and-stripe/connecting-flycode-to-stripe)
* [Getting Started](https://help.flycode.com/what-is-flycode/getting-started)


# FlyCode & Shopify

Using FlyCode with Shopify subscriptions: compatibility with Recharge, Skio, Stay AI and other subscription apps, how to connect your store in minutes without a developer, and the support Shopify merc

FlyCode recovers failed subscription payments for Shopify merchants by working alongside the subscription app already installed on the store (Recharge, Skio, Stay AI and others). It detects failed renewals, retries them with per-merchant machine-learning timing, charges backup payment methods where available, and coordinates customer emails, with no change to the store, theme or checkout. This collection covers compatibility, setup and support.

{% hint style="info" %}
**Quick answer:** connect FlyCode by logging in with your Shopify account and approving the connection; setup takes minutes and needs no developer. FlyCode works with Shopify subscription apps rather than replacing them, and can enhance or take over existing dunning flows without sending overlapping emails.
{% endhint %}

## In this section

* [Compatibility & App Support](https://help.flycode.com/flycode-and-shopify/compatibility-and-app-support): how FlyCode works with Shopify subscriptions, which apps are supported, coexisting with Recharge or Skio dunning, and support.
* [Setup & Requirements](https://help.flycode.com/flycode-and-shopify/setup-and-requirements): nothing to change in Shopify, connecting your store, and no developer needed.

## Step-by-step guides

* [How FlyCode handles Shopify subscription failed payments](https://docs.flycode.com/docs/integrations/how-flycode-handles-shopify-subscription-failed-payments) (Recharge, Skio, Stay AI and Loop specifics)
* [Integrate FlyCode with Recharge](https://docs.flycode.com/docs/integrations/step-by-step-integrate-flycode-with-recharge)
* [Install FlyCode on Skio](https://docs.flycode.com/docs/integrations/how-to-install-flycode-on-skio)
* [Recover failed Shopify subscription payments with FlyCode](https://www.flycode.com/shopify/benefits)


# Compatibility & App Support

How FlyCode works with Shopify subscriptions and which subscription apps it supports (Recharge, Skio, Stay AI and others), using it alongside existing Recharge or Skio dunning flows, and the support S

Shopify subscription merchants usually already have a subscription app and some form of dunning in place. FlyCode is designed to fit into that setup rather than replace it. This page covers how it works with Shopify subscriptions, which apps are supported, how it coexists with existing dunning, and what support you get.

## How does FlyCode work with Shopify subscriptions?

FlyCode connects directly to your Shopify store and works alongside your subscription management app such as Recharge, Skio or Stay AI. When a subscription renewal fails, FlyCode receives the failed charge, classifies the decline, and retries it using a machine-learning model trained on your store's own payment history to pick the best moment. Where the customer has another payment method on file it can fall back to that, and it coordinates the recovery emails so customers are not contacted while a retry still has a good chance. All of this happens without disrupting your existing stack: the subscription app remains the system that manages the subscription, and Shopify remains where the order and payment records live.

## Which Shopify subscription apps does FlyCode support?

FlyCode is compatible with the subscription apps in the Shopify ecosystem, with step-by-step integration guides for Recharge and Skio and native support for Stay AI. Because FlyCode acts on the failed payment and syncs the result back to the subscription app, adding support for another app does not require changes on the merchant side. If you use an app not listed in the guides, contact FlyCode support to confirm the connection path.

## Can I use FlyCode if I already have dunning flows set up in Recharge or Skio?

Yes. FlyCode can enhance your existing dunning flows or replace them. Its coordination engine avoids overlap: it will not send an email after a soft decline that a retry is likely to fix, and it will not message a customer while a retry is already in progress. In practice most merchants turn off the subscription app's own retry schedule and failed-payment emails at go-live so that FlyCode owns retries and (optionally) messaging, while keeping the app's cancellation flows, skip and swap options and everything else unchanged. If you prefer to keep your own email tool for messaging, FlyCode can handle retries only.

## What kind of support do I get as a Shopify merchant?

FlyCode customers have access to expert support via email, Slack and phone. The team brings more than 15 years of experience in payments and eCommerce, including the co-founders' backgrounds at payments companies, and helps with setup, go-live configuration of your subscription app's settings, and ongoing review of recovery performance. Enterprise merchants get a dedicated contact.

## Related

* [Setup & Requirements](https://help.flycode.com/flycode-and-shopify/setup-and-requirements)
* [Backup Payment Methods](https://help.flycode.com/backup-payment-methods)
* [Supported payment and subscription platforms](https://docs.flycode.com/docs/integrations/supported-payment-and-subscription-platforms)


# Setup & Requirements

Connecting FlyCode to a Shopify store: nothing to change in Shopify, a few-minute login-and-approve setup, and no developer required.

Setting up FlyCode on Shopify is a connection, not a project. This page answers the three setup questions merchants ask.

## Do I need to change anything in Shopify to use FlyCode?

No. FlyCode works on top of your existing setup. You keep your subscription app, your checkout, your theme and your billing flows exactly as they are. FlyCode receives failed payment events from the store and the subscription app, decides how to recover each one, and executes the retry through the existing payment connection, then syncs the result back. The one configuration step is in your subscription app rather than in Shopify: at go-live you turn off or align the app's native retry schedule and failed-payment emails so that two systems do not act on the same renewal.

## How do I connect FlyCode to my Shopify store?

Log in with your Shopify account and approve the connection when prompted. FlyCode requests the permissions it needs to read subscription and payment events and to retry failed charges, and nothing else. The setup takes a few minutes and does not require changes to your store or subscription app. If you use Recharge or Skio, follow the matching guide for the one or two settings to adjust inside the app: [Integrate FlyCode with Recharge](https://docs.flycode.com/docs/integrations/step-by-step-integrate-flycode-with-recharge) and [Install FlyCode on Skio](https://docs.flycode.com/docs/integrations/how-to-install-flycode-on-skio). Once connected, FlyCode begins working on renewals already in a failed state as well as new failures.

## Do I need a developer to integrate FlyCode with Shopify?

No. FlyCode does not require custom code, theme edits or developer work. Most merchants complete the setup on their own in one sitting, and FlyCode support is available by email, Slack and phone if you want someone to walk through it with you or to review your subscription app's dunning settings before go-live.

## Related

* [Compatibility & App Support](https://help.flycode.com/flycode-and-shopify/compatibility-and-app-support)
* [Getting Started](https://help.flycode.com/what-is-flycode/getting-started)
* [Free churn analysis for Shopify subscriptions](https://www.flycode.com/churn-audit-failed-payments)


# AI Payment Recovery

How FlyCode's AI payment recovery works: which decline codes are treated as hard declines, what happens to them, backup payment methods, credential updates, and how recovery emails are timed and deliv

FlyCode's recovery engine treats every failed payment differently depending on why it failed. Soft declines get machine-learning retry timing; hard declines skip retries and go to a backup payment method or fast, specific outreach; emails are sent only when they will help and from infrastructure built for deliverability. None of it requires changes to your billing stack. This collection covers the hard-decline and backup logic and the email behaviour.

{% hint style="info" %}
**Quick answer:** FlyCode never retries a card the issuer has permanently declined. It charges another card on file instead, refreshes replaced cards through Card Account Updater and Network Tokens, and only emails customers when a retry cannot fix the problem, at their local time, from your domain, with a 95-plus sender score.
{% endhint %}

## In this section

* [Hard Declines & Backup Logic](https://help.flycode.com/ai-payment-recovery/hard-declines-and-backup-logic): which codes are hard declines, what FlyCode does with them, automatic updates for replaced cards, and backup payment methods.
* [Email Behavior & Deliverability](https://help.flycode.com/ai-payment-recovery/email-behavior-and-deliverability): when emails are sent and how deliverability stays high.

## Related

* [When and How Payments Are Retried](https://help.flycode.com/handling-failed-payments/when-and-how-payments-are-retried)
* [Decline Codes Explained](https://help.flycode.com/decline-codes-explained)
* [Stripe integration guide for FlyCode](https://docs.flycode.com/docs/integrations/stripe-integration-guide-for-flycode)
* [Card network retry rules for failed payments](https://docs.flycode.com/docs/read-more/card-network-retry-rules-for-failed-payments-visa-and-mastercard)
* [Stripe decline codes reference](https://www.flycode.com/stripe/decline-codes)


# Hard Declines & Backup Logic

Which Stripe decline codes FlyCode treats as hard declines, what it does with them (faster, action-specific outreach and backup card charging), automatic updates for replaced cards, and backup payment

Not all failed payments are the same. A soft decline is a timing problem; a hard decline means the card cannot be charged again. FlyCode applies different logic to each, and for hard declines it has two paths that do not depend on the customer responding to an email: charging a backup card and refreshing replaced card credentials automatically.

## Which decline codes does FlyCode treat as hard declines?

The issuer responses that mean the card should not be retried. In Stripe's vocabulary these are `incorrect_number`, `lost_card`, `pickup_card`, `stolen_card`, `revocation_of_authorization`, `revocation_of_all_authorizations`, `authentication_required` (the customer must complete 3D Secure, so a silent retry cannot succeed) and `highest_risk_level` (Stripe Radar's block). Codes such as `invalid_account` and anything returned with `do_not_try_again` advice are handled the same way. Everything else, including `insufficient_funds`, `generic_decline`, `do_not_honor`, `try_again_later` and `processing_error`, is a soft decline and goes to the retry model. See [Decline Codes Explained](https://help.flycode.com/decline-codes-explained) for what each code means.

## What does FlyCode do with hard declines?

For a hard decline the customer has to change the card on file, so FlyCode does not spend attempts or grace-period days retrying it. First it checks for a backup payment method already on file and charges that if one exists. If not, it adjusts the messaging cadence to be faster than for soft declines, uses dynamic templates with the specific action required ("update your card", "complete verification with your bank"), links to a one-click payment update page, and sequences follow-ups based on the customer's past engagement with emails. Once the customer updates the card, FlyCode retries immediately and marks the invoice recovered.

## Can FlyCode update replaced or reissued cards automatically?

Yes. FlyCode supports both Card Account Updater (CAU) and Network Tokens. When an issuing bank replaces or reissues a customer's card, Visa and Mastercard push the new credentials to the card on file, and FlyCode retries with the current details. No action is needed from the customer, and no dunning email has to go out first. A large share of hard declines caused by outdated card credentials are resolved silently this way, so outreach can be reserved for the failures that truly need the customer's attention, such as insufficient funds and generic declines that do not clear after optimized retries.

## Does FlyCode support backup payment methods?

Yes. FlyCode can automatically retry a failed payment using an alternate card already on file for the customer, without any manual workflow and without interrupting the customer's service. It is enabled with a single toggle and requires no additional code or collection flow, because it uses the payment methods your billing platform already stores. If every card on file fails, FlyCode falls back to its standard retry and communication logic. Details, legal requirements and reporting are in [Backup Payment Methods](https://help.flycode.com/backup-payment-methods).

## Related

* [What to Do When You See These Other Codes](https://help.flycode.com/decline-codes-explained/what-to-do-when-you-see-these-other-codes)
* [Failed Payment Outreach: Delivery Strategy](https://help.flycode.com/failed-payment-outreach/delivery-strategy)


# Email Behavior & Deliverability

When FlyCode emails customers about failed payments (not after every attempt, and never immediately after a soft decline) and how it keeps deliverability high with transactional infrastructure, SPF an

Recovery emails only work if they are sent at the right moment and actually reach the inbox. FlyCode is deliberate about both.

## Will FlyCode send emails to customers after every failed payment?

No. FlyCode avoids unnecessary emails, especially after soft declines, because telling a customer about a failure that a retry is about to fix creates friction and pushes some customers to cancel. Emails are sent only when they are likely to help: after silent recovery has been exhausted on a soft decline, or promptly on a hard decline where the customer has to act. Each send is timed to the customer's location and past engagement patterns, so messages arrive during waking hours rather than at 2 a.m. This is the opposite of processor defaults such as Stripe's, which can email at every retry and reach eight emails per invoice.

## How do you keep email deliverability high?

By treating recovery emails as transactional mail, not marketing. FlyCode sends through transactional infrastructure rather than a marketing email platform, enforces SPF and DKIM alignment on your sending domain, optimizes sender domain configuration, and delivers from high-reputation IPs. Templates are plain and short, which avoids promotional filtering. The typical sender score is 95 or higher, and emails carry your brand and domain, so customers see you rather than FlyCode. If you prefer to keep messaging in your own email tool, FlyCode can run retries only and leave sends to your system.

## Related

* [Failed Payment Outreach](https://help.flycode.com/failed-payment-outreach)
* [Coordinating Messaging with Recovery](https://help.flycode.com/handling-failed-payments/coordinating-messaging-with-recovery)


# Failed Payment Outreach

How FlyCode's failed payment outreach works: your brand and domain, dynamic templates by decline reason, local-time delivery, compliant sending, and coordination with retries and your existing email t

FlyCode's outreach product sends the emails and SMS that recover the payments retries cannot. It runs in the background under your brand, times every message to the retry cycle and the customer's local hours, adapts the content to the decline reason, and coexists with your existing email platform. This collection covers customization, delivery strategy and system integration.

{% hint style="info" %}
**Quick answer:** emails are sent from your domain with your branding, use dynamic templates that change by decline reason and retry status, go out in the customer's local time, follow CAN-SPAM and GDPR, and are never sent immediately after a soft decline. Typical deliverability is a 95-plus sender score.
{% endhint %}

## In this section

* [Messaging Customization](https://help.flycode.com/failed-payment-outreach/messaging-customization): your own brand and domain, and how templates adapt by decline reason, segment and retry status.
* [Delivery Strategy](https://help.flycode.com/failed-payment-outreach/delivery-strategy): local-time delivery, hard-decline cadence, compliance, how it differs from Stripe and ProfitWell emails, and deliverability.
* [System Integration](https://help.flycode.com/failed-payment-outreach/system-integration): coexisting with your current email system and subscription platform.

## Related

* [Dunning management 2026 guide](https://docs.flycode.com/docs/dunning-management-2026-guide) (dunning email best practices)
* [Coordinating Messaging with Recovery](https://help.flycode.com/handling-failed-payments/coordinating-messaging-with-recovery)
* [Email Behavior & Deliverability](https://help.flycode.com/ai-payment-recovery/email-behavior-and-deliverability)


# Messaging Customization

Customizing FlyCode recovery emails: send from your own domain with your branding, and adapt tone, call to action and structure by decline reason, customer segment and retry status.

Customers should only ever see you. FlyCode's outreach is white-labelled and its templates are dynamic, so the message fits your brand and the specific failure.

## Can I use my own brand and domain for emails?

Yes. All emails are sent from your domain and carry your branding, sender name and reply-to address. FlyCode runs behind the scenes and customers never see its name. Setup involves adding SPF and DKIM records for the sending subdomain so that mail authenticates as yours, which also protects deliverability. SMS, where enabled, is sent under your brand as well. The payment update link in each message goes to your processor's native payment page (for Stripe, the hosted page with all local payment methods enabled), so the customer completes the update in a familiar, fast interface.

## Can I customize the content or messaging?

Yes. Templates are dynamic: tone, call to action and structure adjust automatically based on the decline reason (a request for a new card for a hard decline, a light notice that a retry is scheduled for a soft decline), the customer segment (for example plan tier or B2B versus consumer) and retry status (first notice, reminder, final notice before cancellation). On top of that you can add your own branding, wording and language, and set the cadence. FlyCode recommends keeping messages short and transactional, since that is what recovers payments and keeps sender reputation high; the [dunning email best practices](https://docs.flycode.com/docs/dunning-management-2026-guide) section of the dunning guide has examples.

## Related

* [Delivery Strategy](https://help.flycode.com/failed-payment-outreach/delivery-strategy)
* [Should I expose the raw decline code to customers?](https://help.flycode.com/handling-failed-payments/coordinating-messaging-with-recovery)


# Delivery Strategy

FlyCode's recovery email delivery strategy: local-time sending, faster action-specific cadences for hard declines, CAN-SPAM and GDPR compliance, how it differs from Stripe and ProfitWell emails, and 9

When and how a recovery message is delivered matters as much as what it says. FlyCode's delivery strategy is built on behaviour, timing and rules rather than a fixed drip.

## What do you mean by "local time delivery"?

FlyCode detects each customer's time zone from the card and billing data and schedules sends for the hours when that customer is most likely to open and act, typically mid-morning local time. A renewal that fails overnight in the customer's region is not announced with a 2 a.m. email that gets buried under the morning's mail. Local-time delivery applies to every message in the sequence and to SMS.

## How does FlyCode handle hard declines?

For hard declines the customer must act, so the strategy changes. FlyCode makes the cadence faster than for soft declines, uses dynamic templates with the specific action required ("update your card", "verify with your bank"), links to a one-click payment update page, and sequences follow-ups based on the customer's past engagement, so a customer who opened but did not act gets a different next message from one who never opened. Where a backup payment method is on file, FlyCode charges it first and only messages if that also fails. See [Hard Declines & Backup Logic](https://help.flycode.com/ai-payment-recovery/hard-declines-and-backup-logic).

## Is this compliant with privacy and email laws?

Yes. FlyCode follows CAN-SPAM, GDPR and the other major privacy and email regulations by default. Recovery emails are transactional messages about an existing paid relationship, which is the category these laws treat most permissively, but FlyCode still applies the safeguards: accurate sender identity, your physical address where required, no misleading subject lines, processing of customer data only for the purpose of recovering the payment, and data handling under your data processing agreement. Sending from your authenticated domain also satisfies the sender authentication requirements that mailbox providers now enforce.

## How is FlyCode's outreach different from Stripe or ProfitWell emails?

FlyCode's communications are driven by models that coordinate emails with retries. It does not email immediately after a soft decline (that reduces voluntary churn), it runs a distinct schedule for hard declines, it sends at the customer's local time, and it uses plain transactional templates from infrastructure with a 95-plus sender score. Stripe Billing's default recovery settings send an email every time a payment is retried, so a customer can receive up to eight emails for one invoice. ProfitWell applies basic per-retry email logic.

|                                    | FlyCode                                                    | Without FlyCode (Stripe defaults)                                     |
| ---------------------------------- | ---------------------------------------------------------- | --------------------------------------------------------------------- |
| Number of emails                   | Model-based, coordinated with retries                      | One on every retry, up to 8                                           |
| Soft declines                      | Retries first, email only if retries fail                  | Email at each attempt                                                 |
| Timing                             | Customer's local time                                      | Whenever the retry runs                                               |
| Format and deliverability          | Plain transactional, 95-plus sender score                  | Varies                                                                |
| Multiple contacts in a B2B account | Can message different users in the customer's organization | Single billing email                                                  |
| Payment page                       | Processor's native page with all local payment options     | Native page (Stripe) or custom page with limited options (ProfitWell) |
| Analytics                          | Full-funnel view by customer and by email                  | Basic                                                                 |

## What does deliverability look like?

Emails are transactional-only and typically achieve a sender score of 95 or higher. FlyCode uses transactional sending infrastructure rather than a marketing platform, enforces SPF and DKIM alignment with your domain, and optimizes the sending subdomain and IP reputation. Open, click and payment-update rates are visible per email in the dashboard so you can see which step in the sequence recovers the most.

## Related

* [Messaging Customization](https://help.flycode.com/failed-payment-outreach/messaging-customization)
* [How does FlyCode handle customer emails compared with Stripe's defaults?](https://help.flycode.com/handling-failed-payments/coordinating-messaging-with-recovery)


# System Integration

FlyCode outreach coexists with your current email platform and subscription tooling: it coordinates sends with retries to avoid collisions and does not duplicate or overwrite existing dunning flows un

There is no need to replace your current email platform to use FlyCode's outreach. It coordinates rather than competes.

## Will this interfere with my current email system or subscription platform?

No. FlyCode coordinates email sends with payment retries to avoid collisions with other tools, and it will not duplicate or overwrite your existing dunning flows unless you ask it to take them over. There are two common configurations. In the first, FlyCode owns recovery messaging: you turn off failed-payment emails in Stripe, Recharge, Skio or your marketing platform so the customer hears about a failed payment from one place, at the right time. In the second, FlyCode runs retries only and your existing tool keeps sending; FlyCode's recovery events (retry scheduled, recovered, hard decline) are available so your tool can suppress messages that would conflict. Your marketing, lifecycle and transactional email for everything other than payment recovery is untouched in both cases, and FlyCode never sends to your list outside the failed-payment context.

## Related

* [Can I use FlyCode if I already have dunning flows set up in Recharge or Skio?](https://help.flycode.com/flycode-and-shopify/compatibility-and-app-support)
* [Will FlyCode interfere with my existing Stripe webhooks or apps?](https://help.flycode.com/flycode-and-stripe/connecting-flycode-to-stripe)


# Backup Payment Methods

FlyCode's backup payment method product: automatically charge another valid card on file when the primary fails, why it is standard practice, the legal terms required, how fallback works, and how reco

When a customer's primary card fails, the fastest recovery with the least friction is to charge another valid payment method the customer already has on file. FlyCode's backup payment method product does this automatically, using the cards your billing platform already stores, with a single toggle and no extra collection flow. This collection covers what the product is, when it applies, what your terms need to say, how it behaves, and how results are reported.

{% hint style="info" %}
**Quick answer:** backup card retries are standard practice at Netflix, Amazon, Microsoft and LinkedIn. FlyCode charges the next valid card on file when the primary fails, without asking the customer or interrupting service, provided your terms of use disclose it. If every card fails, normal retries and outreach take over.
{% endhint %}

## In this section

* [Product Overview](https://help.flycode.com/backup-payment-methods/product-overview): what the product is, its benefits, why it is allowed, and the terms-of-use language you need.
* [Functionality](https://help.flycode.com/backup-payment-methods/functionality): what counts as a backup method, why no manual collection is needed, and what happens if every card fails.
* [Reporting](https://help.flycode.com/backup-payment-methods/reporting): seeing which payments were recovered through a backup card.

## Related

* [Hard Declines & Backup Logic](https://help.flycode.com/ai-payment-recovery/hard-declines-and-backup-logic)
* [Reducing Churn from Failed Payments](https://help.flycode.com/handling-failed-payments/reducing-churn-from-failed-payments)
* [Involuntary churn: the hidden revenue killer](https://docs.flycode.com/docs/involuntary-churn-hidden-revenue-killer)
* [Failed payment recovery glossary](https://docs.flycode.com/docs/read-more/failed-payment-recovery-glossary)


# Product Overview

What FlyCode's backup payment method product is, its benefits (higher and faster recovery, less involuntary churn, no integration), why it is allowed and standard practice, and the terms-of-use langua

Backup payment methods turn a hard decline from a customer-action problem into an automatic recovery. This page explains the product, its benefits, why it is legitimate, and what you need in your terms before switching it on.

## What is the backup payment method product?

FlyCode's backup payment method product automatically charges any other valid payment method linked to the customer's account when the primary payment method fails. If a subscriber has two cards on file and the first is declined (for example because it was closed or reported lost), FlyCode charges the second at the appropriate point in the recovery sequence, the invoice is paid, and the subscription continues without interruption. The customer is not asked to do anything and does not receive a dunning email unless every method fails.

## What are the key benefits of the backup payment method product?

No additional integration or collection flow: FlyCode uses the payment methods your billing platform already stores. Higher recovery rates, because a class of failures that previously depended on the customer responding to an email now resolves automatically. Faster recovery, since the fallback charge happens within the retry sequence rather than after days of outreach. Less involuntary churn and higher lifetime value, because customers never experience a service interruption. And a better customer experience, with fewer payment emails.

## Do backup payment methods make sense? Is it allowed?

Yes on both counts. Backup card retries are standard practice among leading subscription companies: Netflix, Amazon, Microsoft and LinkedIn all charge a backup payment method to minimize churn and maximize lifetime value. Card network rules permit charging a stored credential the customer has authorized for recurring billing, provided the customer has agreed to the arrangement. The requirement is disclosure and consent, which is why the terms-of-use step below matters.

## What kind of legal terms should we have in order to enable the product?

Your customers must be aware that you may charge another payment method they have on file if the primary fails. In practice that means your terms of use or subscription agreement should state it explicitly (for example: "If your primary payment method fails, we may charge any other payment method you have saved to your account"), the same language should appear where customers add a payment method, and you should notify existing customers of the change before enabling the product. FlyCode can provide sample wording, but you should confirm it with your own counsel, since consumer protection and auto-renewal laws vary by jurisdiction. See also [Subscription Compliance](https://help.flycode.com/subscription-compliance).

## Related

* [Functionality](https://help.flycode.com/backup-payment-methods/functionality)
* [Reporting](https://help.flycode.com/backup-payment-methods/reporting)


# Functionality

How backup card retries work in practice: what counts as a backup method, why no manual collection is needed, the fallback order, and what happens when every card on file fails.

This page covers how backup retries behave once enabled: what qualifies as a backup, where the cards come from, and the fallback path.

## What counts as a "backup" payment method?

Any additional valid card already on file for the customer in your billing platform. If the primary card fails and the recovery sequence has determined that further retries on it are unlikely to succeed (immediately for hard declines, after optimized retries for soft declines), FlyCode automatically retries using the next available card on file, without asking the customer or interrupting service. Where the customer has more than one backup, FlyCode orders them by likelihood of success. Non-card methods such as bank debit or wallets can be included where the processor supports charging them off-session.

## Do I need to collect backup cards manually?

No. FlyCode works with the cards your billing platform already has on file, so there is no extra collection flow and no customer input required. Many customers already have more than one card stored from past purchases, plan changes or card replacements. If you want to increase coverage, you can invite customers to add a backup method at checkout or in account settings, and FlyCode's outreach templates can include that prompt, but it is optional.

## What happens if all cards on file fail?

FlyCode reverts to its standard retry and communication logic. The smart retry engine continues to work the primary card within card network limits where the decline type allows, and coordinated outreach asks the customer for a new payment method with a one-click update link. Nothing is lost by trying the backup first; it simply adds a recovery path before the customer has to be involved.

## Related

* [Product Overview](https://help.flycode.com/backup-payment-methods/product-overview)
* [What FlyCode does with hard declines](https://help.flycode.com/ai-payment-recovery/hard-declines-and-backup-logic)


# Reporting

Reporting on backup payment method recovery: see which payments were recovered through a backup card, fallback success rates, recovery paths and ARR saved.

Backup recovery is tracked separately so you can see exactly what it contributes.

## Can I see which payments were recovered through a backup card?

Yes. FlyCode logs the payment method used for every recovered transaction, so reporting shows which invoices were recovered on the primary card, which on a backup, and at what step in the sequence. From that you can view backup success rates, fallback behaviour (how often a backup was attempted and how often it succeeded), the recovery path for any individual invoice, and how much ARR was saved through backup methods specifically. The same data appears in your processor: for Stripe, the successful charge is on the invoice with the payment method that was used, so finance can reconcile it in the usual way.

## Related

* [What extra analytics do I get?](https://help.flycode.com/flycode-and-stripe/going-further-with-flycode)
* [Results & ROI](https://help.flycode.com/what-is-flycode/results-and-roi)


# Payment Orchestration Agent

FlyCode's Payment Orchestration Agent: a decisioning layer that reroutes failed payments through an alternate processor inside Stripe payment orchestration, with no integration, plus pros, cons, platf

Some failed payments are declined by one processor and approved by another. FlyCode's Payment Orchestration Agent detects those cases and reroutes the retry through an alternate payment service provider, automatically and without developer input, while keeping Stripe as the system of record. FlyCode is one of the first global partners for Stripe payment orchestration, so the agent can be enabled directly from Stripe. This collection covers what orchestration is, how FlyCode adds recovery intelligence on top, where it fits, and how to monitor it.

{% hint style="info" %}
**Quick answer:** you keep your current processors. FlyCode decides, per failed payment, whether retrying through a different processor is more likely to succeed (common for cross-border cards and certain issuers), executes the retry, and syncs the result back to Stripe. Routing decisions are instant and invisible to the customer.
{% endhint %}

## In this section

* [Feature Overview](https://help.flycode.com/payment-orchestration-agent/feature-overview): what an orchestration agent is, how Stripe payment orchestration works, why another PSP can approve, and the pros and cons.
* [Platform Fit & Performance](https://help.flycode.com/payment-orchestration-agent/platform-fit-and-performance): keeping your PSPs, using it with Spreedly or Primer, no UX impact, and one-time payments.
* [Monitoring & Reporting](https://help.flycode.com/payment-orchestration-agent/monitoring-and-reporting): monitoring processor performance inside Stripe.

## Related

* [What if we add other payment processors later?](https://help.flycode.com/flycode-and-stripe/going-further-with-flycode)
* [Stripe integration guide for FlyCode](https://docs.flycode.com/docs/integrations/stripe-integration-guide-for-flycode)
* [Payment recovery platforms compared 2026](https://docs.flycode.com/docs/read-more/payment-recovery-platforms-compared-2026)
* [FlyCode Agents on flycode.com](https://www.flycode.com/)


# Feature Overview

What a payment orchestration agent is, how Stripe payment orchestration works, how FlyCode optimizes it automatically, why retrying through another PSP can succeed, and the pros and cons of running mu

Payment orchestration used to require building and maintaining integrations to several processors. Stripe now offers it natively, and FlyCode adds the recovery-specific intelligence that decides when rerouting a failed payment is worth it. This page explains the pieces.

## What is a payment orchestration agent, exactly?

It is a decisioning layer that detects failed payments and reroutes them through an alternate payment service provider (PSP), automatically and without developer input. General-purpose orchestration platforms route all transactions by static rules (country, currency, cost). FlyCode's agent is purpose-built for recovery: it looks at a payment that has already failed, predicts whether a different processor is more likely to get it approved given the decline code, issuer, card and geography, and if so retries it there, then reconciles the outcome back to your billing system.

## What is Stripe payment orchestration?

Stripe payment orchestration lets you connect additional payment processors to your Stripe account and configure processor selection with rules you create in the Stripe Dashboard. You can route payments based on conditions such as card country, currency, amount and card brand, and view analytics for payment success rates and accepted volume across processors, all without building separate integrations. Stripe remains the single integration point and reporting layer.

## How does FlyCode work with Stripe payment orchestration?

FlyCode is one of the first global partners for Stripe payment orchestration. You enable FlyCode's orchestration intelligence directly from Stripe, with no integration work. Instead of relying only on the manual rules you can write in the Dashboard, FlyCode's models decide dynamically, for each failed payment, whether and where to reroute the retry, and they keep learning from the results. Rules cover the cases you can anticipate; the agent covers the ones you cannot.

## Why would retrying a payment through another PSP work better?

Because different PSPs have different acquiring relationships with issuing banks, different fraud rules and different approval logic. A charge declined by one processor can be approved by another, most often in cross-border scenarios (a local acquirer in the cardholder's country sees higher approval rates), with certain issuers that treat particular acquirers more favourably, or when a processor's own risk screening was the cause of the decline rather than the bank.

## What are the pros of using payment orchestration?

The first is strategic redundancy: if one gateway fails because of an outage, a cyberattack or maintenance, another can take over so transactions continue. Beyond redundancy: global market reach, since each gateway supports different currencies, regions and local payment methods; competitive routing, where the most cost-effective gateway is selected per transaction based on real-time fees; higher approval ratios, because gateways differ in their bank relationships and technology; alignment with consumer preferences and trust in particular payment methods; and risk and compliance diversification across regional regimes such as GDPR and CCPA.

## What are the cons of using payment orchestration?

Management overhead, because each gateway has to be configured, monitored and kept working with the others. Cost, since each gateway can carry its own setup, monthly and transaction fees. Integration effort, although with Stripe orchestration the integrations no longer have to be built. And customer experience risk, if differences in payment interface, processing time or available methods between gateways make checkout inconsistent. FlyCode's agent addresses the first and last of these by making the routing decision automatically and only on failed payments, so the customer-facing flow does not change.

## Related

* [Platform Fit & Performance](https://help.flycode.com/payment-orchestration-agent/platform-fit-and-performance)
* [Monitoring & Reporting](https://help.flycode.com/payment-orchestration-agent/monitoring-and-reporting)


# Platform Fit & Performance

Platform fit for FlyCode's orchestration agent: keep your current PSPs, use it alongside Spreedly or Primer, no impact on processing speed or customer experience, and support for subscriptions and hig

Already running several processors, or an orchestration platform such as Spreedly or Primer? FlyCode enhances that setup with recovery-focused intelligence rather than replacing it.

## Do I need to switch to a new PSP to use FlyCode's orchestration?

No. You keep your current PSPs; FlyCode works with whatever infrastructure you have. You can add alternate PSPs as fallbacks through Stripe payment orchestration, or let FlyCode manage the routing logic across processors you already use. Nothing about your primary processing changes.

## We already use a tool like Spreedly or Primer. Do we need this?

If you already use an orchestration platform, FlyCode does not replace it; it enhances it. General orchestration platforms optimize routing for every transaction based on cost, region and availability. FlyCode's models layer on top and optimize specifically for recovery of failed payments, deciding whether and where a declined charge should be retried. Think of it as recovery-specific orchestration intelligence that you do not have to build or tune yourself.

## Will this delay payment processing or impact my UX?

No. The routing decision is made instantly, and recovery attempts happen behind the scenes on payments that have already failed. Customers do not see a different checkout, a slower authorization or an extra step; they will not notice anything unless you send them receipts for the recovered charge.

## Is this just for recurring subscriptions, or one-time payments too?

FlyCode's orchestration agent is designed primarily for subscription businesses, where a recovered renewal preserves the whole remaining customer lifetime. It can also be applied to high-value or repeat one-time transactions where recovery matters, such as large orders or invoices paid by card.

## Related

* [Feature Overview](https://help.flycode.com/payment-orchestration-agent/feature-overview)
* [Integration Considerations](https://help.flycode.com/understanding-involuntary-churn/integration-considerations)


# Monitoring & Reporting

How to monitor payment processor performance inside the Stripe Dashboard after enabling payment orchestration: success rates by processor, currency, card brand and country, and recovery impact.

Orchestration results are visible where your payments team already works: the Stripe Dashboard, alongside FlyCode's own recovery reporting.

## How do I monitor processor performance inside Stripe?

After enabling payment orchestration in Stripe for live payments, use the Dashboard to monitor each processor. The Orchestration overview page shows performance analytics and payment success rates across your processors, and you can filter by currency, card brand, card country, card type or transaction type to see where one processor outperforms another. The Payments analytics page shows your overall payment success rate and where payments fail; use the processor filter to view only the payments routed through a specific processor. FlyCode's reporting adds the recovery view: which failed payments were rerouted, to which processor, how many were approved on the second attempt, and the revenue recovered as a result.

## Related

* [What extra analytics do I get?](https://help.flycode.com/flycode-and-stripe/going-further-with-flycode)
* [Feature Overview](https://help.flycode.com/payment-orchestration-agent/feature-overview)


# Subscription Compliance

Subscription compliance for recurring billing: the FTC Click-to-Cancel rule and its status, ROSCA and state auto-renewal laws, dark patterns, a quick cancellation-flow test, consent records and monito

Regulators in the US, EU and UK have tightened the rules on how subscriptions are sold, renewed and cancelled. Getting it wrong means complaints, chargebacks and enforcement; getting it right also reduces voluntary churn, because a clean cancellation flow is one customers trust to come back to. This collection summarizes the rules and the records you need to keep. It is general information, not legal advice; confirm specifics with counsel.

{% hint style="info" %}
**Quick answer:** cancelling must be as easy as signing up, renewal terms and pricing must be disclosed clearly before consent, and you should store proof of that consent (timestamp, IP and the exact language shown). Dark patterns that delay or discourage cancellation are the main enforcement target.
{% endhint %}

## In this section

* [Regulatory Rules](https://help.flycode.com/subscription-compliance/regulatory-rules): the FTC Click-to-Cancel rule and its status, existing subscriptions, dark patterns, and a fast compliance test.
* [Legal & Tracking Requirements](https://help.flycode.com/subscription-compliance/legal-and-tracking-requirements): storing proof of consent and monitoring friction in the cancel flow.

## Related

* [What kind of legal terms should we have to enable backup payment methods?](https://help.flycode.com/backup-payment-methods/product-overview)
* [Is FlyCode outreach compliant with privacy and email laws?](https://help.flycode.com/failed-payment-outreach/delivery-strategy)
* [Card network retry rules for failed payments](https://docs.flycode.com/docs/read-more/card-network-retry-rules-for-failed-payments-visa-and-mastercard)
* [Failed payment recovery glossary](https://docs.flycode.com/docs/read-more/failed-payment-recovery-glossary)


# Regulatory Rules

What the FTC Click-to-Cancel rule required and its current status, whether it applies to existing subscriptions, what counts as a dark pattern in cancellation flows, and a fast test for whether your c

The headline rule is simple: cancelling has to be as easy as signing up. The legal landscape behind it has moved, so this page covers what the FTC rule said, where it stands, and the state and international rules that apply regardless. This is general information, not legal advice.

## What exactly is the FTC's Click-to-Cancel rule, and when does it apply?

The FTC's Negative Option Rule, known as Click-to-Cancel, was finalized in October 2024. It required that cancelling a subscription be as easy as signing up, through the same channel: one-click (or equivalent) online cancellation, clear upfront disclosure of price and renewal terms, and explicit, separate consent to recurring billing. It applied to all US businesses offering automatic renewals.

Status: in July 2025 the US Court of Appeals for the Eighth Circuit vacated the rule on procedural grounds before its main provisions took effect, so the federal Click-to-Cancel rule is not currently in force. The obligations have not disappeared, however. The FTC continues to enforce the Restore Online Shoppers' Confidence Act (ROSCA), which already requires clear disclosure, express informed consent and simple cancellation mechanisms for online subscriptions, and it has brought cases under it. State automatic renewal laws, led by California's (strengthened effective July 2025), New York's and others, impose click-to-cancel style requirements of their own, and the UK's Digital Markets, Competition and Consumers Act and EU consumer rules do the same for those markets. Treat the vacated rule's standard as the practical baseline and check with counsel for your jurisdictions.

## Does this apply to subscriptions started before the rule goes into effect?

Under the state laws and ROSCA that currently apply, yes: the rules govern how you handle renewals and cancellations going forward, not just new sign-ups. If you are billing a customer on a recurring basis, they are entitled to the disclosure and cancellation standards in force where they live, regardless of when they first subscribed. Some state laws also require a renewal reminder notice for longer-term plans and after free trials.

## What's considered a "dark pattern" under these laws?

Any interface or copy designed to confuse, delay or discourage cancellation. Common examples regulators cite: hidden or hard-to-find cancel buttons; forcing the customer to phone or chat when they signed up online; long forced scrolls or multi-step retention flows before the cancel option appears; unclear or buried renewal terms and pricing; pre-checked consent boxes; and manipulative wording such as double negatives ("Don't cancel my subscription") or guilt-inducing button labels. Offering a retention discount is allowed, provided it is a single, skippable step.

## What's a fast way to check if our cancellation flow is compliant?

Try the hallway test: hand your flow to someone new on your team and ask them to cancel a subscription in two clicks from the account page. If they get lost, are buried in text, are pushed to a support form or phone line, or cannot find the option without help, the flow is not compliant in spirit and probably not in law. Then check the sign-up side: is the price, renewal frequency and cancellation method stated plainly before the customer consents, and is consent to recurring billing a separate, unchecked action?

## Related

* [Legal & Tracking Requirements](https://help.flycode.com/subscription-compliance/legal-and-tracking-requirements)
* [Can FlyCode fix subscription-status anomalies Stripe sometimes misses?](https://help.flycode.com/flycode-and-stripe/what-flycode-adds-to-stripe)


# Legal & Tracking Requirements

What billing consent records to store (timestamp, IP, exact opt-in language) and how to monitor whether customers hit friction in your cancellation flow by comparing attempts with completions.

Two operational habits keep a subscription business on the right side of auto-renewal rules: keeping evidence of consent, and measuring whether cancellation actually works.

## Do I really need to store proof of consent for billing?

Yes. Regulators and card networks increasingly expect you to retain consent artifacts for recurring billing: the timestamp of the opt-in, the customer's IP address or device identifier, the exact language and pricing shown at the moment of consent, and the version of the terms they agreed to. A Boolean "agreed = true" flag in your database is not enough, because it cannot show what the customer actually saw. Store the rendered consent text (or a versioned reference to it) alongside the event, keep it for the life of the subscription plus your dispute window, and make it retrievable per customer. The same records are what win recurring-billing chargebacks, since issuers ask for proof the cardholder agreed to the recurring charge.

## How can I monitor whether customers are hitting friction in the cancel flow?

Track every cancellation attempt as an event, from the first click on "cancel" to completion, and compare attempts with successes. If failed or abandoned attempts exceed completions by more than about 5 percent, customers are getting stuck somewhere in the flow, which is both a compliance signal (friction is what regulators call a dark pattern) and a churn signal (a customer who cannot cancel disputes the charge instead). Instrument each step so you can see where drop-off happens, watch support tickets and chargebacks tagged "could not cancel", and review the flow whenever you change it. Separately, keep involuntary churn (failed payments) out of this metric; those customers did not try to cancel, and mixing them in hides both problems.

## Related

* [Regulatory Rules](https://help.flycode.com/subscription-compliance/regulatory-rules)
* [What Is Involuntary Churn?](https://help.flycode.com/understanding-involuntary-churn/what-is-involuntary-churn)


