API > eden > paypal.php
View Source

class Eden_Paypal

Paypal API factory. This is a factory class with methods that will load up different Paypal API methods. Paypal classes are organized as described on their developer site: Express Checkout, Transaction, Authorization, Direct Payment, Recurring Payment, Button Manager and Billing Agreement

Constants

  • PEM: /paypal/cacert.pem

Public Methods

public function authorization($user, $password, $signature, $certificate = NULL)

Returns paypal authorization

Arguments

  1. string API username
  2. string API password
  3. string API signature
  4. string API certificate file

Returns Eden_Paypal_Authorization

public function billing($user, $password, $signature, $certificate = NULL)

Returns paypal billing

Arguments

  1. string API username
  2. string API password
  3. string API signature
  4. string API certificate file

Returns Eden_Paypal_Billing

public function button($user, $password, $signature, $certificate = NULL)

Returns paypal button

Arguments

  1. string API username
  2. string API password
  3. string API signature
  4. string API certificate file

Returns Eden_Paypal_Button

public function checkout($user, $password, $signature, $certificate = NULL, $live = false)

Returns paypal express checkout

Arguments

  1. string
  2. string API username
  3. string API password
  4. string API signature
  5. string|null API certificate file

Returns Eden_Paypal_Checkout

public function direct($user, $password, $signature, $certificate = NULL)

Returns paypal directPayment

Arguments

  1. string API username
  2. string API password
  3. string API signature
  4. string API certificate file

Returns Eden_Paypal_Direct

public function recurring($user, $password, $signature, $certificate = NULL)

Returns paypal recurringPayment

Arguments

  1. string API username
  2. string API password
  3. string API signature
  4. string API certificate file

Returns Eden_Paypal_Recurring

public function transaction($user, $password, $signature, $certificate = NULL)

Returns paypal transaction

Arguments

  1. string API username
  2. string API password
  3. string API signature
  4. string API certificate file

Returns Eden_Paypal_Transaction


© 2012 Openovate Labs. All rights reserved.