News:

Looking for documentation? Take a look on our wiki

Main Menu

Paypal IPN - Notify.php - permissions/htaccess

Started by Mizpah, April 09, 2009, 12:51:35 PM

Previous topic - Next topic

Mizpah

Hi Guys,

I understand my notify.php script to be:

http://www.mywebsite.com/administrator/components/com_virtuemart/notify.php

What permissions do I need to set this to ?

It is currently 755, I am am however wondering what I should see when I point a browser to it ?

Currently I see a white page and thats all!


I have seen a note in the sticky, about .htaccess allowing access to the file - what am I looking for here ?

As it stands now, the paypal process works on the sandbox (Customer side), but not payments ever get confirmed in the backend.

Using the PayPal IPN Simulator, it tells me everytime that an IPN is sent, but I never recieve anything!


Many thanks in advance for any help  :D



Mizpah

ajredding

If you are using the default code that comes with VirtueMart then there is a big reason you aren't receiving any IPN notifications.  The code by default on VirtueMart is rejecting the transaction because it's not matching the "source" servers. 

If you take a quick look at this post http://forum.virtuemart.net/index.php?topic=52872.msg174360#msg174360

You'll see the change I'm talking about.

As far as permission for your Notify.php file itself.  It should be read only to public. 
RAW Media Group - Website design - http://www.rawmediagroup.com
Cubed Hosting - Website Hosting - http://www.cubedhosting.com

Mizpah

Thanks Ajredding,

I *think* I applied that code change - however, I will go look at my code base and make sure, I have made so many assorted changes recently, its hard to be sure! I will also check my perms on notify.php - I appreciate the responce!