Implement WHMCS Addon Dashboard with API for stats and integrate billing provider logic
Some checks failed
CI / Node — lint, typecheck, test, build (push) Failing after 10s
CI / Go — node-agent tests (push) Failing after 8s
CI / Go — edge-gateway build (push) Successful in 17s

This commit is contained in:
smueller
2026-06-26 15:11:29 +02:00
parent 15cf302afc
commit 4b20efe4bc
30 changed files with 1414 additions and 16 deletions

View File

@@ -2,7 +2,39 @@
Last updated: 2026-06-26
## Current phase: WHMCS Phase E + F — Sync & Usage Billing
## Current phase: WHMCS Addon Dashboard
### WHMCS Addon module completed
| Area | Status | Notes |
|------|--------|-------|
| Addon PHP module | Done | Dashboard, events, reconciliation UI |
| Module tables | Done | `mod_hexagamecloud_*` on activation |
| Event poller | Done | Manual + daily cron hook |
| Dashboard API | Done | `GET /integrations/whmcs/dashboard/stats` |
| Cron hook | Done | `integrations/whmcs/hooks/hexagamecloud.php` |
| Docs | Done | `docs/integrations/whmcs/addon-module.md` |
### Billing providers
| Provider | Status | Notes |
|----------|--------|-------|
| WHMCS | Done | **Production default** (`BILLING_PROVIDER=whmcs`) |
| Internal | Done | Dev / free tier credits |
| Stripe | Stub | Optional fallback webhook — inactive unless `BILLING_PROVIDER=stripe` |
See `docs/billing/providers.md`.
### Abnahmekriterium Addon
- [x] WHMCS admin dashboard shows API health and sync stats
- [x] Event poll + ack from addon UI and cron hook
- [x] Reconciliation dry-run from addon UI
- [ ] Manual E2E: activate addon on WHMCS host
---
## WHMCS Phase E + F — Sync & Usage Billing ✅
### WHMCS Phase E completed
@@ -234,4 +266,4 @@ Server entry fields:
### Next phase: Post-MVP hardening
- Stripe webhooks, penetration test, WHMCS addon dashboard UI
- Penetration test, product mapping UI in addon, mTLS for integration API