added PHP version check, modified scope and added validation display messages and order status update fix