PHP Class Pop\Payment\Adapter\PayLeap

Author: Nick Sagona, III ([email protected])
Inheritance: extends AbstractAdapter
Datei anzeigen Open project: nicksagona/PopPHP

Protected Properties

Property Type Description
$apiLoginId string API Login ID
$fields array Transaction fields for normalization purposes
$liveUrl string Live URL
$requiredFields array Required fields
$testUrl string Test URL
$transKey string Transaction Key
$transaction array Transaction data

Public Methods

Method Description
__construct ( string $apiLoginId, string $transKey, boolean $test = false ) : PayLeap Constructor
send ( boolean $verifyPeer = true ) : void Send transaction

Protected Methods

Method Description
buildExtData ( ) : string Build the ExtData XML string
buildQueryString ( ) : string Build the query string
parseResponseCodes ( ) : array Parse the response codes

Method Details

__construct() public method

Method to instantiate an Payleap payment adapter object
public __construct ( string $apiLoginId, string $transKey, boolean $test = false ) : PayLeap
$apiLoginId string
$transKey string
$test boolean
return PayLeap

buildExtData() protected method

Build the ExtData XML string
protected buildExtData ( ) : string
return string

buildQueryString() protected method

Build the query string
protected buildQueryString ( ) : string
return string

parseResponseCodes() protected method

Parse the response codes
protected parseResponseCodes ( ) : array
return array

send() public method

Send transaction
public send ( boolean $verifyPeer = true ) : void
$verifyPeer boolean
return void

Property Details

$apiLoginId protected_oe property

API Login ID
protected string $apiLoginId
return string

$fields protected_oe property

Transaction fields for normalization purposes
protected array $fields
return array

$liveUrl protected_oe property

Live URL
protected string $liveUrl
return string

$requiredFields protected_oe property

Required fields
protected array $requiredFields
return array

$testUrl protected_oe property

Test URL
protected string $testUrl
return string

$transKey protected_oe property

Transaction Key
protected string $transKey
return string

$transaction protected_oe property

Transaction data
protected array $transaction
return array