fix: make invoice payment activation idempotent #18
Reference in New Issue
Block a user
Delete Branch "fix/invoice-payment-idempotency-audit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #2
Summary
markInvoicePaididempotent for already-paid invoices and reject invalid terminal transitionsmark-paid, including replayed no-op callsTesting
infra/docker/web.Dockerfilepnpm --filter @nproxy/db testinside the built container@nproxy/db buildand@nproxy/web buildduring the image build