Communication Issues with UPS, PayPal, etc.
Zen Cart comes with a folder of utilities called /extras.
This folder should not be kept on a live site; it should only be present during troubleshooting or debugging.
The following scripts can be run from the /extras folder:
-
curltester.php- Tests cURL communication to some common third party services. Useful parameters forcurltester.phpare:d=1ordetails=1– show CURL connection details – useful for determining cause of communications problemsr=1– show Response obtained from destination server – this may contain an error message, but usually means communication was okayi=1– in conjunction withdorr, will show the detailed curlinfo certificate data from the host being connected to. Helpful for advanced debugging.
-
ipncheck.php- Determines if your server is able to connect TO PayPal in order to respond to an incoming IPN notification. (Note: To check whether PayPal can POST and IPN to your store, run a live transaction.)Common symptoms of bad IPN communications:
- orders not showing up in Zen Cart but PayPal receipt issued when using PayPal IPN module
- echeck updates not completing when using Express Checkout module
Execution of the scripts can be done by entering the following in your browser’s address bar (after uploading the /extras folder):
https://YOURSITE.com/extras/script-name.php
(where script-name is the name of one of the scripts above.)