Package

net.liftmodules

paypal

Permalink

package paypal

Visibility
  1. Public
  2. All

Type Members

  1. trait BasePaypalTrait extends DispatchPF

    Permalink
  2. class PayPalInfo extends AnyRef

    Permalink

    A paramater set that takes request paramaters (from Req) and assigns them to properties of this class

  3. trait PaypalBase extends AnyRef

    Permalink

    Common functionality for paypal PDT and IPN

  4. sealed trait PaypalConnection extends AnyRef

    Permalink

    Represents the type of connection that can be made to paypal, irrespecitve of the mode of connection

  5. case class PaypalDataTransferResponse(response: List[String]) extends PaypalResponse with Product with Serializable

    Permalink

    Wrapper instance for handling the response from a paypal data transfer.

    Wrapper instance for handling the response from a paypal data transfer.

    response

    The processed response List[String]. The response input should be created with StreamResponseProcessor

  6. trait PaypalIPN extends BasePaypalTrait

    Permalink

    To handle IPN transactions you need to do the following:

    To handle IPN transactions you need to do the following:

    // in Whatever.scala object MyPayPalHandler extends PayPal { import PaypalTransactionStatus._ def actions = { case (ClearedPayment, info, _) => // write the payment to the database case (RefundedPayment, info, _) => // process refund } } // in Boot.scala LiftRules.statelessDispatchTable = MyPayPalHandler orElse LiftRules.statelessDispatchTable

    In this way you then get all the DispatchPF processing stuff for free.

  7. sealed trait PaypalMode extends AnyRef

    Permalink

    sealed abstract type PaypalMode so we can cast to the super class in our method declerations.

    sealed abstract type PaypalMode so we can cast to the super class in our method declerations. Cannot be subclasses outside of this source file.

  8. trait PaypalPDT extends BasePaypalTrait

    Permalink
  9. trait PaypalResponse extends PaypalUtilities with HasParams

    Permalink

    All paypal service classes need to subclass PaypalResponse explicitally.

  10. trait PaypalUtilities extends AnyRef

    Permalink

    A simple abstraction for all HTTP operations.

    A simple abstraction for all HTTP operations. By definition they will return a HTTP error code. We are invaribly only concerned with if it was a good one or not.

Value Members

  1. object PaypalDataTransfer extends PaypalBase

    Permalink
  2. object PaypalHTTP extends PaypalConnection

    Permalink
  3. object PaypalLive extends PaypalMode

    Permalink
  4. object PaypalRules extends Factory

    Permalink
  5. object PaypalSSL extends PaypalConnection

    Permalink
  6. object PaypalSandbox extends PaypalMode

    Permalink
  7. object PaypalTransactionStatus extends Enumeration

    Permalink

    Contatins all the papyal status abstractions as enumberable vals

  8. object SimplePaypal extends PaypalIPN with PaypalPDT with Loggable

    Permalink
  9. package snippet

    Permalink

Ungrouped