🐛 Fixed webhook handling of Stripe Checkout

no-issue

Handling Stripe Checkout webhooks was failing to send emails to customers
because of a faulty reference. This updates the Webhook Controller to fix
that.
This commit is contained in:
Fabien "egg" O'Carroll 2022-01-24 17:38:50 +02:00 committed by Fabien 'egg' O'Carroll
parent 91df910dbb
commit e556951dc9
2 changed files with 17 additions and 7 deletions

View File

@ -79,13 +79,13 @@
"@tryghost/kg-mobiledoc-html-renderer": "5.3.2",
"@tryghost/limit-service": "1.0.9",
"@tryghost/logging": "2.0.1",
"@tryghost/magic-link": "1.0.15",
"@tryghost/magic-link": "1.0.17",
"@tryghost/members-api": "4.4.1",
"@tryghost/members-csv": "1.2.3",
"@tryghost/members-importer": "0.4.1",
"@tryghost/members-offers": "0.10.5",
"@tryghost/members-ssr": "1.0.18",
"@tryghost/members-stripe-service": "0.6.3",
"@tryghost/members-stripe-service": "0.6.4",
"@tryghost/metrics": "1.0.2",
"@tryghost/minifier": "0.1.10",
"@tryghost/mw-error-handler": "0.1.2",

View File

@ -1412,10 +1412,10 @@
json-stringify-safe "^5.0.1"
lodash "^4.17.21"
"@tryghost/magic-link@1.0.15":
version "1.0.15"
resolved "https://registry.yarnpkg.com/@tryghost/magic-link/-/magic-link-1.0.15.tgz#61aac2990f65decd6bc18aa4699181cb12388fce"
integrity sha512-df0owOkpR2SAx48NTVJLmfDMY9fnSpZ0c8nRaU/JIiAm++pKLveyl4Djas2l8up6PA1dkS1ND8VktIf7Ug4SVA==
"@tryghost/magic-link@1.0.17":
version "1.0.17"
resolved "https://registry.yarnpkg.com/@tryghost/magic-link/-/magic-link-1.0.17.tgz#149fc93ba63a0ea89b22b90b01a3bcc28a71e636"
integrity sha512-stsUKEyTygacONVW5f9uqjIUVYLiJi9AbTmLb9sgNj4sVKgcFw7wMokoKQe2ezsQdwjQx8cvpTZhyKL5Qo3BaQ==
dependencies:
bluebird "^3.5.5"
jsonwebtoken "^8.5.1"
@ -1531,7 +1531,17 @@
jsonwebtoken "^8.5.1"
lodash "^4.17.11"
"@tryghost/members-stripe-service@0.6.3", "@tryghost/members-stripe-service@^0.6.3":
"@tryghost/members-stripe-service@0.6.4":
version "0.6.4"
resolved "https://registry.yarnpkg.com/@tryghost/members-stripe-service/-/members-stripe-service-0.6.4.tgz#8946e1eb8becaccb0c1dc3a7d26a6931802d2023"
integrity sha512-twxt5r/yqSGFO48cV6RtMyTngd+HvBBr97/Psbjy5TnyYZo6D1AXetocHscOMqbWkpu3CSTBZgJx0VqywKLYKQ==
dependencies:
"@tryghost/debug" "^0.1.4"
"@tryghost/errors" "1.2.0"
leaky-bucket "^2.2.0"
stripe "^8.174.0"
"@tryghost/members-stripe-service@^0.6.3":
version "0.6.3"
resolved "https://registry.yarnpkg.com/@tryghost/members-stripe-service/-/members-stripe-service-0.6.3.tgz#c6c54a8d38036ce76334d3297fcc85d72baca5f9"
integrity sha512-4a8d+x8HmMVE45hhbQ6NNcMFJXUfIM+uhUrGLN1lg6K02hr7CVl2y25cqbG7dN9ZOHuiUEJy/P0hqrdZJz12lA==