Ghost/ghost
Fabien "egg" O'Carroll 743228ff1c 🐛 Fixed Portal showing paid Tiers when Stripe not connected
closes https://github.com/TryGhost/Team/issues/2197

Portal was relying on monthlyPrice or yearlyPrice being undefined as a
proxy to determine whether or not to show paid plans, this fixes it to
check for whether or not stripe is enabled.

I did consider using the portal_plans array to filter out unselected
Tiers, but wasn't sure of the repercussions, though it does seem like
the correct fix long term.
2022-11-02 00:11:33 +07:00
..
adapter-manager Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
admin v5.22.2 2022-11-01 09:28:14 +00:00
api-framework Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
api-version-compatibility-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
audience-feedback Updated feedback button links (#15701) 2022-10-26 18:04:11 +02:00
bootstrap-socket Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
constants Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
core 🐛 Fixed upgrading to a paid plan 2022-11-02 00:11:33 +07:00
custom-theme-settings-service Added linking between member and subscription created events (#15693) 2022-10-27 11:44:19 +02:00
data-generator Added option to use existing data when generating demo data 2022-10-27 16:10:02 +01:00
domain-events Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
email-analytics-provider-mailgun Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
email-analytics-service Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
email-content-generator Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
express-dynamic-redirects Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
extract-api-key Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
html-to-plaintext Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
job-manager Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
link-redirects Added X-Robots-Tag header to redirect responses (#15700) 2022-10-27 10:07:36 +07:00
link-replacer Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
link-tracking Added linking between member and subscription created events (#15693) 2022-10-27 11:44:19 +02:00
magic-link Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
mailgun-client Update dependency mailgun.js to v8.0.2 2022-10-25 20:20:41 +00:00
member-analytics-service Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
member-attribution Disabled attribution calculation when tracking is disabled (#15710) 2022-10-27 21:10:03 +05:30
member-events Added linking between member and subscription created events (#15693) 2022-10-27 11:44:19 +02:00
members-analytics-ingress Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
members-api 🐛 Fixed checkout sessions when using Offers 2022-11-02 00:11:33 +07:00
members-csv Removed bluebird from misc packages (#15676) 2022-10-30 15:16:10 +00:00
members-events-service Added linking between member and subscription created events (#15693) 2022-10-27 11:44:19 +02:00
members-importer Fixed rule for import background job detection 2022-10-31 16:31:55 +08:00
members-ssr Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
minifier Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
mw-api-version-mismatch Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-cache-control Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-error-handler Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
mw-session-from-token Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-update-user-last-seen Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-vhost Update dependency supertest to v6.3.1 2022-10-26 02:54:43 +00:00
oembed-service Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
offers Added linking between member and subscription created events (#15693) 2022-10-27 11:44:19 +02:00
package-json Removed bluebird from misc packages (#15676) 2022-10-30 15:16:10 +00:00
payments 🐛 Fixed upgrading to a paid plan 2022-11-02 00:11:33 +07:00
portal 🐛 Fixed Portal showing paid Tiers when Stripe not connected 2022-11-02 00:11:33 +07:00
referrers Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
security Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
session-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
settings-path-manager Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
staff-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
stats-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
stripe Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
tiers 🐛 Fixed Tier description not being set (#15741) 2022-11-01 16:25:55 +07:00
update-check-service Removed bluebird from misc packages (#15676) 2022-10-30 15:16:10 +00:00
verification-trigger Fixed verification trigger usage of Event Repository 2022-11-01 12:06:11 +07:00
version-notifications-data-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00