I do get few failures for the IPN notification with fscockopen function. but this happens only once in a while, i doubt its problem in the php configuration.
see the following code, is there a work around for this rather than using the PHP fsockopen() function ? may be CURL ? is this possible to do this in CURL ?
$fp = fsockopen ('ssl://www.paypal.com', 443, $errno, $errstr, 30 );
if (!$fp) {
$this->error_out("PHP fsockopen() error: " . $errstr , "");
}
Any alternative solution or any robust error checking suggestions ?
I found this is working and very useful..it uses curl and if needed we can use the fsock method also.
Very clean script, which makes it easy to understand the parts of a transaction and edit things.