Ghost/ghost/members-api/lib/controllers
Fabien "egg" O'Carroll 1f300fb781 🐛 Fixed checkout sessions when using Offers
closes https://github.com/TryGhost/Team/issues/2195

The issue here is two-fold, and specific to using Offers so was not
caught by any automated tests. First, we were incorrectly comparing
the tier.id to the offer.tier.id - this is because the Tier objects id
property is an instance of ObjectID rather than a string.

Secondly we were passing through the cadence parameter from the
request body, but when using Offers this is not including in the
request, so we must pull the data off of the Offer object instead and
pass that to the payments service.
2022-11-02 00:11:33 +07:00
..
member.js Added missing return in create-stripe-update-session 2022-08-29 14:02:58 +02:00
router.js 🐛 Fixed checkout sessions when using Offers 2022-11-02 00:11:33 +07:00
well-known.js Use @tryghost/logging instead of injected argument 2021-12-02 14:46:58 +00:00