Create order and update subscription records
Create order and update subscription records
Subscription updates and failed payments leave customer records and orders inconsistent. Log plan changes, create replacement orders, and alert billing so records reconcile before the next billing run.