ba41f308c7
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. |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json |