Phpfox_Gateway_Api_2checkout

Description

Implements interfaces:

2checkout Payment Gateway API

  • author: Raymond Benc
  • version: $Id: 2checkout.class.php 1687 2010-07-22 03:13:27Z Raymond_Benc $
  • copyright: [PHPFOX_COPYRIGHT]

Located in /include/library/phpfox/gateway/api/2checkout.class.php (line 16)


	
			
Variable Summary
 array $_aCurrency
 array $_aParam
Method Summary
 Phpfox_Gateway_Api_2checkout __construct ()
 void callback ()
 array getEditForm ()
 bool getForm ()
 void set (array $aSetting)
Variables
array $_aCurrency = array('USD') (line 30)

Holds an ARRAY of supported currencies for this payment gateway

  • access: private
array $_aParam = array() (line 23)

Holds an ARRAY of settings to pass to the form

  • access: private
Methods
Constructor __construct (line 36)

Class constructor

  • access: public
Phpfox_Gateway_Api_2checkout __construct ()
callback (line 153)

Performs the callback routine when the 3rd party payment gateway sends back a request to the server, which we must then back and verify that it is a valid request. This then connects to a specific module based on the information passed when posting the form to the server.

  • access: public
void callback ()

Implementation of:
Phpfox_Gateway_Interface::callback()
Performs the callback routine when the 3rd party payment gateway sends back a request to the server, which we must then back and verify that it is a valid request. This then connects to a specific module based on the information passed when posting the form to the server.
getEditForm (line 62)

Each gateway has a unique list of params that must be passed with the HTML form when posting it to their site. This method creates that set of custom fields.

  • return: ARRAY of all the custom params
  • access: public
array getEditForm ()

Implementation of:
Phpfox_Gateway_Interface::getEditForm()
Each gateway has a unique list of params that must be passed with the HTML form when posting it to their site. This method creates that set of custom fields.
getForm (line 84)

Returns the actual HTML <form> used to post information to the 3rd party gateway when purchasing an item using this specific payment gateway

  • return: FALSE if we can't use this payment gateway to purchase this item or ARRAY if we have successfully created a form
  • access: public
bool getForm ()

Implementation of:
Phpfox_Gateway_Interface::getForm()
Returns the actual HTML <form> used to post information to the 3rd party gateway when purchasing an item using this specific payment gateway
set (line 46)

Set the settings to be used with this class and prepare them so they are in an array

  • access: public
void set (array $aSetting)
  • array $aSetting: ARRAY of settings to prepare

Implementation of:
Phpfox_Gateway_Interface::set()
Set the settings to be used with this class and prepare them so they are in an array

Documentation generated on Tue, 28 Sep 2010 10:36:35 +0200 by phpDocumentor 1.4.0a2