Ghost/core/server/api/canary
Rishabh Garg e17f5004cc
🐛 Fixed unable to create new prices on switching Stripe account (#13013)
closes https://github.com/TryGhost/Team/issues/724
closes https://github.com/TryGhost/Team/issues/739

Currently, site owners are allowed to disconnect Stripe if they don't have any active subscriptions for a member. On disconnect, all stripe related data for the old account in DB should be cleared as using Stripe id for old account can cause weird failures due to incorrect Stripe key being used. This was also causing site owners to not be able to create new prices after connecting to new account as it ended up using old stripe product id which failed on Stripe request.
2021-06-08 21:28:16 +05:30
..
utils Handled empty stripe price object in API 2021-06-08 20:59:39 +05:30
actions.js Updated canary actions endpoint 2019-08-14 17:40:36 +08:00
authentication.js Updated setup flow to rename default product 2021-05-10 13:59:00 +05:30
authors-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
config.js Fixed max-api-complexity linting warnings for site and config APIs (#12982) 2021-05-26 12:10:19 +01:00
db.js Refactored exporter to use "allowlist" table filtering 2021-03-25 16:46:56 +13:00
email-preview.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
email.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
identities.js Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00
images.js Removed global.Promise override (#12182) 2020-11-04 10:55:47 +00:00
index.js Supported monthly & yearly price in Products API 2021-06-03 17:08:02 +01:00
integrations.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
invites.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
labels.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
mail.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
members.js 🐛 Fixed creating members linked to stripe customers 2021-05-20 13:44:35 +01:00
memberSigninUrls.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
membersStripeConnect.js Added precondition for Stripe Connect Admin API 2021-05-20 12:08:45 +01:00
notifications.js Fixed error being saved in notification settings 2021-06-03 12:54:09 +04:00
oembed.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
pages-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
pages.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
posts-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
posts.js Added ability to send a newsletter to members with a certain label or product (#12932) 2021-05-07 11:56:41 +01:00
preview.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
products-public.js Supported monthly & yearly price in Products API 2021-06-03 17:08:02 +01:00
products.js Supported monthly & yearly price in Products API 2021-06-03 17:08:02 +01:00
redirects.js Added .yaml format support in redirects configuration (#12187) 2020-11-04 12:08:32 +13:00
roles.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
schedules.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
session.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
settings-public.js Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00
settings.js 🐛 Fixed unable to create new prices on switching Stripe account (#13013) 2021-06-08 21:28:16 +05:30
site.js Fixed max-api-complexity linting warnings for site and config APIs (#12982) 2021-05-26 12:10:19 +01:00
slack.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
slugs.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
snippets.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
tags-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
tags.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
themes.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
users.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
webhooks.js Moved i18n to shared 2021-05-04 13:03:38 +01:00