net.liftmodules

paypal

package paypal

Visibility
  1. Public
  2. All

Type Members

  1. trait BasePaypalTrait extends DispatchPF

  2. class PayPalInfo extends AnyRef

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

  3. trait PaypalBase extends AnyRef

    Common functionality for paypal PDT and IPN

  4. sealed trait PaypalConnection extends AnyRef

    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

    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

    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

    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

  9. trait PaypalResponse extends PaypalUtilities with HasParams

    All paypal service classes need to subclass PaypalResponse explicitally.

  10. trait PaypalUtilities extends AnyRef

    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

  2. object PaypalHTTP extends PaypalConnection

  3. object PaypalLive extends PaypalMode

  4. object PaypalRules extends Factory

  5. object PaypalSSL extends PaypalConnection

  6. object PaypalSandbox extends PaypalMode

  7. object PaypalTransactionStatus extends Enumeration

    Contatins all the papyal status abstractions as enumberable vals

  8. object SimplePaypal extends PaypalIPN with PaypalPDT with Loggable

  9. package snippet

Ungrouped