Ghost/ghost/stripe/test/unit/lib
Ronald Langeveld a64eaeccf2
Refactored Stripe webhook controller (#20918)
no issue

- Moved business logic from `WebhookController` to dedicated service
classes (`SubscriptionEventService`, `InvoiceEventService`,
`CheckoutSessionEventService`).
- Reduced controller complexity.
- Added unit tests for individual services, increasing overall test
coverage.
- Improved maintainability and scalability by isolating responsibilities
in specific services, making future updates easier and safer.
2024-09-09 12:54:22 +09:00
..
services/webhooks Refactored Stripe webhook controller (#20918) 2024-09-09 12:54:22 +09:00
Migrations.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
StripeAPI.test.js Added donation message to Stripe and Email (#20828) 2024-08-28 21:08:42 +09:00
WebhookController.test.js Refactored Stripe webhook controller (#20918) 2024-09-09 12:54:22 +09:00