Ghost/ghost/members-importer/lib
Fabien O'Carroll 6a1d69c471 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-07-22 01:53:21 +12:00
..
batch-import.js Moved i18n to shared 2021-07-22 01:53:21 +12:00
email-template.js Fixed member import email heading spacing 2021-07-22 01:53:21 +12:00
index.js Made complimentary_plan & stripe_customer_id exclusive 2021-07-22 01:53:21 +12:00
labels.js Refactored members imporeter in preparation for jobs 2021-07-22 01:53:21 +12:00