Interface Phpfox_Gateway_Interface

Description

Payment Gateway API Template

Payment periods:

    1. = monthly
    2. = quarterly
    3. = biannually
    4. = annually

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

    Located in /include/library/phpfox/gateway/interface.class.php (line 23)

    
    	
    			
    Method Summary
     void callback ()
     array getEditForm ()
     bool getForm ()
     void set (array $aSetting)
    Methods
    callback (line 54)

    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 ()
    getEditForm (line 38)

    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 ()
    getForm (line 46)

    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 ()
    set (line 30)

    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

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