Solved

Paypal IPN Being Blocked/Not working in Production

Posted on 2013-06-24
4
347 Views
Last Modified: 2016-03-24
I am trying to get Paypal IPN to work.  Everything seems to work fine in sandbox mode.  Information is being passed back by paypal and I am able to see the details.  When I switch the urls over to production.  I get nothing.  It doesn't even hit the server.  I see nothing in the IIS logs.  Just nothing.  I can confirm that the urls are correct, etc.   I have written my webhost to ask about blocked domains in the firewall, etc.

I just have no idea what else to look at

I am using Windows 2008.  Code does not work using coldfusion or php examples.
0
Comment
Question by:theideabulb
  • 2
4 Comments
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 39271906
The PayPal IPN script is an asynchronous script that is started by a POST-method request from PayPal when a payment is received.  Here are some ways to help debug it.

1. Check your PayPal set up to be sure that the URL of the IPN is exactly correct.
2. Since the IPN is unable to be started from the browser, you need some way to visualize the messages that it might issue.  Here is how I do that
2.a At the top of the script add error_reporting(E_ALL)
2.b Immediately after, add ob_start()
2.c At the logical end of the script, add something like this to capture the buffers and email the data to you.
$msg = ob_get_clean();
mail('You@Your.org', 'IPN Message', $msg);

Open in new window

3. Try starting the IPN from the web address bar.  It should fail, but at least you will be able to verify that there are no parse errors, and that the email can send you the diagnostic messages.
4. Go into the IPN script and add echo and var_dump() statements to visualize the data from PayPal.  The output of these statements will be sent to you in the email messages.

If you do all of that and it's still a no-show, recheck the PayPal settings in your account.
0
 
LVL 58

Expert Comment

by:Gary
ID: 39272068
Are you using your real credentials or the sandbox credentials - they are different (if I remember correctly)
0
 

Accepted Solution

by:
theideabulb earned 0 total points
ID: 39282241
I figured out that it as local to the domain.  It was a filter in the web.config that was blocking or doing something with paypal.  As soon as I removed some settings that didn't look like they were needed, it worked.
0
 

Author Closing Comment

by:theideabulb
ID: 39576157
I figured out exactly what it was
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Coldfusion RegEx 8 56
How to automatically insert items to sell into Ebay.com 2 26
SSL https .net web site force redirect 3 38
Setup IIS website to use ADFS authentication 25 45
Often people are aiming at development of perfect Magento websites. Though, it is easier said than done. You know what’s much easier? To ruin everything. It can be done in seconds. Many of us experimented with design, tried to change some values dir…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now