PHP Class Pop\Payment\Adapter\PayLeap

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

Protected Properties

Свойство 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

Méthodes publiques

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

Méthodes protégées

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

Method Details

__construct() public méthode

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

buildExtData() protected méthode

Build the ExtData XML string
protected buildExtData ( ) : string
Résultat string

buildQueryString() protected méthode

Build the query string
protected buildQueryString ( ) : string
Résultat string

parseResponseCodes() protected méthode

Parse the response codes
protected parseResponseCodes ( ) : array
Résultat array

send() public méthode

Send transaction
public send ( boolean $verifyPeer = true ) : void
$verifyPeer boolean
Résultat void

Property Details

$apiLoginId protected_oe property

API Login ID
protected string $apiLoginId
Résultat string

$fields protected_oe property

Transaction fields for normalization purposes
protected array $fields
Résultat array

$liveUrl protected_oe property

Live URL
protected string $liveUrl
Résultat string

$requiredFields protected_oe property

Required fields
protected array $requiredFields
Résultat array

$testUrl protected_oe property

Test URL
protected string $testUrl
Résultat string

$transKey protected_oe property

Transaction Key
protected string $transKey
Résultat string

$transaction protected_oe property

Transaction data
protected array $transaction
Résultat array