Ghost/test
Fabien 'egg' O'Carroll 6c455dc1f2
🐛 Fixed Stripe Checkout for Members w/ existing subscriptions (#14953)
refs https://github.com/TryGhost/Team/issues/1526

This adds a check for existing subscriptions for a member associated with the
email addressed used for Stripe Checkout, if any are found the Checkout Session
creation fails and responds with a 403.

We've also updated the error handling for the create-stripe-checkout-session
endpoint so that it follows the existing Ghost API patterns.
2022-06-01 15:53:05 +01:00
..
e2e-api 🐛 Fixed Stripe Checkout for Members w/ existing subscriptions (#14953) 2022-06-01 15:53:05 +01:00
e2e-browser Added note about installing the E2E browsers 2022-02-22 10:20:40 +01:00
e2e-frontend Removed GA feature flags (#14915) 2022-05-26 09:54:30 +02:00
e2e-server 🐛 Fixed signing key identificaiton in JWKs 2022-05-24 12:20:30 +01:00
integration Added integration test for MEGA.sendEmailJob (#14944) 2022-05-30 15:41:02 +02:00
regression 🎨 Reduced favicon requirements and added image formatting (#14918) 2022-05-27 16:36:53 +02:00
unit Added getLazyRelation model helper method (#14943) 2022-05-31 13:21:53 +02:00
utils Refactored Admin API test agent to use async/await 2022-06-01 17:48:08 +08:00
.eslintignore Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00