IPN management fails at least since September 8th
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've tha same problem, and looking to the documentation here : https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNImplementation/#specs
If I understand well, I thing the verify address has moved to https://ipnpb.paypal.com/cgi-bin/webscr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've tried to replace the line :
$fp = fsockopen ('ssl://www.paypal.com', 443, $errno, $errstr, 30);
by
$fp = fsockopen ('ssl://ipnpb.paypal.com', 443, $errno, $errstr, 30);
Unfortunately, my IPN script still fails... Can I have official help from PayPal on this ? It's a real problem, I have to perform actions manually each time I receive a payment...
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey,
Can you try setting the URL to https://ipnpb.paypal.com/cgi-bin/webscr" and let me know if you are still seeing the issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your message. Actually, as I wrote in my previous post, I tried to replace the line :
$fp = fsockopen ('ssl://www.paypal.com', 443, $errno, $errstr, 30);
by
$fp = fsockopen ('ssl://ipnpb.paypal.com', 443, $errno, $errstr, 30);
But it also fails.
You have the whole code sample in my first post... Did you have something else in mind ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I think the issue is that you are using HTTP1.0 (Note that HTTP1.1 was released in 1997).
Specifically HTTP1.0 allows requests without "host" header (which became mandatory in HTTP1.1, RFC 2068: https://tools.ietf.org/html/rfc2068#section-14.23
Two ways to fix your issue:
1) Change
$header .= "POST /cgi-bin/webscr HTTP/1.0\r\n";
with
$header .= "POST /cgi-bin/webscr HTTP/1.1\r\n";
Your server should send host header by default.
2)
Add in your code
$header .= "Host: www.paypal.com\r\n";
Please let me know if it works.
G.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- I need to integrate a recurring payment with a variable for a pay-as-you-go product in REST APIs
- paypal recurring payments and ipn management in REST APIs
- Is it possible also to manage subscriptions dashboard create through REST API? in REST APIs
- Subscription Implementation in REST APIs
- Checkout with guest option not working on legacy buttons . in PayPal Payments Standard