Jump to content
Sign in to follow this  
rob0362

Paypal IPN v2.2 NOT updating stock or sending emails

Recommended Posts

PLEASE HELP.

 

I have osCommerce Online Merchant v2.2 RC2a with Paypal IPNv2.2 and the payments work fine but my three main issues are

 

1.) the stock is not being updated

 

2.) The emails with the orders are not being sent

 

and

 

3.) the status of the order is not being changed it is as if the they are not calling the IPN.php file.

 

I and a moderate coder and have above average tech skills but this was working great until I have to reinstall software a week ago and since then out of 30 order 3 have worked right

 

Please anysuggestion will be helpful

 

Thanks

Share this post


Link to post
Share on other sites

Make sure IPN are recd.

The inventory handling code is in that page.

 

Satish


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites

So how do you "check to make sure" that the IPN is being received?

Where would we look?

 

I am sure that for a veteran OSC developer this is an easy question, but for those o fus budding developers... it's a toughie.

Share this post


Link to post
Share on other sites

So how do you "check to make sure" that the IPN is being received?

Where would we look?

 

I am sure that for a veteran OSC developer this is an easy question, but for those o fus budding developers... it's a toughie.

 

 

I also have the same problem.

The problem started when I transferred my site to the new server having PHP version 5.2.6. Not sure what is going on. I changed it back to the test mode and still facing the same problem.

 

In my ipn.php, I tried to uncomment the script below:

 

/*
function debugWriteFile($str,$mode="a") {
   $fp = @fopen("ipn.txt",$mode);  @flock($fp, LOCK_EX); @fwrite($fp,$str); @flock($fp, LOCK_UN); @fclose($fp);
 }

 $postString = ''; foreach($_POST as $key => $val) $postString .= $key.' = '.$val."\n";
 if($postString != '') {
   debugWriteFile($postString,"w+");
 }
*/

 

Then, I uploaded ipn.txt on the root directory as define in the script.

I tried another order, then the order info write to ipn.txt file. But I didn't receive any email from my order.

 

 

Any help would be much appreciated. Thanks in advance.

Edited by raygun

Share this post


Link to post
Share on other sites
Guest

PLEASE HELP.

 

I have osCommerce Online Merchant v2.2 RC2a with Paypal IPNv2.2 and the payments work fine but my three main issues are

 

1.) the stock is not being updated

 

2.) The emails with the orders are not being sent

 

and

 

3.) the status of the order is not being changed it is as if the they are not calling the IPN.php file.

 

I and a moderate coder and have above average tech skills but this was working great until I have to reinstall software a week ago and since then out of 30 order 3 have worked right

 

Please anysuggestion will be helpful

 

 

Thanks

 

Also having this issue. If anyone can direct me to a helpful thread, I would appreciate it. LW

Edited by lcwk86

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×