PayPal integration for the Drupal Commerce payment and checkout system. Currently supports PayPal WPS for redirected payment using the latest Commerce dev version. IPN support covers authorizations, captures, voids, and refunds with full logging for testing and debugging.

Sponsored by Commerce Guys.

Supported features

This project includes a base module that defines some helper functions and a listener for PayPal Instant Payment Notifications (IPNs). Each payment method offered by PayPal is enabled via its own module:

  • PayPal Website Payments Standard (WPS) - redirects from checkout to PayPal and includes IPN support for authorizations during checkout, prior authorization captures, authorizations plus capture during checkout ("Sale"), voids, and refunds. E-check may be supported, but I can't currently test it with my sandbox account.
  • PayPal Website Payments Pro (WPP) - supports authorization and authorization plus capture during checkout ("Sale"). Authorization only transactions must be captured at PayPal, but IPN support has not been added yet to mark pending authorization transactions as complete locally.
  • PayPal Express Checkout (EC) - not implemented yet.

Installation

  1. Install the PayPal modules and the specific payment method modules you intend to use.
  2. Enable the default Rule for each payment method via Store > Configuration > Payment settings and edit the enabling action to include your PayPal e-mail address. During development, you should use the sandbox if possible and may also want to turn on full IPN logging to log all IPN activity to the watchdog.
  3. Perform payment tests in the sandbox to ensure you're receiving and processing IPNs as expected. This requires a public server for testing and should result in payment transactions being created for your orders.

Note: you will only receive IPNs from PayPal if you do your testing on a public web server that PayPal can actually POST to. Installations on your localhost will not be accessible by PayPal, so your PayPal WPS payments will never appear on your orders.

Development notes

This project is being developed as a proof-of-concept Drupal Commerce integration for the various types of payment services PayPal offers. This means the development of these modules will affect the development of the core Commerce Payment module and vice versa. As such, if you're following along, please be flexible. Feel free to provide feedback and bug reports as you see them.

Downloads

Version Downloads Date Links
7.x-1.x-dev tar.gz (23.28 KB) | zip (29.39 KB) 2012-Feb-05 Notes

Project Information


Maintainers for Commerce PayPal

  • rszrama - 41 commits
    last: 12 weeks ago, first: 1 year ago

Issues for Commerce PayPal

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 10 Sep 10
nobody click here