Fixed bug in getOrderItems where wrong id field was used.