Mark this issue has nothing to do with our code or payment_verification.php
The cancel_return variable is defined in the payment template which is used by payment.php a totally different script.
Your issue is because paypal is not passing the correct cancel_return url which is clearly defined so this seems like a total paypal issue.
There site is littered with issues with cancel_return url issues. There is nothing I can give you to work if there site does not work right as we have no control over paypal. All I can do is code our code to match what they tell us and clearly that is defined as I see correctly. https://cms.paypal.com/us/cgi-bin/?&..._htmlvariables
I have relooked at paypal and our payment template seems to be coded correctly to pass a cancel_return url
Content visible to verified customers only.