0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

🐛 Fixed updating member payment details

closes https://github.com/TryGhost/Team/issues/479
refs https://github.com/TryGhost/Members/commit/efe60a17
refs https://github.com/TryGhost/Portal/commit/a0588e87

This updates the members-api to make sure that members with cancelled
subscriptions, and members with multiple active customers can update
their payment details without error.

We also add the ability to update the payment method for a specific
subscription - which is more explicit and is used by Portal since the
commit referenced
This commit is contained in:
Fabien O'Carroll 2021-02-23 11:26:17 +00:00
parent ae506097f4
commit 37518a3d5e
2 changed files with 5 additions and 5 deletions

View file

@ -56,7 +56,7 @@
"@tryghost/kg-markdown-html-renderer": "3.0.0",
"@tryghost/kg-mobiledoc-html-renderer": "3.0.1",
"@tryghost/magic-link": "0.6.4",
"@tryghost/members-api": "0.37.10",
"@tryghost/members-api": "0.37.11",
"@tryghost/members-csv": "0.4.2",
"@tryghost/members-ssr": "0.8.8",
"@tryghost/mw-session-from-token": "0.1.14",

View file

@ -553,10 +553,10 @@
jsonwebtoken "^8.5.1"
lodash "^4.17.15"
"@tryghost/members-api@0.37.10":
version "0.37.10"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-0.37.10.tgz#73fedfdba1c060109a6df84a5e96a4b4a717e5d4"
integrity sha512-Q4rdNmaouNk3YBv02yUelzL+ETPiGkWGfeuBcw6bcMTOtp4GbsT1MUWxRY8pK50EZJjL1+4+Fj8QlmiCtpfTdQ==
"@tryghost/members-api@0.37.11":
version "0.37.11"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-0.37.11.tgz#a66aa63c04236f2a5fce207567746bf91fb0d59c"
integrity sha512-LMaE1XPDru7kysrFwZ48/gtL2OMVlPUK4DEjLL1ys7seQTKm6ljhalc40rl7zBkvg1nh+br0qcikMSTpng2vzA==
dependencies:
"@tryghost/magic-link" "^0.6.7"
bluebird "^3.5.4"