Sometimes we have a problem with missing transaction ID for PayPal orders.
I found out that it can be caused by a 503 error after API call to /nvp. Here's my log (I removed sensitive data)
[2021-04-03 19:15:50] report.DEBUG: array ( 'url' => 'https://api-3t.paypal.com/nvp', 'DoExpressCheckoutPayment' => array ( 'TOKEN' => 'EC-9U50260**********', 'PAYERID' => 'S72***********', 'PAYMENTACTION' => 'Sale', 'AMT' => '21.59', 'CURRENCYCODE' => 'USD', 'BUTTONSOURCE' => 'Magento_Cart_Enterprise', 'NOTIFYURL' => 'https://www.mypillow.com/paypal/ipn/', 'RETURNFMFDETAILS' => 1, 'SHIPPINGAMT' => '0.00', 'ITEMAMT' => '19.99', 'TAXAMT' => '1.60', 'BUSINESS' => NULL, 'EMAIL' => '*****@*******.net', 'FIRSTNAME' => '****', 'LASTNAME' => '*****', 'MIDDLENAME' => NULL, 'SALUTATION' => NULL, 'SUFFIX' => NULL, 'COUNTRYCODE' => 'US', 'STATE' => 'IL', 'CITY' => 'Hinsdale', 'STREET' => '******', 'ZIP' => '*****', 'PHONENUM' => '', 'SHIPTOCOUNTRYCODE' => 'US', 'SHIPTOSTATE' => 'IL', 'SHIPTOCITY' => 'Hinsdale', 'SHIPTOSTREET' => '******', 'SHIPTOZIP' => '******', 'SHIPTOPHONENUM' => '', 'SHIPTOSTREET2' => '', 'STREET2' => '', 'SHIPTONAME' => '******', 'ADDROVERRIDE' => 1, 'METHOD' => 'DoExpressCheckoutPayment', 'VERSION' => '72.0', 'USER' => '****', 'PWD' => '****', 'SIGNATURE' => '****', ), 'response' => array ( '<html> <head><title>503 Service Temporarily Unavailable</title></head> <body bgcolor' => '"white"> <center><h1>503 Service Temporarily Unavailable</h1></center> <hr><center>Avi Vantage/</center> </body> </html>', ), ) [] []
Are there any fixes for that? This API call is never called again to get the correct data after 503 is done.
I would like to add that the situation is very rare, but our client is worried.
Hi @GrzegorzM,
If you have IPN enabled and receive payments from different sources (eBay, Magento and others) to the same PayPal account, PayPal unfortunately continues to try sending notifications related to these order to the Magento store, where these orders don't exist.
A possible solution is to create a centralized IPN receiver, please refer to this page for a very useful script to get you started.
Hope this can help you! Let me know if you need further assistance.
________
If issue solve, Click Kudos & Accept as Solution.