cancel
Showing results for 
Search instead for 
Did you mean: 

How validate if SUPEE-8167 was succesfull installed?

How validate if SUPEE-8167 was succesfull installed?

Hi, 

 

I installed the patch SUPEE-8167 with no errors. And the file \app\code\core\Mage\Paypal\Model\Ipn.php was changed to the new postbackurl: https://ipnpb.sandbox.paypal.com/cgi-bin/webscr.

 

Now i'm trying to test it, but i'm still redirected to the same url: https://www.paypal.com/cgi-bin/webscr.

Is this correct or do i need to do something else?

 

5 REPLIES 5

Re: How validate if SUPEE-8167 was succesfull installed?

https://www.magereport.com/ is a good website to  check patches for your store if your store is lacking any of the security patches it will display lack patches of your store.

 

If your store with display above patch is not installed then you have to install patch again.

 

Thanks.

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: How validate if SUPEE-8167 was succesfull installed?

Thanks, for the response.

 

This is functional and not a security issue.

 

And most important, i want to validate it first on our test environment, that isn't accessible to magereport.

Re: How validate if SUPEE-8167 was succesfull installed?

After applying patch,
Your core file will be modified,

app/code/core/Mage/Paypal/Model/Ipn.php

Upload patch files in the root of Magento system.
Create one new php file for test our patch from browser

create testpatch.php file  in your root of system,

<?php
echo "Test my patch file";
passthru("/bin/bash PATCH_SUPEE8167.sh");
?>


Name should be PATCH_SUPEE8167.sh
Run file from browser,
http://127.0.0.1/testpatch.php

You should receive following screen once you run testpatch.php from the browser,

if patch applied successfully,
display below message,
Patch was applied/reverted successfully.

otherwise its display error message.

 

If issue solved, click Kudos and Accept as Solution.

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: How validate if SUPEE-8167 was succesfull installed?

The installation was succesfull:

Patch was applied/reverted successfully.

 

But checking the patch i'm expecting to be redirect to https://ipnpb.sandbox.paypal.com/cgi-bin/webscr and i'm still going to https://www.sandbox.paypal.com/cgi-bin/webscr.

Re: How validate if SUPEE-8167 was succesfull installed?

@joaoamendes, Your patch was applied successfully. I don't know why your url is redirect to other site but your patch were applied successfully.

You can clear cache and check.

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial