Collect Pro overage through Stripe metered billing

Open
#113 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
backend, payments

Research direction

The payload names no source files. Start with CONTRIBUTING.md, then find where the app computes the $5-per-100 overage and renders it on the Billing page, and where the generation attempt ceiling is enforced. Done means usage is reported to a Stripe metered price for soft-cap plans, the accrued charge shows on Billing, overage customers are no longer hard-stopped, and the flow is verified in Stripe test mode.

Written by the indexing model from the issue text.

Description

enhancement

Copied from DeadantCo/answerLoops#103 · originally opened by sethr07 on 2026-11-20

Copied from https://github.com/answerLoops/answerLoops/issues/468 — originally opened by @NathanTarbert on 2026-10-25

What

Pro is a soft cap: it keeps answering past 3,000 deflections a month, and the app counts the overage at $5 per additional 100 (rounded up) and shows it on the Billing page. The charge itself is not collected yet.

Why

The pricing page, Terms and docs state the overage rate, and the Billing page already reports it. Until it's collected, the number is informational only.

Scope

  • Add a Stripe metered price and report usage for soft-cap plans.
  • Show the accrued charge for the period on the Billing page.
  • Relax the generation attempt ceiling for soft-cap plans, so a paying overage customer is never hard-stopped.
  • Test against Stripe's test mode before going live.

Out of scope

Changing the rate or the plan limits.

Start here: new to the project? Read CONTRIBUTING.md first. It covers the ground rules, running answerLoops locally, and how to open a pull request.

Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DeadantCo/answerLoopsdev

All issues in DeadantCo/answerLoopsdev

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.