Ghost/core/server/web
Fabien 'egg' O'Carroll a565da06b2
🐛 Fixed Offer Redemptions being over counted (#13988)
refs https://github.com/TryGhost/Team/issues/1257

Offer Redemptions were being overcounted due to the way we were updating
Stripe configuration for the Members service. We would create a new
instance of the members-api, which would have event handlers for
creating Offer Redemptions - by creating a new instance each time Stripe
config changed, we would overcount them.

Here we've pulled out Stripe related logic into the Stripe service, and
updated it internally - rather than creating a new instance. This means
that we've been able to remove all of the logic for re-instantiating the
members-api.

- Bumped members-api & stripe-service
- Removed reinstantiation of members-api
- Used stripe service to execute migrations
- Updated Stripe Service to handle webhooks & migrations
- Used webhook controller from stripe service
- Used disconnect method from stripe service
- Removed unused stripe dependency
- Removed Stripe webhook config from members-api
2022-01-18 17:56:47 +02:00
..
admin Replace error handler middleware with @tryghost/mw-error-handler (#13879) 2021-12-14 15:18:46 +00:00
api Fixed linter error 2022-01-04 15:26:17 +00:00
members 🐛 Fixed Offer Redemptions being over counted (#13988) 2022-01-18 17:56:47 +02:00
oauth Merged our two maintenance middleware into one 2021-11-24 11:27:18 +00:00
parent Moved vhost mounts into boot file 2021-12-06 21:28:53 +13:00
shared Added JSDoc to cache control middleware 2022-01-14 14:04:23 +02:00
index.js Refactored how we require shared middlewares from web/ (#9893) 2018-09-21 16:17:11 +05:30
well-known.js Inlined package requires to save boot time and memory 2021-10-22 09:57:59 +02:00