liftmodules / paypal   1.5.0

GitHub

Lift module integrating with PayPal IPN and PDT.

Scala versions: 2.12 2.11

Build Status

PayPal Lift Module

This module provides integration with PayPal IPN and PDT.

To include this module in your Lift project, update your libraryDependencies in build.sbt to include:

"net.liftmodules" %% "paypal_<Lift Edition>" % "<Module Version>"

...replacing <Lift Edition> and <Module Version> with a value from the "Releases" table below. E.g., for Lift 3.2 and version 1.5.0 of this module you'd have:

libraryDependencies +=
  "net.liftmodules" %% "paypal_3.2" % "1.5.0"

Releases

Lift Edition Scala Version Module Version
3.2 2.12 Maven Central
3.2 2.11 Maven Central
3.1 2.12 Maven Central
3.1 2.11 Maven Central
3.0 2.12 Maven Central
3.0 2.11 Maven Central
2.6 2.11 Maven Central
2.6 2.10 Maven Central
2.6 2.10, 2.9 1.2
2.5 2.10, 2.9 1.2

Documentation

  • Manning offer a free PDF titled Collecting payment through PayPal which you can access in exchange for your name and email address.

  • Chapter 5 of Lift in Action.

Note: The module package changed from net.liftweb.paypal to net.liftmodules.paypal in May 2012. Please consider this when referencing documentation written before that date.

  • Found a problem? Have a suggestion? Please discuss it on the Lift mailing list before raising a ticket.

Customization

Alt text

To customize the alt text of the buy now button, set up a resources entry for the key liftmodules.paypal.button-alt-text. For example, create webapp/_resources.html, with the following content:

<?xml version="1.0"?>
<resources>
  <res name="liftmodules.paypal.button-alt-text">Place order now</res>
</resources>

Notes for module developers

Merge to master will trigger a Travis build and publish a SNAPSHOT (if the version is a -SNAPSHOT).