e7484638e3
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. |
||
---|---|---|
.. | ||
magic-link | ||
members-api | ||
members-csv | ||
members-ssr |