Collect Pro overage through Stripe metered billing

未关闭
#113 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
backend, payments

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DeadantCo/answerLoopsdev 的其他 Issue

查看 DeadantCo/answerLoopsdev 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。