Author Topic: Changes to PayPal IPN for 1 Feb 2013  (Read 5207 times)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 25538
  • Always on vacation
    • Jenkin Hill Internet
Changes to PayPal IPN for 1 Feb 2013
« on: February 26, 2013, 13:25:14 pm »
From PayPal

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.1 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.

Your Action Required before February 1, 2013 You will need to update your IPN and/or PDT scripts to use HTTP 1.1, and include the "Host: www.paypal.com" and "Connection: close" HTTP headers in the IPN and PDT scripts.

And see https://www.x.com/content/bulletin-ipn-and-pdt-scripts-and-http-1-1
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM3.2.0 on Joomla 3.6.5 PHP 7.0.12

Testing VM3.2.1 on J!3.6.5 and J!3.7B3

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 25538
  • Always on vacation
    • Jenkin Hill Internet
Re: Changes to PayPal IPN for 1 Feb 2013
« Reply #1 on: April 19, 2013, 15:07:15 pm »
UPDATE : Please note that the support for HTTP 1.0 has been extended until May 1, 2013.
For more technical information on php IPN listener please refer to this FAQ:  https://ppmts.custhelp.com/app/answers/detail/a_id/926/
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM3.2.0 on Joomla 3.6.5 PHP 7.0.12

Testing VM3.2.1 on J!3.6.5 and J!3.7B3