Hello all,
I'll try and make this easy to read:
Setup:
PHP5.x on FastCGI, MySQL5.x, Server 2008 x64, IIS 7.0
I've set up a fresh ZC 1.3.8a purely for the purpose of troubleshooting a PayPal IPN problem. Nothing is installed other than two test products and the basic settings to make PayPal IPN work.
Problem:
Paypal IPN orders have no products in them. If PDT is enabled, then two orders are listed, the second now with products.
With only PayPal IPN enabled:
- Paypal processes payment
- Order is visible to customer and admin
- No products are in the order
- No entry on IPN screen
- User ip shows as 118.92.182.28 - 66.211.170.66 (buyer - paypal)
With PayPal IPN and PDT enabled:
- Paypal processes payment
- Order is visible same as above
- A second order is also visible
- Products are in the second order
- Entry appears on IPN screen
- User ip shows as 118.92.182.28 - 118.92.182.28 (buyer - buyer)
Notes:
I've listed the user ip's there because I noticed that they are different in each case - one with the Paypal ip and one without - thought it might provide a clue.
Each order has a unique ID showing that each purchase with PDT enabled creates one incomplete order and a separate complete order.
Debug Logs:
My debug logs here show one or two purchases with PDT off and then enabled for the last one (I think).
http://www.dnn101.com/includes/modul.../logs/logs.zip
Extras:
http://www.dnn101.com/extras/phpinfo.php
http://www.dnn101.com/extras/ipncheck.php
http://www.dnn101.com/extras/curltest.php (longer timeout applied)
http://www.dnn101.com/extras/curltest.php?paypal=1
Additional notes:
1. During setup, I had the error described in the following thread and applied the code fix - seems to work.
http://www.zen-cart.com/forum/showthread.php?t=82009
2. The following thread of mine regarding curl time-outs resulted in discovering that my new dedicated server has a strange connection problem specifically to zen-cart.com. My host, Server Intellect, has thus far been unable to figure out why, but I've not found any other sites that have the problem, and Paypal.com also loads fast, so I'm unsure whether it even matters. The difference can be seen on the two curltest.php links above. The first, to Zen-Cart.com is slow, but the second, to PayPal, is fast.
http://www.zen-cart.com/forum/showth...l+debug&page=2
Questions:
If the above-mentioned connectivity issue to zen-cart.com was also affecting Paypal payments, then would that perhaps create the result I'm seeing?
I either need to get just IPN working, or use PDT and stop it from creating two orders.
Thanks for any advice on this.
Rob
Bookmarks