Renamed Stripe Products from "Default Product"

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

Due to a bug in site setup some Tiers were named "Default Product" and
so the corresponding Stripe Product was also named this. This adds a
Stripe migration to rename any Stripe Products from "Default Product" to
the site title.
This commit is contained in:
Fabien "egg" O'Carroll 2022-03-10 11:02:02 +00:00 committed by Fabien 'egg' O'Carroll
parent 8229f8030e
commit d8295da817
2 changed files with 12 additions and 2 deletions

View File

@ -88,7 +88,7 @@
"@tryghost/members-importer": "0.5.3",
"@tryghost/members-offers": "0.10.8",
"@tryghost/members-ssr": "1.0.22",
"@tryghost/members-stripe-service": "0.8.4",
"@tryghost/members-stripe-service": "0.9.0",
"@tryghost/metrics": "1.0.6",
"@tryghost/minifier": "0.1.11",
"@tryghost/mw-error-handler": "0.1.3",

View File

@ -2256,7 +2256,17 @@
jsonwebtoken "^8.5.1"
lodash "^4.17.11"
"@tryghost/members-stripe-service@0.8.4", "@tryghost/members-stripe-service@^0.8.4":
"@tryghost/members-stripe-service@0.9.0":
version "0.9.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-stripe-service/-/members-stripe-service-0.9.0.tgz#f70ffa3afbd9903f7af8819dcb30eee0a3303c0c"
integrity sha512-sSkYV5Uq2/daAx6+rzxECIARuucfzpYgXQsfpbXEvObMyldslctEiVIo9n/aO7nCB7a9YjdE/75REr/GbLQqdg==
dependencies:
"@tryghost/debug" "^0.1.4"
"@tryghost/errors" "1.2.4"
leaky-bucket "^2.2.0"
stripe "^8.174.0"
"@tryghost/members-stripe-service@^0.8.4":
version "0.8.4"
resolved "https://registry.yarnpkg.com/@tryghost/members-stripe-service/-/members-stripe-service-0.8.4.tgz#e4f7dcdc999fc3310acd7aacb069b2cb1c761a08"
integrity sha512-nuyQRIcXfwANls26uAKporW1BwdjlT4sZAmbxTQXUb2DRtHQeVXJQIY48BV0hg/Hr2nzJBnlnhKGmS1+4VsIkQ==