0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core
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
..
client@16fb465b10 Updated Ghost-Admin to v4.4.0 2021-05-04 11:55:36 +01:00
frontend Updated theme middleware to use products api 2021-05-07 16:32:57 +01:00
server Made complimentary_plan & stripe_customer_id exclusive 2021-05-11 12:33:28 +01:00
shared Added support for gating content by member labels and products (#12946) 2021-05-10 19:32:11 +01:00
app.js Added Sentry to new boot process 2021-02-19 09:20:41 +00:00
boot.js Moved i18n to correct location in boot process 2021-05-05 16:13:26 +01:00
bridge.js Improved theme locale handling 2021-05-05 16:13:26 +01:00