Collect Pro overage through Stripe metered billing

Đang mở
#113 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
backend, payments

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DeadantCo/answerLoopsdev

Tất cả issue của DeadantCo/answerLoopsdev

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.