Setting order payment_state to correct value when no line items