Ghost/ghost/offers/lib
Simon Backx 41e0aa17ff Updated offer_id matching logic to use stripe_coupon_id instead of metadata (#390)
refs https://github.com/TryGhost/Team/issues/1519

- Removed offer metadata again from offer (added in one of the previous commits)
- Added `getByStripeCouponId` method in offer repository (required to find an offer based on the stripe_coupon_id)
- Match discounts from Stripe based on the stripe_coupon_id instead of metadata
2022-04-19 11:21:48 +02:00
..
application Updated offer_id matching logic to use stripe_coupon_id instead of metadata (#390) 2022-04-19 11:21:48 +02:00
domain Ensured correct usage of @tryghost/errors everywhere 2022-02-15 12:30:36 +00:00