Ghost/core/server/services/members/importer
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
..
batch-import.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
email-template.js Fixed member import email heading spacing 2021-03-22 18:15:11 +01:00
index.js Made complimentary_plan & stripe_customer_id exclusive 2021-05-11 12:33:28 +01:00
labels.js Refactored members imporeter in preparation for jobs 2020-08-27 21:47:00 +12:00