This has been a real problem for me, too. I tried removing the paypal ipn and then reinstalling it. This did not work. I tried installing the 'stuck orders' contribution, but that did no real good because all i got was a string of unintelligable encrypted information.
this is a HUGE and BAD problem, because now no orders at all are showing up. First, only the ones when the customers didn't return manually from clicking 'return to merchant' in paypal. now that i modified paypal account to automatically return to my merchant page - NONE of the orders are getting returned. This website only takes paypal. Profitibility is coming to a complete halt.
In order to create a mechanism that allows me to capture information if an order is placed, i write a text file to the server in a new folder with the contents of the order in place. this is just until one of the programming gurus of Zen can explain a fix for this issue. At this point, the file is writing OK.
Here's the problem, i need to capture some info about each item in the order. i want to write a description of each order - and put in the attribute information. but i only get the attribute for the first product. if there are multiple products in the order, the first item in the order shows the attribute but the others do not.
in the code in the orders.php page, there is another variable and incremental count on a value of j. this is the code from that file: orders.php (line 401).
$order->products[$i]['attributes'][$j]['option'] . ': ' . nl2br($order->products[$i]['attributes'][$j]['value']
What follows is the code that i have now - it's based heavily on the code above:
$description = '';
for ($i=0; $i<sizeof($order->products); $i++) {
$description .= $order->products[$i]['name'] . ' ' . $order->products[$i]['attributes'][$i]['option'] . ': ' . $order->products[$i]['attributes'][$i]['value'] . '(qty: ' . $order->products[$i]['qty'] . ') + ';
}
here's an example of what's getting written:
10232006,firstname,lastname,me*me.com,street address,city,state,zip,Genetic size: Xtra Large(qty: 1) + Bar Code Shirt : (qty: 1) + Explosive Tee : (qty: 1) + Pocket Watch : (qty: 1) ,70
can one of you codemasters give me a tip as to why the attribute of only the first item - in this example - the genetic tee shirt size comes through, but the others - do not come through.