Ghost/ghost
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
..
magic-link Published new versions 2021-07-15 18:19:11 +01:00
members-api Published new versions 2021-07-20 12:37:36 +01:00
members-csv Published new versions 2021-07-15 16:34:02 +01:00
members-importer/lib Made complimentary_plan & stripe_customer_id exclusive 2021-07-22 01:53:21 +12:00
members-ssr Published new versions 2021-07-20 10:24:31 +01:00