How can I securely validate the customer has entered the correct order ID when making a return?
At the moment I do this:
if ($return_info['order_id'] && $this->customer->isLogged() && $this->customer->getId() == $return_info['customer_id']) {
How should I do this for guest checkout when the customer is not logged in?