updated the method to get the order id from "pay for order" page