Paypal WPP (Example) – PayPal Direct API

Development Release

I’ve been asked several times about this, so I guess I’d better release the code. This was written some time ago, and the target PrestaShop version was 1.1, however it should work with later releases.

The archive contains additional code to support PayPal Express Checkout, as this was originally developed as a shared library. A PayPal Express Checkout example will also be published here shortly.

Please note that this is intended for “development” purposes only as an example and was written to test out various concepts in PrestaShop, not as a robust payment method for use in commercial stores.

As of PrestaShop 1.2 an implementation of the PayPal API is to be included as part of the core distribution, so the code contained in this archive will be largely redundant, but it does demonstrate some key concepts that may be of use to someone.

Known issues

  • Minimal SSL support for store pages.
  • UK cards may require additional information (e.g. Maestro issue number)

Downloads

Version 0.1.0 (Initial Release July 2009) : PayPal Direct API Example

Comments

7 responses to “Paypal WPP (Example) – PayPal Direct API”

  1. Michael avatar
    Michael

    will be great if there is paypal WPP module for the new 1.4 release

  2. Steve avatar
    Steve

    Do you have any plans to write a paypal WPP module for the new 1.4 release

  3. BST avatar

    is my site must use SSL to use this module? thanks..

  4. Ryan avatar
    Ryan

    Has anyone had luck using this? I get 4 errors when testing with sandbox:

    1. Order total is invalid.
    2. Item total is invalid.
    3. The totals of the cart item amounts do not match order amounts.
    4. Item amount is invalid.

  5. Hung Bui avatar

    We have improved this Paypal WPP module allowing UK merchants accept credit and debit cards (maestro, solo etc). 3D secure is also implemented.

    Please visit this entry for more detail.

    http://www.sailboatvn.com/e-commerce/paypal-website-payment-pro-module-uk-us-free-prestashop-module/

  6. maryluke avatar

    I have read and downloaded all the pages referenced on this page, and my PayPal module still does not work. The order form does not contain a place to indicate the state or postal code, and when I try to order I get a nondescript website error page. On top of that, the back office Reports page gives me this:
    Fatal error: Access to undeclared static property: Order::$table_overview_fields in /home/austinbu/public_html/ecommerce/code/reports/SalesReport.php on line 28

    Any assistance or advice would be appreciated.