At first I used Paypal Payment Pro and it returned to this url checkout_failure.php?shipping=fail
Then I tried Paypal Express Only payment gateway and I got redirected to the same url. So I think I had tried the express checkout button. Isn't it?
I have added the code to checkout_failure.php and there is response too. I attached the checkout button I used.