PayPal say
Currently your IPN is failing due to it's response of an HTTP 404 error where PayPal needs a 200 OK response
which is logical since the url isn't where the file is but is where the module says it should be .............
PayPal say
Currently your IPN is failing due to it's response of an HTTP 404 error where PayPal needs a 200 OK response
which is logical since the url isn't where the file is but is where the module says it should be .............
I didn't want to mess with the zen cart requirements so I put a notify_url pointing to the right directory on a button and now have a log :) A nice clear one saying exactly what happened so it should be ok
It hasn't appeared in the IPN history though - I don't know how quickly that should happen.
nicely showing sent in the IPN history so I'm happy :)
Thank you DrByte for pointing me in the right direction :)
I'm still curious about the handler picking up zencart IPNs sent to the site rather than the directory the shop lives in.
If you've got a different handler set up for your "non Zen Cart" paypal-button transactions, then you need to tell PayPal to use THAT handler's URL in your PayPal IPN Notification URL setting.
Zen Cart doesn't care what IPN Return URL you have, as long as it's turned ON. Zen Cart always supplies the correct URL to PayPal with every transaction, regardless of what IPN Return URL you've set up inside PayPal.
Zen Cart's "paypal setup instructions" tell you to set it to Zen Cart's ipn_main_handler.php file BECAUSE MOST people don't have any other handler, and you can't leave the URL field blank. But if you're using another handler for processing buttons that come from transactions that did NOT initiate from Zen Cart (such as your custom "buttons"), then you need to use THAT handler for your Paypal profile IPN Notification URL setting.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thank you :)
I didn't want to mess with the zen cart settings but now life will be a lot simpler :)
btw I've just discovered that the latest Opera update 12.0 makes it almost impossible to use for admin as the drop down lists now show almost off-screen to the left. ah well - off to another browser ......... or change back to the last version .........