I am working on an ecommerce store which is based Drupal Commerce. On site, I have allowed anonymous checkouts which work fine. However, for some products with unsual dimensions( for shipping purposes) I have designed a way to stop user from selecting shipping method and pay for the orders that contain particalar products. So when a user tries to checkout, the order status changes to custom "Pending Shipping Cost Review" state. In that state, store owner adds the amount of shipping himself and change the order status to "Checkout:Payment" so that a user can pay for the order..
I have made a few rules to send an email to user whenever an order status changes to Pending Shipping Cost Review and when the order status is changed from that to Checkout:Payment .
Now here is the problem. The link checkout/[order_id] simply gives me "Page not Found" error.
So what I want is to allow anonymous user to access that old order and pay for that order and upon payment update the order status to completed.
Can anybody please help me which hook to use to allow anonymous users to pay for the order based on order ID or anything that can help me proceed in the right direction? Thanks a lot in advance.