From 37518a3d5e6d96b1c890444b22511e24ff418240 Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Tue, 23 Feb 2021 11:26:17 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20updating=20member=20paym?= =?UTF-8?q?ent=20details?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 391f52e6ad..e123d9c9fc 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index d1388894d9..f1f4dc706f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"