Collect Pro overage through Stripe metered billing

Aberta
#113 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
typescript
Domínio
backend, payments

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
0
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de DeadantCo/answerLoopsdev

Todas as issues de DeadantCo/answerLoopsdev

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.