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

🐛 Fixed new paid members showing up with status as 'incomplete'

no issue

- webhooks from Stripe may come in out-of-order, with the "created"
  webhook arriving after the "updated" one
- this would cause a subscription record with "active" to then be
  overwritten with "incomplete"
- due to a rewrite in members-api, we weren't re-fetching the Stripe record
  before attempting to update the DB
- this commit bumps members-api, which fixes this issue
This commit is contained in:
Daniel Lockyer 2021-02-11 18:30:54 +00:00
parent f39d45cdf5
commit 59af54996a
No known key found for this signature in database
GPG key ID: FFBC6FA2A6F6ABC1
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.7",
"@tryghost/members-api": "0.37.8",
"@tryghost/members-csv": "0.4.2",
"@tryghost/members-ssr": "0.8.8",
"@tryghost/mw-session-from-token": "0.1.14",

View file

@ -546,10 +546,10 @@
jsonwebtoken "^8.5.1"
lodash "^4.17.15"
"@tryghost/members-api@0.37.7":
version "0.37.7"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-0.37.7.tgz#95102f775a0647898cf26919eb543a5bd0aa7778"
integrity sha512-bE/5MO2OPak3OhJK4piz+U9ocnYRTMM/7zBYIOtTDCvGBmCsEUoChUEHNqHHrcE9Iw/cYcdPPqgtlcGkXbCgug==
"@tryghost/members-api@0.37.8":
version "0.37.8"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-0.37.8.tgz#4d412a208a40b2e056f9be973b4120f4e2944bd3"
integrity sha512-gXJKg+zHHxaZjqWcd14Gqb8DtB/ruPimdE6eAaPwpddoY4Pev/FjkgcK4YjrxsFf+2OeRSYLKJcaZ8oJkTrm+Q==
dependencies:
"@tryghost/magic-link" "^0.6.6"
bluebird "^3.5.4"