Make the refund policy configurable and support partial refunds
A working diagnosis of this problem and the sequence that actually resolves it, written from the operational side rather than the marketing side.
Reported context: The refund rules are hardcoded, and therapists have no way to issue a refund themselves. **Current state** - `web/src/app/actions/booking.ts` `cancelSession` hardcodes the 24-hour rule; the copy in `web/src/components/sessions/cancel-button.tsx` repeats it. - If a refund fails, the error is only logged with `console.error` and the session stays cancelled. - `processRefund` in `web/src/app/actions/stripe.ts` is not ca
What is actually going on
Recurring billing failures often originate from a missing pre-debit notification, which the card network treats as an authorisation defect.
Most chargebacks are lost on evidence quality, not on merit. Generic invoices and screenshots fail the card network's representment requirements.
The sequence that works
Identify the exact reason code. Each code has a different evidence requirement; a mismatched response is auto-lost.
Assemble a standard evidence packet: order confirmation with IP and timestamp, delivery proof with tracking, customer communication log, refund policy shown at checkout, and device fingerprint.
File representment inside the network window and reference the specific evidence elements against the reason code.
For subscription products, add a pre-debit notification at least seven days before renewal and retain delivery logs.
Track dispute rate by product and acquisition channel. A rising rate in one channel usually indicates misleading ad creative upstream.
Where people lose time
Refunding the disputed amount while still filing representment — this often forfeits the case.
Copying a generic response template across reason codes. Networks reject mismatched evidence outright.
Verify before you trust it
Run the checks above against your own data instead of adopting them at face value. The failure modes are specific enough that a single afternoon of measurement will either confirm this diagnosis or rule it out — both outcomes are useful, and guessing is not.
Chargeback Reply Kit
A ready-to-use package for exactly this workflow — $32.55, delivered immediately.
Sold via Gumroad, which acts as merchant of record and handles payment and applicable taxes. All sales are final; see the return policy before purchase.