added placeOrder call to plugin