0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Errored when Stripe is used without a connection

refs https://github.com/TryGhost/Team/issues/704

Currently when attempting to create stripe_prices without a Stripe
connection, it will fail silently. This is an issue when initially
configuring Members as the Stripe connection can take some time to be
established. By erroring we allow the client to be notifed that the
connection does not yet exist, so that it can be retried later.
This commit is contained in:
Fabien O'Carroll 2021-05-24 11:54:45 +01:00
parent b3aff29a3e
commit 2000c3c156
2 changed files with 17 additions and 7 deletions

View file

@ -59,7 +59,7 @@
"@tryghost/kg-mobiledoc-html-renderer": "4.0.0",
"@tryghost/limit-service": "0.6.0",
"@tryghost/magic-link": "1.0.2",
"@tryghost/members-api": "1.10.0",
"@tryghost/members-api": "1.11.0",
"@tryghost/members-csv": "1.0.0",
"@tryghost/members-ssr": "1.0.2",
"@tryghost/mw-session-from-token": "0.1.20",

View file

@ -722,7 +722,7 @@
lodash "^4.17.21"
luxon "^1.26.0"
"@tryghost/magic-link@1.0.2", "@tryghost/magic-link@^1.0.2":
"@tryghost/magic-link@1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@tryghost/magic-link/-/magic-link-1.0.2.tgz#6a73d9ba5d710178db53e7d8b177356a50c6649f"
integrity sha512-37ArYqWIJptLBjPimPZlgw4Tf8+q5YSyU4AN7QI2WTrUbFClo6g2gnGa7KCiJYbUUOkIjlCDz1m1iU1WiRriIA==
@ -732,13 +732,23 @@
jsonwebtoken "^8.5.1"
lodash "^4.17.15"
"@tryghost/members-api@1.10.0":
version "1.10.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.10.0.tgz#f87efa080ce2ff376ce898d56dd48bcd332f8219"
integrity sha512-ILQkzusZsHtL9/OpTzAC2jr+9Ns0dO7naepnJZcfMpuA2YCCjhUBlbv99pRTgYCd5nXECQoK9bdiBEv+Vl1DHw==
"@tryghost/magic-link@^1.0.3":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@tryghost/magic-link/-/magic-link-1.0.3.tgz#d64cdfeae8bda9d7a43002c0afb16ea15c1f28e7"
integrity sha512-erSWNlpJ65tqjCfOyjEmK7zBm/a+scTHJ4eIIxny7me5Mj3BSl1yCmI6vLZyf9j4/oHKXGjxZVy7GroDxRWGBA==
dependencies:
bluebird "^3.5.5"
ghost-ignition "4.6.2"
jsonwebtoken "^8.5.1"
lodash "^4.17.15"
"@tryghost/members-api@1.11.0":
version "1.11.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.11.0.tgz#a0927d372e7a6d89822878266bbaed3fcbf763f7"
integrity sha512-HycaCJpg3zB3zDQGiGj+bt2Is6/3zSlcR1fwxcXrctwOYGFemcmT1daVN+gn5FzJNX95mzwJUU7QzbL6lDtnIQ==
dependencies:
"@tryghost/errors" "^0.2.9"
"@tryghost/magic-link" "^1.0.2"
"@tryghost/magic-link" "^1.0.3"
"@types/jsonwebtoken" "^8.5.1"
bluebird "^3.5.4"
body-parser "^1.19.0"