Ghost/ghost
Fabien 'egg' O'Carroll e7484638e3 Ensured that we do not insert orphaned rows (#190)
no-issue

Previously we would blindly put subscriptions into the database when we
received a webhook, which could result in orphaned rows that were not
linked to a customer (and by extension a member)

This updates the logic so that we will only add subscriptions if we have
a record of their customer.

Customers are only added during a checkout.session.completed webhook, at
which point a member is guarunteed, but for formailty and safety against
changes in the flow, the logic has been applied to inserting customers
too.
2020-07-24 15:39:01 +02:00
..
magic-link Published new versions 2020-07-24 13:48:27 +02:00
members-api Ensured that we do not insert orphaned rows (#190) 2020-07-24 15:39:01 +02:00
members-csv Published new versions 2020-07-08 20:23:05 +12:00
members-ssr Published new versions 2020-07-24 13:48:27 +02:00