I have a hook_menu page I redirect to after a successful checkout payment, because I need to do a few things for my application.
However, I don't want people browsing to this page accidentally or maliciously. I only want the page to go through these processes if they have just paid for an order. So how do I get the order id they just paid for, and then check that the payment was successful for that order?
Thanks for the help!
