Revisiting the PayPal Beta Module

Well I discovered that I had two motivations for revisiting PayPal payments in Prestashop this week. One is a new site that I’m working on for a client (more news on that later) and the other is that I discovered I had some free time in between the festivities. Well, not really free time but I managed to squeeze in a few hours at the keyboard anyway.
Full article »

  • StumbleUpon
  • Twitter
  • Digg
  • del.icio.us
  • Technorati
  • MySpace
  • Facebook
  • Google Bookmarks
  • MisterWong
  • Reddit
  • RSS

Tags: , , ,

Paypal IPN Validation update

We had an issue recently where there was some difficulty contacting the paypal server to verify an IPN passed back to a PrestaShop store.

The v1 Final version of the paypal validation.php file only uses fsockopen to establish an http connection to paypal (production or sandbox) to verify, so we’ve added a little code to ours to:

1) Use a secure connection if possible (using fsockopen)
2) Use cURL if the above fails to connect, and
3) Use an insecure http connection if the above fails.

The patched files can be downloaded here: Paypal module update for Version 1.0 Final

  • StumbleUpon
  • Twitter
  • Digg
  • del.icio.us
  • Technorati
  • MySpace
  • Facebook
  • Google Bookmarks
  • MisterWong
  • Reddit
  • RSS

Tags: , , , , , ,