My custom module observes the sales_order_place_after
event, and creates a customer and associates the customer with the order by setting customerId
for the order.
What works?
- Order is placed
- Customer is created
- The
customerId
is updated in the order database
What doesn't work?
- The
customerId
is instantly set back toNULL
by another script
How can I find out what script updates the customerId
to NULL
again, after my observer is done running?