@alber99 you said: p.s... my header code is: $header = "POST /cgi-bin/webscr HTTP/1.1\r\n"; $header .= "Content-Type: application/x-www-form-urlencoded\r\n"; $header .= "Host: www.paypal.com\r\n "; $header .= "Connection: close\r\n"; $header .= "Content-Length: " . strlen($req) . "\r\n\r\n"; $fp = fsockopen("ssl://www.paypal.com",443,$errno,$errstr,30 ); Again, the above works, just not when we change the last line to ipnpb.paypal.com -or- ipnpb.paypal.com/cgi-bin/webscr I believe what people were suggesting was the code for the IPN post-back, not the PDT. Indeed, the PDT seems to be www.paypal.com and NOT ipnpb.paypal.com. I hope this helps some future visitor.
... View more