Sikertelen fizetések és visszatérítések
Kifejezett állapotokkal, jóváhagyott hozzáférési szabályokkal kezeli a fizetési hibákat, visszatérítéseket és vitákat.
failed-payments-refunds-disputes
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha megújítási hiba vagy részleges visszatérítés következményeit kell megtervezni.
Miben segít neked?
- Elválasztja az újrapróbálható elutasítást az új fizetési eszközt igénylő esettől.
- Alkalmazza a türelmi, lemondási és helyreállítási szabályokat.
- Eredeti terheléshez és hozzáféréshez köti a visszatérítést és vitát.
Például ezt kérheted
Tervezz megújítási hibakezelést és részleges visszatérítést, türelmi idő lejártával és késői fizetésigazolással. A türelmi idő végén igazolódjon a fizetés, majd ismétlődjön az értesítés. A megfelelő jogosultság egyszer álljon vissza, a sikertelen megújítás története maradjon meg.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Failed Payments, Refunds & Disputes
Revenue recovery and financial accuracy depend on how the system handles unhappy paths: expired cards, insufficient funds, involuntary churn, voluntary cancellations, partial refunds and chargebacks.
1. Failed Renewals, Dunning & Grace Periods
When a recurring payment fails (invoice.payment_failed, BILLING.SUBSCRIPTION.PAYMENT.FAILED, mandate debit failure):
- Distinguish Hard vs. Soft Declines:
- Soft declines (
insufficient_funds,issuer_unavailable,processing_error,try_again_later): eligible for scheduled retries. - Hard declines (
stolen_card,lost_card,invalid_account,revoked_mandate): do not retry the same instrument; immediately prompt the customer to provide a new payment method.
- Soft declines (
- Grace Period State (
past_due):- Transition the subscription to
past_dueand setgrace_period_ends_ataccording to business policy (e.g., 7–14 days). - Keep product entitlements active (or read-only per policy) during the grace window while surfacing a clear, actionable in-app banner and sending deduplicated dunning emails with a direct link to the Customer Billing Portal / payment-update flow.
- Transition the subscription to
- Recovery vs. Exhaustion:
- When a retry or customer card update pays the open invoice (
invoice.paid), clearpast_due, restoreactivestatus and extendcurrent_period_end. - If all dunning retries fail and the grace period expires, transition to
canceled/unpaid, revoke paid entitlements cleanly, and preserve the customer's data per retention rules.
- When a retry or customer card update pays the open invoice (
2. Voluntary Cancellation & Reactivation
- End-of-Period Cancellation (
cancel_at_period_end = true):- Default for prepaid recurring subscriptions: stop future renewals, display the exact date when access ends (
"Your Pro access remains active until Nov 30, 2026"), and allow one-click "Resume subscription" beforecurrent_period_endwithout re-charging.
- Default for prepaid recurring subscriptions: stop future renewals, display the exact date when access ends (
- Immediate Cancellation:
- Only when explicitly requested by an admin, fraud/dispute trigger, or trial cancellation policy.
3. Full & Partial Refunds
A refund is not the same as canceling a subscription:
- Decouple Refund from Subscription Status: issuing a partial goodwill refund (e.g.,
$10off a$50invoice for downtime) must not automatically cancel the customer's active subscription or revoke their entitlements! - Full Refund Policy: clarify whether a full refund of the current period's charge also revokes current-period entitlements or clawbacks unused purchased credits (
credit_lots). - Prepaid Credit Refund Guard: before refunding a credit top-up purchase, check how many credits from that lot have already been consumed (
remaining_credits < purchased_credits) and deduct/freeze the remaining lot balance atomically. - Accounting & Invoicing Sync: every completed refund must generate an append-only ledger entry and trigger the corresponding Credit Note / Storno or Modification Invoice in the invoicing system.
4. Chargebacks & Disputes (charge.dispute.created / closed)
When a cardholder files a chargeback with their issuing bank:
- Immediate Risk Action: record the dispute (
status: 'needs_response' | 'under_review'), pause auto-renewals so you do not charge a disputed card again, and either suspend paid entitlements or flag the account for review per fraud policy. - Avoid Double-Refunding: once a charge is disputed, the funds are already withdrawn by the bank — never issue a separate API refund on top of an open chargeback!
- Evidence & Resolution: expose clear audit logs (login IP/timestamps, usage records, invoice delivery, terms acceptance) for dispute evidence, and handle
won(reinstate) vs.lost(permanent reversal + fee recording).
Csomagban lévő fájlok 1
SKILL.md
A skillcsomag bemutatása
failed-payments-refunds-disputes
failed-payments-refunds-disputes: Előfizetéseket, ismétléseket, visszatérítéseket és egyeztetést kezelő számlázási és fizetési folyamatokat épít a pénzügyi állapot megőrzésével.
Összecsukás
failed-payments-refunds-disputes
failed-payments-refunds-disputes: Előfizetéseket, ismétléseket, visszatérítéseket és egyeztetést kezelő számlázási és fizetési folyamatokat épít a pénzügyi állapot megőrzésével.
A teljes skillt és a hozzá tartozó fájlokat tartalmazza (1 fájl). Az alábbi eredeti leírás rögzíti a pontos alkalmazási területét.
A skill eredeti leírása (a forrás nyelvén)
Use when handling dunning, smart retries, grace periods, cancellations, full and partial refunds, credit notes and chargeback/dispute lifecycles.
Telepítsd a skillt, nézd át a forrását és a megbízhatósági beállításait, majd engedélyezd a megfelelő projektben vagy ügynöknél.
Előfeltételek
- A számítógépedre telepített Orqestria.
