Ghost/ghost/payments/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
..
payments.js Updated offer_id matching logic to use stripe_coupon_id instead of metadata (#390) 2022-04-19 11:21:48 +02:00