Ghost/ghost/payments
Fabien "egg" O'Carroll ba41f308c7 🐛 Fixed upgrading to a paid plan
closes https://github.com/TryGhost/Team/issues/2196

We were incorrectly assuming that all requests would have the
`customerEmail` passed in the body. Instead we were incorrectly
passing `undefined` or `''` as the `customerEmail` property to stripe,
which resulted in a validation error.

We've updated the code to pass `null` in the case of a falsy value,
which the Stripe API handles without error.
2022-11-02 00:11:33 +07:00
..
lib 🐛 Fixed upgrading to a paid plan 2022-11-02 00:11:33 +07:00
test Added @tryghost/members-payments module 2021-10-21 15:40:55 +02:00
.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 Wired up Payments service to new Tiers package 2022-10-25 09:02:41 +07:00