API > eden > authorizenet.php
View Source

class Eden_Authorizenet

Authorize.net API factory. This is a factory class with methods that will load up different Authorize.net classes. Authorize.net classes are organized as described on their developer site: customer integration, direct post, advance integration, authomated recurring and server integration method

Constants

  • PEM: /authorizenet/cert.pem

Public Methods

public function customer($apiLogin, $transactionKey, $live = false, $certificate = NULL)

Returns authorize.net customer integration method

Arguments

  1. *string API login key
  2. *string API transaction key
  3. *string API signature
  4. *boolean Live mode

Returns Eden_Authorizenet_Customer

public function direct($apiLogin, $transactionKey, $live = false, $certificate = NULL)

Returns authorize.net direct post method

Arguments

  1. *string API login key
  2. *string API transaction key
  3. *string API signature
  4. *boolean Live mode

Returns Eden_Authorizenet_Direct

public function payment($apiLogin, $transactionKey, $live = false, $certificate = NULL)

Returns authorize.net advance integration method

Arguments

  1. *string API login key
  2. *string API transaction key
  3. *string API signature
  4. *boolean Live mode

Returns Eden_Authorizenet_Payment

public function recurring($apiLogin, $transactionKey, $live = false, $certificate = NULL)

Returns authorize.net authomated recurring method

Arguments

  1. *string API login key
  2. *string API transaction key
  3. *string API signature
  4. *boolean Live mode

Returns Eden_Authorizenet_Recurring

public function server($apiLogin, $transactionKey, $live = false, $certificate = NULL)

Returns authorize.net server integration method

Arguments

  1. *string API login key
  2. *string API transaction key
  3. *string API signature
  4. *boolean Live mode

Returns Eden_Authorizenet_Server


© 2012 Openovate Labs. All rights reserved.