Showing results for 
Search instead for 
Did you mean: 

Magento PayPal IPN postback failure

Magento PayPal IPN postback failure

Hi everybody,


I have a Magento e-commerce website updated with the latest security patches. It runs on linux machine with openSUSE 12.3 and:

PHP 5.3.17
Apache 2.2.29
mysql  Ver 14.14 Distrib 5.5.33
OpenSSL 1.0.1j

The PayPal payment flow always worked fine till a month ago. Suddenly, without any code change, the orders stopped moving from the Pending Payment state to Processing. Customers are still able to pay for the order, however they are not able to see the order in their personal area and they do not receive the corresponding automatic email.

Since the problem is just when users select the PayPal payment method during checkout (PayPal Pro is configured), I enabled the PayPal debug log from the admin panel and started analyzing logs. What I get in the file is a bunch output like this for every order with PayPal:

2016-09-26T07:09:59+00:00 DEBUG (7): Array (
[ipn] => Array
        [address_city] => XXX
        [address_country] => XXX
        [address_country_code] => XX
        [address_name] => XXX XXX
        [address_state] => XX
        [address_status] => unconfirmed
        [address_street] => XXXXX
        [address_zip] => XXX
        [business] =>
        [charset] => windows-1252
        [custom] => 
        [first_name] => XXX
        [handling_amount] => 0.00
        [invoice] => XXXXX
        [ipn_track_id] => XXXXX
        [item_name] => 
        [item_number] => 
        [last_name] => XXXX
        [mc_currency] => EUR
        [mc_fee] => 4.06
        [mc_gross] => 148.34
        [notify_version] => 3.8
        [payer_email] =>
        [payer_id] => XXXX
        [payer_status] => unverified
        [payment_date] => 12:49:56 Sep 25, 2016 PDT
        [payment_fee] => 
        [payment_gross] => 
        [payment_status] => Completed
        [payment_type] => instant
        [protection_eligibility] => Eligible
        [quantity] => 1
        [receipt_id] => XXX-XXX-XXX-XXX
        [receiver_email] =>
        [receiver_id] => XXXXXXXXX
        [residence_country] => XX
        [shipping] => 0.00
        [tax] => 26.75
        [transaction_subject] => 
        [txn_id] => XXXXXXXXXXXXXXX
        [txn_type] => pro_hosted
        [verify_sign] => XXXXXXXXXXXX

[postback] => mc_gross=148.34&invoice=800000925&protection_eligibility=Eligible&address_status=unconfirmed&payer_id=XXXXXX&tax=26.75&address_street=via+Val+Senio+12&payment_date=12%3A49%3A56+Sep+25%2C+2016+PDT&payment_status=Completed&charset=windows-1252&address_zip=XXXXX&first_name=XXX&mc_fee=4.06&address_country_code=XX&address_name=XXXX+XXXX&notify_version=3.8&custom=&payer_status=unverified&
[postback_to] =>
[postback_result] => 
[exception] => PayPal IPN postback failure. See paypal_unknown_ipn.log for details.
[__pid] => 6037 )

Hence I found out that there was this exception PayPal IPN postback failure. See paypal_unknown_ipn.log for details.. I called the PayPal support that verified that the configuration both in the PayPal account and in my Magento website was correct. However nothing changed and the orders paid with PayPal are still not correctly processed.

I tried with this solution but still the problem wasn't solved (hence i reverted back the changes).

Does anybody have an idea of how to solve this?


Thank you in advance!



Re: Magento PayPal IPN postback failure

The easiest solution to this issue with Paypal IPN is to use this extension:


Ensure to follow the instructions after installation to change your PayPal IPN address to:

OpenSource Expert | OpenSource Technologies |
Magento plugins released: