Trial Extension
Let an admin give an account more evaluation time, on the record.
What it adds
An administrative action that moves a trial's end date, with limits, a reason, and reconciliation against the billing provider.
What your agent is told to do
5
What your agent is told to do
5-
1
Restrict the action to a specific permission, not merely to anyone with admin access. Extending trials is giving away revenue.
-
2
Require a reason and a fixed duration on every grant. Free-form date entry with no justification produces trials that never end.
-
3
Enforce a per-account limit on the number and total length of extensions, and refuse a second extension while one is still running.
-
4
Write an audit record for every grant and every refusal: who, when, how long, why, and the resulting end date.
-
5
Push the new end date to the billing provider in the same operation. Do NOT build the trial state machine, reminders, or expiry behaviour here — those are owned by Free Trial Lifecycle; this only moves the date it works from.
Edge cases it handles
7
Edge cases it handles
7- Extensions must not stack into an indefinite trial. Cap the cumulative total, not just each grant.
- If the billing provider rejects the new date, the app must not show the account as extended. Roll back and tell the admin what failed.
- A user who converts to paid during an extension must be charged from the conversion, with the remaining extension days discarded rather than credited.
- Extending an already-expired trial has to explicitly restore entitlements, not just set a future date and hope the next job notices.
- The user needs to be told their trial was extended, or they will still act on the old expiry warning they already received.
- Two admins extending at once must not both apply. Serialise the write and make the second attempt fail visibly.
- An extension granted on a cancelled trial should be refused, not silently create an active trial the user did not ask for.
Definition of done
9
Definition of done
9- Only holders of a specific permission can grant an extension.
- Every grant requires a duration and a reason, and both are stored.
- Per-account count and cumulative-length limits are enforced, and overlapping extensions are refused.
- An audit record names who granted it, when, why, and the new end date.
- The billing provider's trial end date matches the app's, or the grant fails and rolls back.
- The affected user is notified of the new end date.
- Conversion or cancellation during an extension is handled without leftover trial days.
- The feature matches the existing design system.
- No existing functionality is broken.
Related features
Usage Limits
Usage Limits
Cap what free accounts can do — visibly and fairly.
What it does
Per-plan usage limits, enforced server-side, with the user always able to see where they stand.
How it works
- 1 Define limits per plan in one place. Do not scatter magic numbers through the codebase.
- 2 Enforce on the server at the point of creation. A client-side check is decoration.
- 3 Show current usage BEFORE the user hits the wall — surprise limits feel like a bug.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/usage-limits
Billing Portal
Billing Portal
Let people manage their own subscription.
What it does
A billing area where users can see their plan, change payment method, get invoices, and cancel.
How it works
- 1 Use the payment provider's hosted billing portal if it has one. Do not rebuild card management — it's a PCI liability you don't need.
- 2 Show the current plan, renewal date, and payment method on your own account page.
- 3 Make cancelling possible without emailing support. Dark patterns here generate chargebacks.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/billing-portal
Upgrade Modal
Upgrade Modal
Sell the upgrade at the exact moment someone wants it.
What it does
A focused upsell that appears when a free user reaches for a paid capability.
How it works
- 1 Trigger it at the point of intent — when they click the locked thing — not on a timer or on page load.
- 2 Name the specific feature they just tried to use. A generic pricing modal converts far worse.
- 3 State the price plainly and give one button to upgrade.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/upgrade-modal
How it works
-
1
Copy the link
Grab the Markdown instruction URL for this feature.
-
2
Give it to your AI
Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.
-
3
It inspects, then implements
Your agent reads your existing app first, then adds the feature to fit it.
Works with your stack
These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.
Need it tighter than that? Customize the feature and tell it exactly what you're running.