# Before you charge people money

Recipe · Shipping and running a product · RX11

Checks payments end to end, closes obvious loopholes, verifies your per-user margin, and makes sure pricing promises match the code.

**Use it when:** You are turning on paid plans for the first time or changing how billing works.

## Steps

Run one step per message.

1. [Follow one dollar](https://www.atlasscope.dev/prompts/follow-one-dollar): trace checkout, webhooks, refunds, retries, and access grants end to end (fresh chat, read-only)
2. [How a clever user games you](https://www.atlasscope.dev/prompts/how-a-clever-user-games-you): find trial, coupon, seat, and usage-limit loopholes (fresh chat, read-only)
3. [What one more customer costs](https://www.atlasscope.dev/prompts/what-one-more-customer-costs): calculate marginal hosting, AI, and API cost per plan (fresh chat, read-only)
4. [Promises the product doesn't keep](https://www.atlasscope.dev/prompts/promises-the-product-doesnt-keep): verify every claim on your pricing, checkout, and terms pages (fresh chat, read-only)

### Step 1: Follow one dollar

```text
Trace a single dollar from the moment a customer pays through every system that records or reacts to it: checkout, payment provider, webhooks, database records, feature access grants, receipts/emails, and revenue reporting. Then trace the unhappy paths: declined card, payment retry, duplicate webhook, out-of-order webhook (arriving before the user or checkout row exists), partial refund, full refund, chargeback, mid-cycle plan change, cancellation, and non-default currency. At each step, identify the source of truth, what happens on failure or retry, and where your records or user access can fall out of sync with the payment provider.

Treat this as a read-only investigation. Do not edit code, data, configuration, credentials or infrastructure. Report each finding with file:line or a command I can rerun, and a confidence.
Give me: A step-by-step trace of the happy path and each unhappy path with handler locations (file:line), source of truth per step, and every gap where money can be double-counted, lost, or mismatched against granted access.
Watch for: Do not stop after tracing successful checkouts. Duplicate and out-of-order webhooks plus refunds and chargebacks are where real billing bugs hide.
If this describes the project, say so and stop instead: A product that takes no payments, or links out to a hosted payment page and stores zero payment state.
Start your report in plain English: what you found, what it means, and whether I need to do anything. Put files, lines and commands underneath.
```

### Step 2: How a clever user games you

```text
Think like a clever, opportunistic customer with a normal account and no hacking tools. Audit the code for ways they can get paid features for free or run up your bills: repeating free trials with fresh emails, reusing or stacking discount/referral codes, bypassing usage limits enforced only in browser code, timing upgrades/downgrades to dodge charges, keeping access after refunds or chargebacks, sharing accounts or abusing free invites, and triggering unbounded per-use costs (AI calls, SMS, emails, file storage, exports). For each loophole, give the exact user steps, whether the server enforces the rule today, a rough monthly cost if 100 users did it, and whether fixing it is a small code change or a pricing/product policy call.

Treat this as a read-only investigation. Do not edit code, data, configuration, credentials or infrastructure. Report each finding with file:line or a command I can rerun, and a confidence.
Give me: Each abuse path with reproduction steps, current enforcement (file:line or "missing"), rough cost at 100 abusive users, and whether it needs code or a product decision.
Watch for: Stay focused on business-logic and billing loopholes ordinary users can trigger — classic security vulnerabilities like SQL injection belong in the Security checks.
If this describes the project, say so and stop instead: A completely free app with no usage caps and no metered per-action costs.
Start your report in plain English: what you found, what it means, and whether I need to do anything. Put files, lines and commands underneath.
```

### Step 3: What one more customer costs

```text
Calculate the marginal monthly cost of adding one typical active customer. List every paid service this product uses (hosting, functions, database, file storage, bandwidth, AI models, email, SMS, search, error tracking, third-party APIs) and trace from code what user actions trigger charges. Estimate monthly usage per active customer using logs or database stats where available, stating assumptions clearly where not. Compare total per-user cost against each pricing tier, and highlight features whose cost scales faster than revenue (such as unthrottled AI calls, full-size image uploads, or unlimited free-tier exports). Fetch current published vendor prices if you have web access and cite the URL; if you cannot verify live pricing, mark every price clearly as an estimate for me to confirm on the vendor's pricing page.

Treat this as a read-only investigation. Do not edit code, data, configuration, credentials or infrastructure. Report each finding with file:line or a command I can rerun, and a confidence.
Give me: A cost-per-user breakdown by service and feature with triggering code (file:line), stated assumptions, verified vs. estimated prices, margin per plan, and the two or three features that hurt most at 10x users.
Watch for: Never present memorized pricing as confirmed fact. Cite a live pricing source or mark the number as an unverified estimate.
If this describes the project, say so and stop instead: A flat-fee static product with zero metered services and no paid plans.
Start your report in plain English: what you found, what it means, and whether I need to do anything. Put files, lines and commands underneath.
```

### Step 4: Promises the product doesn't keep

```text
First read every user-facing promise in this repository: marketing and pricing copy, onboarding screens, button labels, confirmation and error messages, email templates, help text, and terms/privacy pages. A promise is anything a user could rely on (such as "cancel anytime", "we'll email you when ready", "saved automatically", "permanently deleted", "refunded within 5 days", or "private to your team"). Then trace the code and config responsible for keeping each promise on both normal paths and failure paths (failed payment, bounced email, crashed job, mobile browser). Classify each as Kept, Kept on happy path only, Not kept, or Unverifiable from repo (needs manual/dashboard check). Rank broken promises by trust or legal harm.

Treat this as a read-only investigation. Do not edit code, data, configuration, credentials or infrastructure. Report each finding with file:line or a command I can rerun, and a confidence.
Give me: A table of promises listing where each is stated (file:line), where code enforces it (file:line or "nowhere"), its verdict, and for the top three broken ones a concrete scenario showing how a user notices.
Watch for: Read the actual user-facing copy, email templates, and error strings before inspecting backend code — skipping copy misses the broken promises.
If this describes the project, say so and stop instead: An internal prototype with no public pages, user-facing emails, or billing.
Start your report in plain English: what you found, what it means, and whether I need to do anything. Put files, lines and commands underneath.
```

Source: https://www.atlasscope.dev/prompts/before-you-charge-people-money
