IPN with notify_url variable works in Sandbox but not on live site? Why?

SoLoGHoST
Contributor
Contributor

Ok, so I've been trying to figure this problem out for almost 2 weeks now, located here:  http://stackoverflow.com/questions/17498654/paypal-ipn-issue-but-works-in-sandbox-fine

 

Basically, I have tested this in Sandbox mode and it works perfectly fine, but when setting $use_sandbox = false; in the ipnlistener.php script and testing on the actual paypal servers, it doesn't work at all!  This is sooo damn frustrating!

 

Basically, I have a different Notification URL in my profile settings that is Enabled, but within the button code, in Step 3, I have the following in Advanced variables section:

 

notify_url=http://mydomain.com/index.php?page=paypaltest;sa=paypal_verify
rm=2

 

Ok, so I look at the IPN History after someone makes a purchase, and it's in there, so I click on the Message ID and it says, HTTP Response code = 200, and it was Completed successfully, and the Notify URL is exactly as it should be, however, I get No Errors in any way, shape, or form.  Browsing to the notify_url manually in my web browser displays an empty page (I suppose that it should since it's linking to the IPN Listener).

 

I posted up all of my code on this page at stackoverflow here:  http://stackoverflow.com/questions/17498654/paypal-ipn-issue-but-works-in-sandbox-fine

 

When testing in Sandbox, I just changed the $use_sandbox variable to true and it works perfectly, adding in the database row as it should, but, like I said, it doesn't work at all on the LIVE PAYPAL SITE!

 

What is wrong here??  Is there something wrong with the PayPal servers?  Any help on this, whether here, or at stackoverflow, is greatly appreciated!  I'm surprised that PayPal doesn't have a complete example of basic implementation of the IPN or explain how to set up a button with it's own IPN at all!!  Sure, I've seen documentation already that explains what IPN is and how it works, but not much on explaining how to set up IPN in PayPal and actually have it working on the live Server.  Like I said, I have a url set for my IPN and it's enabled, but this handles my forums subscriptions, so it needs to stay there, but I need specific buttons to have their own IPN url, which is why I used the variable:  notify_url in Step 3 of the button's creation.  But I believe, regardless of this, it is still going to the url for my subscriptions, and not to the actual notify_url of the button.

 

Please someone help me here...

Login to Me Too
1 REPLY 1

snowshoe
Frequent Advisor
Frequent Advisor

Suggest trying the Developer's forum or Tech Support:

 

Developer's Forum:

http://stackoverflow.com/questions/tagged/paypal

 

Tech Support:

https://ppmts.custhelp.com/app/home

 

 

This forum is geared more for less technical issues.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.