1.6 KiB
1.6 KiB
Phase 8 — Billing integrity audit (read-only)
This package adds Billing Audit to the SonarDesk administration sidebar at /administration/sonardesk/billing-audit.
Included
- Subscription-linked licence completeness counts.
- Duplicate subscription identifiers (informational, not automatically errors).
- Duplicate webhook event identifiers.
- Unprocessed and failed webhook event counts, with a bounded list of recent errors.
- Same authentication, email verification and
manage-sonardesk-licensingGate as the existing pages.
Installation
- Commit/back up local modifications. Overlay the paths in this ZIP onto the ABSDev root. Merge the full sidebar Blade file if you have changed it since Phase 7.
- Run
composer dump-autoload,php artisan optimize:clear, andphp artisan route:list --path=administration/sonardesk -v. - Sign in as an authorised administrator and open
/administration/sonardesk/billing-audit. - Confirm local
licensesandlicense_webhook_eventstables exist from earlier licensing migrations.
Explicit limitations
This is not a live Paddle connection or completed commerce integration. It does not contact Paddle, handle checkout, reconcile remote records, process webhooks, change customer identities, or alter billing. Existing production payment endpoints must remain unchanged.
Follow-on work
Phase 9: staged Paddle checkout/webhook parity and idempotency tests. Phase 10: customer identity/account linking. Phase 11: downloads/releases and update feeds. Phase 12: unified frontend, end-to-end regression and controlled deployment.