Add comprehensive test coverage for all Stripe webhook event handlers: - invoice.paid (subscription renewal, non-subscription, missing sub) - invoice.payment_failed (past due, notifications, edge cases) - customer.subscription.created/updated/deleted (full lifecycle) - payment_method.attached/detached/updated (card management) - setup_intent.succeeded (hosted setup page) - charge.succeeded & payment_intent.succeeded (Stripe Radar fraud scoring) - Idempotency / duplicate event rejection - Webhook audit trail logging - Stripe status mapping for all subscription states Fixes #11 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .gitkeep | ||
| CheckoutFlowTest.php | ||
| CompoundSkuTest.php | ||
| ContentOverrideServiceTest.php | ||
| CouponServiceTest.php | ||
| CurrencyServiceTest.php | ||
| DunningServiceTest.php | ||
| ProcessSubscriptionRenewalTest.php | ||
| RefundServiceTest.php | ||
| StripeWebhookHandlerTest.php | ||
| SubscriptionServiceTest.php | ||
| TaxServiceTest.php | ||
| WebhookRateLimitTest.php | ||
| WebhookTest.php | ||