0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-15 03:01:37 -05:00

🐛 Fixed handling of non-subscription invoices

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

This updates our webhook handling to ignore invoices which are not
associated with a subscriptions. This stops us from throwing 500 errors
when a Stripe account is used for more than just Member subscriptions,
for example - selling products, or taking one-off payments.
This commit is contained in:
Fabien O'Carroll 2021-11-02 15:40:03 +02:00
parent 7eb7e00634
commit 0cb551d37b
2 changed files with 5 additions and 5 deletions

View file

@ -79,7 +79,7 @@
"@tryghost/limit-service": "1.0.0",
"@tryghost/logging": "1.0.0",
"@tryghost/magic-link": "1.0.14",
"@tryghost/members-api": "2.6.1",
"@tryghost/members-api": "2.6.2",
"@tryghost/members-csv": "1.1.8",
"@tryghost/members-importer": "0.3.4",
"@tryghost/members-offers": "0.10.1",

View file

@ -1513,10 +1513,10 @@
"@tryghost/domain-events" "^0.1.3"
"@tryghost/member-events" "^0.3.1"
"@tryghost/members-api@2.6.1":
version "2.6.1"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-2.6.1.tgz#6620fe7bf0d28ac433292a534fe651e20f9c3a6a"
integrity sha512-GKVjS8EVnMC7AsB6J1Ku7TfcSsuQtdPuDy+PKw2aJQbDxIUo4pZf/fIlGMyusABpe4Twz65JVV/B4lk4VykFwQ==
"@tryghost/members-api@2.6.2":
version "2.6.2"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-2.6.2.tgz#c0cf6e4dfd0915fefc8f94b1f5bf9bdcebd85df0"
integrity sha512-SASb/HIoTexTYT3aYVqLNNWejb3xeSFE+rZtRHv1vYxuDCtpRbzM6NATAvJ5DGiL9o6BkS4G3fscHMviRxHOVw==
dependencies:
"@tryghost/debug" "^0.1.2"
"@tryghost/domain-events" "^0.1.3"