Paypal WPP (Example) – PayPal Direct API
Posted by admin | Filed under Development Resources, Free Prestashop Modules, Prestashop
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
You may also like:
- Paypal IPN Validation update We had an issue recently where there was some difficulty...
- BETA Version 2 Paypal Module for PrestaShop We’re pleased to release BETA 1 of our modified version...
- Possible bug in PrestaShop Paypal Module While working on a Paypal test with a customer we...
- eCartService Paypal Changes rolled into PrestaShop 1.1 Release We’re pleased to announce that the initial changes we proposed...
- Improving PayPal Support in PrestaShop When I first came across PrestaShop I was utterly astonished...
Tags: development, example, module, payment, paypal
4 Responses to “Paypal WPP (Example) – PayPal Direct API”
-
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/
-
[...] module is based on the beta version of Paypal Direct API which developed by Paul Campbell. We have improved and enhanced 3D Secure authentication… This is very important for [...]
-
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.






















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.