Customer id is always null in the order

in sandbox customer id in orders has value but in production its always null kindly help

In production how is the payment being taken? Depending on how the payment is taken and if the customer is set at the time of payment will determine if a customer_id is included in the order. :slightly_smiling_face: