PayPal IPN Sript

jadeway

New Member
PayPal has been sending out notifications about a change to it's IPN service. They will be discontinuing the use of HTTP 1.0 and moving to 1.1.

Here is the link
https://www.x.com/node/320404
I'm sure you are aware of this new change.

They want us to update our script with the info below. Updating just this info on your script sends me repeated errors when a sale is made.

Besides just updating/replacing the code below what other changes need to be made for the script to continue to work?

Appreciate the help.

PHP
// post back to PayPal system to validate
$header .="POST /cgi-bin/webscr HTTP/1.1\r\n";
$header .="Content-Type: application/x-www-form-urlencoded\r\n";
$header .="Host: http://www.paypal.com\r\n";
$header .="Connection: close\r\n";
 

stanbusk

Administrator
Staff member
Just download the script again today, it is up to date, I have made all the necessary changes and a user tested it in the Paypal Sandbox successfully.
 
Top