Collect Pro overage through Stripe metered billing

Ouverte
#113 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
typescript
Domaine
backend, payments

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

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.

Langage dominant
TypeScript
Étoiles
0
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de DeadantCo/answerLoopsdev

Toutes les issues de DeadantCo/answerLoopsdev

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.