[Phase 5] Credits, orders, entitlements and paid launch
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- api, backend-api-design, cli, payments
Hướng nghiên cứu
Start by reviewing the dependencies on Epic #31 and Phase 4 #36, then map the credit ledger, webhook inbox, quote/order flow, purchase command/API, and CLI/MCP entry points described here. Done means duplicate events and retries are safe, concurrent purchases cannot overspend, entitlements are traceable, paid payloads remain protected, and the payment architecture is approved.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Depends on
-
Epic #31
-
Phase 4 #36
Objective
Attach commerce to an already-proven package delivery and entitlement system.
Delivery/security depends on Phase 4. Payment-provider approval work may run earlier, in parallel with Phases 2-4.
Scope
- Append-only buyer credit ledger.
- Top-up with verified provider events.
- Quotes/orders.
- Atomic debit + entitlement grant.
- Refund/chargeback.
- Agent-safe transaction confirmation.
- Provider/business-model approval gate.
Implementation tasks
- Add credit ledger entries and balance projection.
- Add top-up records.
- Add webhook inbox/dedup.
- Verify provider signatures and paid-state semantics.
- Add quote model + expiry.
- Add orders/order items.
- Add idempotent purchase command/API.
- Atomically debit + order + entitlement grant.
- Add already-owned handling.
- Add refund compensating entries.
- Add chargeback account/entitlement policy.
- Add seller payable placeholder accounting separate from credits.
- Add quote via CLI/MCP.
- Add transaction-specific confirmation contract.
- Test duplicate webhooks.
- Test duplicate purchase retries.
- Test concurrent debit/overspend.
- Document approved payment architecture.
Acceptance criteria
- No double-mint/double-debit.
- Concurrent purchase cannot create negative usable balance.
- Entitlement is traceable to grant/order.
- Every public representation still protects paid payload.
- Payment provider has approved the actual business model.
Milestone: paid launch.
- Ngôn ngữ chính
- TypeScript
- Star
- 186
- Fork
- 40
- Merge trung bình
- 10 giờ 12 phút
- Pull request đã merge (30 ngày)
- 16
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nextlevelbuilder/skillx
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
nextlevelbuilder/skillx#65 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
nextlevelbuilder/skillx#63 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
nextlevelbuilder/skillx#49 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
nextlevelbuilder/skillx#28 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
nextlevelbuilder/skillx#27 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của nextlevelbuilder/skillx
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
status:approved type:bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
egdev6/quorb#109 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
stage:4
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
ilan-pinto/roaring-lions#598 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Frontmatter next to `src:` is applied to every imported slide, not only the first (undocumented)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày