Published: June 13, 2017
Last updated:

How to install SUPEE-8167 without SSH

SUPEE-8167: New Patch for PayPal Instant Payment Notification (IPN) Changes. Upgrade to 1.9.3.3 or SUPEE-8167 by June 30, 2017 to Avoid Service Disruptions – 6/13/2017 As of June 30, 2017, PayPal Instant Payment Notifications will no longer allow you to use HTTP to post messages back to PayPal for verification. To comply with these changes, all merchants using PayPal must upgrade to Community Edition 1.9.3.3 or apply the SUPEE-8167 patch. Updates must be in place by June 30, 2017 to avoid any service disruptions.
If you have SSH access, it would be more simple to apply the patch via SSH. If you have no SSH access to apply the patch, you can simply upgrade your installation to Magento 1.9.3.3 version which includes all the latest security patches (SUPEE-5344, SUPEE-5994, SUPEE-6285, SUPEE-6482, SUPEE-6788, SUPEE-7405, SUPEE-8788, SUPEE-9652, SUPEE-9767). If Magento upgrade is not possible in the moment due to some reason you still can apply the patch via FTP/sFTP upload as shown in this article. If you wish to save time and have us to install these patches for you, simply click here to order installation.  

Preparations

 

Applying Magento patches via FTP/sFTP or FileManager / File Upload

To apply patches in this way we simply replace changed files. This way can not be used blindly if you or your developers have changed any core Magento files. Such changes should be re-applied to patched files, or you loose these changes.
Note: To the moment, the patch have no any dependencies and can be installed any time with any set of installed patches or without any patches.
The following file is changed by SUPEE-8167:
app/code/core/Mage/Paypal/Model/Ipn.php
  To install the patch via FTP/File Upload
  • select patch bundle archive corresponding to your Magento version from the table below and unpack it
  • upload all files and folders to Magento root directory of your store, replacing all files
Magento versionSUPEE-8167
1.9.3.2SUPEE-8167-1.9.3.2
1.9.3.1SUPEE-8167-1.9.3.1
1.9.3.0SUPEE-8167-1.9.3.0
1.9.2.4SUPEE-8167-1.9.2.4
1.9.2.3SUPEE-8167-1.9.2.3
1.9.2.2SUPEE-8167-1.9.2.2
1.9.2.1SUPEE-8167-1.9.2.1
1.9.2.0SUPEE-8167-1.9.2.0
1.9.1.1SUPEE-8167-1.9.1.1
1.9.1.0SUPEE-8167-1.9.1.0
1.9.0.1SUPEE-8167-1.9.0.1
1.8.1.0SUPEE-8167-1.8.1.0
1.7.0.2SUPEE-8167-1.7.0.2
1.6.2.0SUPEE-8167-1.6.2.0
1.6.1.0SUPEE-8167-1.6.1.0
1.5.1.0SUPEE-8167-1.5.1.0
1.5.0.1SUPEE-8167-1.5.0.1
1.4.2.0SUPEE-8167-1.4.2.0
1.4.1.1SUPEE-8167-1.4.1.1
Downloads for other versions added to table on demand when we patch certain version via file upload for the first time.  

Check if your cURL PHP library have TLS1.2

PayPal switching to TLS1.2 only on June 30, so it is important to verify that your Magento still will be able to connect to PayPal. Navigate to PayPal payment settings page in Backend and check if you have warnings as described in
cURL php5 module update in Magento for PayPal changes by June 30th, 2017  

Verification and flush of Magento PHP opcode cache

Flush Magento cache: Navigate in Magento backend to System > Cache Management and click on Flush cache button. If you use PHP opcode caches (OPCache/APC/XCache/eAccelerator) make sure to flush it after patching (or restart webserver), otherwise code will continue to run from caches. Test that your store is working. If you have any difficulties with applying the patches please let us know in comments, so we can find the solution together.  

Posted in: Magento Maintenance

53 votes, 5.00 avg. rating (99% score)