Skip to content

CONV-265: Create CreditPackWebhookHandler skeleton#234

Merged
menvil merged 1 commit into
developfrom
feature/CONV-265-create-credit-pack-webhook-handler-skeleton
Jun 2, 2026
Merged

CONV-265: Create CreditPackWebhookHandler skeleton#234
menvil merged 1 commit into
developfrom
feature/CONV-265-create-credit-pack-webhook-handler-skeleton

Conversation

@menvil

@menvil menvil commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds App\Billing\Webhooks\CreditPackWebhookHandler with handleCheckoutSessionCompleted() stub
  • Stub throws LogicException('Not implemented yet.') — grant logic comes in CONV-267
  • Handler is resolvable from container

Test plan

  • tests/Unit/Billing/CreditPackWebhookHandlerSkeletonTest.php — handler exists and method exists
  • composer test passes (478 tests)
  • composer lint passes

🤖 Generated with Claude Code


Summary by cubic

Adds the CreditPackWebhookHandler skeleton per CONV-265 to prepare for handling credit pack checkout webhooks. Exposes handleCheckoutSessionCompleted() (throws LogicException for now) and adds a unit test to confirm the handler resolves from the container and the method exists.

Written for commit 7078fea. Summary will update on new commits.

Review in cubic

@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: 166d4f38-0843-424c-bffc-0c569775be76

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-265-create-credit-pack-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.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@menvil menvil force-pushed the feature/CONV-265-create-credit-pack-webhook-handler-skeleton branch from 468e554 to 7078fea Compare June 2, 2026 18:31
@menvil menvil merged commit 3cc4497 into develop Jun 2, 2026
@menvil menvil deleted the feature/CONV-265-create-credit-pack-webhook-handler-skeleton branch June 2, 2026 18:31
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