Recurring Charge Readback

Recurring Charge Readback is a copy-paste React component that stops free trial quietly became a paid plan before the user submits. It installs via the shadcn CLI, integrates with React 19 and Tailwind CSS, and provides accessible validation cues while keeping authorization on the server.

pnpm dlx shadcn@latest add @bollard/recurring-charge-readback
Version 0.1.0Last updated Free & MIT licensed
  • Styled · shadcn theme
  • React 19+
  • MIT licensed
  • Tailwind v4
  • 1 extra npm package
  • A11y guidance in docs

StopsFree trial quietly became a paid plan

Was this component page useful?

How do I install Recurring Charge Readback?

pnpm dlx shadcn@latest add @bollard/recurring-charge-readback

The files land in your project. They're yours to edit.

How do I use Recurring Charge Readback in React?

recurring-charge-readback-usage.tsx
import { RecurringChargeReadback, type RecurringChargeReadbackProps } from "@/components/ui/recurring-charge-readback"

<RecurringChargeReadback id={id} {...current.props} buttonLabel={current.button} now="2026-10-14T10:00:00+05:30" timeZone="Asia/Kolkata" />

What input mistakes does Recurring Charge Readback catch?

  • Amount charged today, including small card checks
  • Date of the first real charge after a trial
  • Intro price ending and the step-up amount
  • Cancel-by time, with time zone, using cancelNoticeHours
  • Button wording ("free", a monthly price on yearly billing) that contradicts the charge
  • Optional India e-mandate notes (24-hour pre-debit alert, approval above a limit)

What props does Recurring Charge Readback accept?

RecurringChargeReadback props
PropTypeDefault
amount* (required)

The regular price per period.

number—
interval

Billing period unit, e.g. "month" or "year".

ChargeInterval"month"
intervalCount

Periods per renewal, e.g. 3 with `interval="month"` for quarterly.

number1
trialEndsAt

When a trial ends and the first real charge lands.

Date | string—
trialAmount

Charged today for the trial, e.g. a ₹2 card check. Defaults to 0.

number0
intro

An intro price for the first paid periods: `{ amount: 99, periods: 3 }`.

{ amount: number; periods: number }—
cancelNoticeHours

How many hours before a renewal a cancellation must land.

number24
buttonLabel

The text on the subscribe button next to this, so a mismatch ("Start free", "₹399/mo") is caught.

string—
mandateNotes

Show India's e-mandate notes (24-hour pre-debit alert, OTP above the limit). Defaults on for INR.

booleancurrency === "INR"
mandateLimit

Per-charge amount above which Indian banks need approval for each renewal (RBI e-mandate).

number15000
now

The moment of subscribing. Pass it for deterministic rendering; otherwise read after mount.

Date | string—
currency

ISO 4217 currency code. INR turns on the e-mandate notes by default.

string"INR"
locale

Locale for money and date formatting.

string"en-IN"
timeZone

Time zone for every date and time shown. Defaults to the viewer's.

string—
billingTimeZone

Zone whose calendar the biller renews on. Defaults to `timeZone`, so a plan bought at 00:30 IST on the 1st renews on the 1st, not the 31st. Pass "UTC" for billers that count in UTC.

string—
messages

Reword or translate any sentence.

Partial<typeof RECURRING_CHARGE_MESSAGES>—

* required. Also accepts the native props of <div> (className, aria-*, data-*…), passed through to it.

How is Recurring Charge Readback accessible?

  • Renders as a polite live region; give your subscribe button aria-describedby pointing at its id
  • Warnings use an icon plus text; icons are aria-hidden

Only what the source does. Test with your own screen reader and content before shipping.

What are the limitations and server boundaries?

This is a UX guard rail. Enforce on the server: Charge the amounts and dates your billing system computes, not the client's; send the required pre-debit notices from the server or issuer.

  • Only reads back the plan you describe; it does not charge or schedule anything
  • Month arithmetic depends on billingTimeZone; pass the zone your biller renews in
  • The e-mandate notes describe RBI rules as of the verified date; they do not apply outside India

What validation rules apply to Recurring Charge Readback?

Rules last verified:

Informational. Confirmed: issuer pre-transaction notice at least 24 hours before debit; recurring debits up to ₹15,000 without AFA (₹1,00,000 for insurance premiums, mutual fund subscriptions and credit card bills; the default mandateLimit covers only the general case). Check the official source. Copied components don't update themselves, so re-check after rule changes (see updating a component).

What expensive mistakes does Recurring Charge Readback stop?

Free trial quietly became a paid plan

Also known as

free trial · subscription · recurring billing · cancel anytime · intro price · paywall · pricing · subscribe button

What dependencies does Recurring Charge Readback require?

Recurring Charge Readback facts & technical specifications

Technical specifications, licensing, and limitations
PropertySpecification
Component nameRecurring Charge Readback
Registry identifier@bollard/recurring-charge-readback
Install commandnpx shadcn@latest add @bollard/recurring-charge-readback
LicenseMIT License (free, commercial-friendly)
Price$0 (100% Free and Open Source)
Version0.1.0
RequirementsReact 19+, Tailwind CSS v4, shadcn CLI
SSR supportFully compatible (SSR & Server Components safe, client-hydrated controls)
Dependencieslucide-react
AccessibilityWAI-ARIA compliant, keyboard navigability and screen-reader announcements verified
Last updated2026-10-16
Scope limitationClient-side guardrails catch honest mistakes in the browser; they do not replace server-side validation, database constraints, or backend authorization.

Frequently asked questions about Recurring Charge Readback

How does Recurring Charge Readback prevent financial transaction errors?

Recurring Charge Readback prevents free trial quietly became a paid plan. Blocks Amount charged today, including small card checks, Date of the first real charge after a trial, Intro price ending and the step-up amount, Cancel-by time, with time zone, using cancelNoticeHours, Button wording ("free", a monthly price on yearly billing) that contradicts the charge, Optional India e-mandate notes (24-hour pre-debit alert, approval above a limit) before processing. Limitation: apply idempotency keys for recurring-charge-readback.

How do I install recurring-charge-readback with shadcn?

Run `npx shadcn@latest add @bollard/recurring-charge-readback`. Sources added: registry/default/recurring-charge-readback/recurring-charge-readback.tsx, registry/default/recurring-charge-readback/schedule.ts. Package requirements: lucide-react.

What props customize Recurring Charge Readback?

Recurring Charge Readback accepts `amount`, `interval`, `intervalCount`, `trialEndsAt`, `trialAmount`. Configures free trial, subscription, recurring billing behavior. Limitation: invalid prop values fallback to safe default options.

What are the limits of recurring-charge-readback?

Only reads back the plan you describe; it does not charge or schedule anything. Month arithmetic depends on billingTimeZone; pass the zone your biller renews in. The e-mandate notes describe RBI rules as of the verified date; they do not apply outside India Server requirement: Charge the amounts and dates your billing system computes, not the client's; send the required pre-debit notices from the server or issuer.

How does Recurring Charge Readback meet accessibility guidelines?

Renders as a polite live region; give your subscribe button aria-describedby pointing at its id. Warnings use an icon plus text; icons are aria-hidden. Minimizes errors: free trial charged, forgot to cancel trial.

Which components pair with Recurring Charge Readback?