Repository navigation
Compliance attestation expiry/revocation + webhook retry wiring and merchant config - #1002
Merged
Merged
Conversation
…attestations Closes WHEELBACK#959
|
@Gospelsam019 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Compliance attestation expiry/revocation + webhook retry wiring and merchant config
What was solved
#959 — Add expiry and revocation for compliance-provider attestations
Extend the compliance contract so provider attestations carry expiry and revocation semantics: define how expired or withdrawn provider credentials affect existing attestations, emit events for expiration/revocation, and add tests covering both behaviors.
Addressed:
#960 — Wire the retry queue into live webhook dispatch
Wire the existing retry/dead-letter webhook machinery into the live production webhook dispatch path so events flow through retries, backoff, dead-letter handling, and replay instead of single-attempt dispatch, with integration tests covering each behavior.
Addressed:
#961 — Deliver invoice lifecycle webhook events
Add merchant-configurable webhook delivery for invoice lifecycle events (created, paid, cancelled, refunded, expired), with defined payload schemas and integration tests covering each event.
Addressed:
#962 — Add merchant-scoped webhook configuration endpoints
Add merchant-scoped webhook configuration endpoints to the backend so each merchant can set its own callback URL and event subscriptions instead of relying solely on global webhook config. Authenticated APIs must validate, persist, and retrieve these per-merchant settings, following existing backend handler/routing/auth patterns.
Addressed:
Changes
abis/compliance.json(modify)backend/src/handlers.rs(modify)backend/src/main.rs(modify)backend/src/routes/cancel.rs(modify)backend/src/lib.rs(modify)backend/src/routes/invoices.rs(modify)Approach
Issues
Closes #959
Closes #960
Closes #961
Closes #962