Skip to content

Comments

Implement Subscription Plans#56

Merged
sergeychernyshev merged 2 commits intomainfrom
implement-subscription-plans
Feb 2, 2026
Merged

Implement Subscription Plans#56
sergeychernyshev merged 2 commits intomainfrom
implement-subscription-plans

Conversation

@sergeychernyshev
Copy link
Member

Implemented the Subscription & Billing Engine based on specs/billing.md.

Changes:

  • Created src/Plan.ts for Plan and PaymentSchedule definitions.
  • Created src/PaymentEngine.ts (Abstract and Mock implementation).
  • Created src/plansConfig.ts for plan definitions.
  • Updated src/AccountDO.ts to support billing state (plans, status, recurring setup).
  • Added test/billing.spec.ts for verification.

Closes 'Implement Subscription Plans' task.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 2, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
startup-api 651835e Feb 02 2026, 03:47 AM

@sergeychernyshev sergeychernyshev merged commit ca8c01a into main Feb 2, 2026
2 checks passed
@sergeychernyshev sergeychernyshev deleted the implement-subscription-plans branch February 2, 2026 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant