Ghost/ghost
Fabien O'Carroll c58e83c9d7 Wired up OfferRedemption storage
refs https://github.com/TryGhost/Team/issues/1132

We have to include the Offer on the metadata for the Stripe Checkout -
as Offers with a duration of 'once' will not always be present on the
Subscription after fetching it.

Once we receive the Stripe Checkout webhook we emit an event for
subscription created - the reason we use an event is because this logic
should eventually live in a Payments/Stripe module - and we'd want to
decouple it from the Members module.

The Members module is in charge of writing Offer Redemptions - rather
than the Offers module - because Offer Redemptions are "owned" by a
Member - and merely reference and Offer. Eventually Offer Redemptions
could be replaced by Subscriptions.
2021-10-18 17:26:34 +02:00
..
domain-events Published new versions 2021-09-28 13:40:14 +02:00
express-dynamic-redirects Published new versions 2021-10-12 17:26:29 +02:00
magic-link Published new versions 2021-09-28 13:40:14 +02:00
member-analytics-service Published new versions 2021-09-28 13:40:14 +02:00
member-events Wired up OfferRedemption storage 2021-10-18 17:26:34 +02:00
members-analytics-ingress Published new versions 2021-09-28 13:40:14 +02:00
members-api Wired up OfferRedemption storage 2021-10-18 17:26:34 +02:00
members-csv Published new versions 2021-09-28 13:40:14 +02:00
members-importer Published new versions 2021-09-28 13:40:14 +02:00
members-ssr Published new versions 2021-09-28 13:40:14 +02:00
members-stripe-service Published new versions 2021-10-01 13:18:02 +02:00
offers Included redemptions in OfferDTO 2021-10-18 17:26:34 +02:00