Skip to content

Feature/211 subscription renewal failure webhook#269

Merged
aji70 merged 4 commits intoMyFanss:mainfrom
dreamgene:feature/211-subscription-renewal-failure-webhook
Feb 26, 2026
Merged

Feature/211 subscription renewal failure webhook#269
aji70 merged 4 commits intoMyFanss:mainfrom
dreamgene:feature/211-subscription-renewal-failure-webhook

Conversation

@dreamgene
Copy link
Contributor

closes #211
– Subscriptions: Webhook/Event for Renewal Failure
Summary
Implements renewal failure notifications via internal event emission and webhook callback. When a subscription renewal fails (payment error or contract revert), the system now emits a structured event/webhook payload without blocking the subscription flow.

…MyFanss#211)

- Define SUBSCRIPTION_RENEWAL_FAILED event constant and payload interface
- Emit event non-blocking on renewal failure in checkout flow
- Add unit test to verify event fires with subscriptionId and reason
- Use type-only import for decorated signature metadata compatibility
- Update lint glob script for ESLint v9 pattern matching
- Address no-floating-promises warning in bootstrap entrypoint
Copy link
Contributor

@aji70 aji70 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LFG

@aji70 aji70 merged commit c41f076 into MyFanss:main Feb 26, 2026
3 checks passed
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.

Subscriptions: webhook or event for renewal failure

2 participants