Ghost/ghost/payments/test/lib
Rishabh Garg 33458daae8
🐛 Fixed free trial applied alongside an offer in checkout (#15975)
refs https://github.com/TryGhost/Team/issues/2375

If a discount offer is associated with a tier that has a free trial enabled on full price / standard portal in membership settings, then the stripe checkout applied both the discount and free trial to the member, which is incorrect as we shouldn't be combining both.

- removes trial days from stripe checkout if a coupon is being applied, so only one of them is applied at a time
2022-12-09 18:47:05 +05:30
..
payments.test.js 🐛 Fixed free trial applied alongside an offer in checkout (#15975) 2022-12-09 18:47:05 +05:30