Ghost/ghost/offers/lib/application
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
..
OfferMapper.js Removed stripe_coupon_id handling from Offers 2021-10-21 15:40:55 +02:00
OfferRepository.js Updated offer_id matching logic to use stripe_coupon_id instead of metadata (#390) 2022-04-19 11:21:48 +02:00
OffersAPI.js Returned null when updateOffer does not find Offer 2021-10-22 14:43:52 +02:00
UniqueChecker.js Moved application concerns to an application dir 2021-10-08 12:27:17 +02:00