Skip to content

CONV-250: Create SubscriptionWebhookHandler skeleton#219

Merged
menvil merged 1 commit into
developfrom
feature/CONV-250-create-subscription-webhook-handler-skeleton
Jun 2, 2026
Merged

CONV-250: Create SubscriptionWebhookHandler skeleton#219
menvil merged 1 commit into
developfrom
feature/CONV-250-create-subscription-webhook-handler-skeleton

Conversation

@menvil

@menvil menvil commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Created SubscriptionWebhookHandler with three skeleton methods: handleSubscriptionActivated, handleSubscriptionCancelled, handleInvoicePaid
  • Methods throw LogicException('Not implemented yet') — implementations come in CONV-252/254/256
  • Constructor injects BillingPlanRepository, CreditLedger, and BillingWebhookEventRecorder

Test plan

  • Handler resolves from container
  • composer test passes (452 tests)
  • composer lint passes

🤖 Generated with Claude Code


Summary by cubic

Set up the SubscriptionWebhookHandler skeleton to handle subscription activation, cancellation, and invoice payment events for CONV-250. This prepares the webhook pipeline and wires required dependencies; implementations will follow in CONV-252/254/256.

  • New Features
    • Added SubscriptionWebhookHandler with stubs for: subscription activated, subscription cancelled, invoice paid (all throw LogicException for now).
    • Injects BillingPlanRepository, CreditLedger, BillingWebhookEventRecorder.
    • Added a unit test to ensure the handler resolves from the container.

Written for commit c62c98e. Summary will update on new commits.

Review in cubic

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • release

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 3aa4c55c-03b5-434a-8e36-51e489cedb7e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/CONV-250-create-subscription-webhook-handler-skeleton

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@menvil menvil merged commit 49e6615 into develop Jun 2, 2026
1 check was pending
@menvil menvil deleted the feature/CONV-250-create-subscription-webhook-handler-skeleton branch June 2, 2026 14:47
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.

1 participant