Ghost/ghost/payments
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
..
lib 🐛 Fixed free trial applied alongside an offer in checkout (#15975) 2022-12-09 18:47:05 +05:30
test 🐛 Fixed free trial applied alongside an offer in checkout (#15975) 2022-12-09 18:47:05 +05:30
.eslintrc.js Added @tryghost/members-payments module 2021-10-21 15:40:55 +02:00
index.js Added @tryghost/members-payments module 2021-10-21 15:40:55 +02:00
package.json Update Test & linting packages 2022-11-07 20:39:48 +00:00