Hi I recently upgraded to PHP 5.3.2 and now Paypal IPN is no longer working. When somebody places an order, the IPN url is called but the order is not added. If I login to Paypal and resent the IPN, then the order is aded without issue. I can also get the raw data Paypal has posted, repost it using curl and the order also gets added into the system.
I have enabled the logging and on the first IPN call, the log stops at Breakpoint: 5 - Transaction type (txn_type) = unique. If I resend the IPN call then the next log carries on past breakpoint 5 showing the new order row being created.
I have added some extra logging trying to track down the issue. The scipt stops within ipn_main_handler.php on the line
Code:
$shipping_modules = new shipping($_SESSION['shipping']);
.
If I look at the shipping module, it basically initialises any modules that are enabled. The only shipping module I have is flat. So within the shipping module the execution stops at
Code:
$GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class'];
where class is flat. I can then dig into flat.php and there are no issues in the constructer function, it gets to the bottom without issue.
Any ideas?
Thanks in advance.
Bookmarks