0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server
Fabien O'Carroll 41acc37865 Made complimentary_plan & stripe_customer_id exclusive
no-issue

When importing Members it is possible to have both the
complimentary_plan and the stripe_customer_id columns set, this can
result in unusual outcomes, for example when importing a customer with a
zero-amount subscription, they would end up with two "comped"
subscriptions, and there would be two "comped" prices in the database.

As we are deprecating the use of "comped" in favour of creating a
subscription with a specific price, we're updating the import to prefer
`stripe_customer_id` column, only using the `complimentary_plan` column
when it is the only of the two columns passed.
2021-05-11 12:33:28 +01:00
..
adapters Moved i18n to shared 2021-05-04 13:03:38 +01:00
api Added support for gating content by member labels and products (#12946) 2021-05-10 19:32:11 +01:00
data Added support for gating content by member labels and products (#12946) 2021-05-10 19:32:11 +01:00
lib Extracted package-json lib to Utils 2021-05-07 12:35:06 +01:00
models Added support for gating content by member labels and products (#12946) 2021-05-10 19:32:11 +01:00
public New logo in Admin (#12768) 2021-03-18 17:27:27 +00:00
services Made complimentary_plan & stripe_customer_id exclusive 2021-05-11 12:33:28 +01:00
views Added new, simpler, linear boot process 2021-02-08 11:56:44 +00:00
web Moved i18n to shared 2021-05-04 13:03:38 +01:00
analytics-events.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
ghost-server.js Refactored urlUtils out of ghost-server 2021-05-05 14:24:59 +01:00
notify.js Refactored notify to send started + ready 2021-02-19 20:42:10 +00:00
overrides.js
update-check.js Moved i18n to shared 2021-05-04 13:03:38 +01:00