close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Paypal notice to my client

Thread began 8/08/2012 2:53 pm by Patrice | Last modified 8/08/2012 3:17 pm by Patrice | 9790 views | 4 replies |


Paypal notice to my client

Paypal pro.... Client just received this notice. Please advise how it affects PS 4


In a bulletin dated October 18, 2011, we announced that we were going to expand the number of IP addresses for to improve our site’s performance, scalability and availability. As part of this transition, we planned to discontinue support for HTTP 1.0 protocol starting February 1, 2013.

We have recently identified that this change may impact the ability of some of our merchants to perform IPN (Instant Payment Notification) post-back validation or PDT (Payment Data Transfer) posts to This happens when the IPN or PDT scripts use HTTP 1.0 protocol and do not include the “Host:” header in the HTTP request.

Additional Details
Starting February 1, 2013, we will require all incoming requests to have a “Host” header which complies with HTTP 1.1 Specifications. This header was not required under HTTP 1.0. IPN and PDT scripts using HTTP 1.0 may start failing with “HTTP/1.0 400 Bad Request” errors after February 1, 2013, which will result in IPN messages not being validated successfully, or PDT scripts not being able to retrieve transaction information.

Action Required before February 1, 2013
Merchants need to update their IPN and/or PDT scripts to use HTTP 1.1, and include the “Host” header in the IPN postback script.


//Set values for the request back

$req=HTTP::Request->new('POST', ''); $req->content_type('application/x-www-form-urlencoded');
$req->header(Host=> '');

// 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:\r\n";

HttpsURLConnection uc=(HttpsURLConnection) u.openConnection(); uc.setDoOutput(true);
uc.setRequestProperty("Content-Type","application/x-www-form-urlencoded"); uc.setRequestProperty("Host", "");

The PayPal Sandbox has been configured to reject any HTTP requests without the “Host” header with HTTP 400 error. Merchants can use the Sandbox environment to certify the changes to their IPN and PDT scripts.

For more information on PDT and IPN, please refer to pdt and ipn. For additional information about this change, please refer to mts.




Sign in to reply to this post

Jason ByrnesWebAssist

this wont efect you at all if your are using paypal pro. it will effect you if you are using Paypal Standard.

if you use paypal standard, you will need to update the WA_eCart/WA_eCart_Definition_PHP.php file, and change:

$header = "POST /cgi-bin/webscr HTTP/1.0\r\n";

  $header .= "Content-Type: application/x-www-form-urlencoded\r\n";


$header = "POST /cgi-bin/webscr HTTP/1.1\r\n";

  $header .= "Content-Type: application/x-www-form-urlencoded\r\n";
  $header .= "Host:\r\n";
Sign in to reply to this post


Great...thanks Jason.

Any issues with ecart with paypal express?

(Different client/domain that uses ecart)

Sign in to reply to this post

Jason ByrnesWebAssist

none that i can tell from this message.

it is only applicable to paypal standard.

Sign in to reply to this post


Thanks much, as always...

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...