PDA

View Full Version : Paypal IPN, linux


CraigR
04-13-2009, 10:34 AM
I set up my paypal IPN (apparently successfully) and after a bit of testing, was quite confident it was working OK.

I recently changed from a Windows to a Linux server, (same provider, Streamline), to enable me to do some URL rewriting and help with SEO.
Apart from a few tweaks, ensuring case sensitivity, all seems ok.

After some more testing, it appears that the scripts on my paypal IPN page aren't running, as my order status is not changing and no email or stock updates are occuring.

Nothing else has changed, so I believe it must be down to moving to linux


Do i need to adjust folder permissions, I didn't need to do anything on whilst using the windows ?

Ray Borduin
04-13-2009, 11:30 AM
Nothing that I know of, are you sure the url didn't change and/or wasn't updated properly in your paypal profile.

CraigR
04-13-2009, 11:43 AM
paypal profile hasn't changed at all.

best way to debug ?

if i change my ecart return page to my paypal ipn page i presume i could at least force the page to open and check for errors.

is there another (better) way ?

Ray Borduin
04-13-2009, 11:52 AM
That won't really help. That is the equivalent of just browsing the ipn page directly, which you could try but that probably won't tell you much.

You should use paypal sandbox to test your IPN page. see: http://www.paypal.com/cgi-bin/webscr?cmd=p/sell/ipn-test-outside

CraigR
04-13-2009, 11:42 PM
i found the problem.

i had a stripslashes function which was being redeclared, hence my IPN page was only part loading.

the funny thing is, the page was identical to before, and it ran ok under a windows environment.