PHP Class Pop\Payment\Adapter\UsaEpay

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

Protected Properties

Свойство Type Description
$fields array Transaction fields for normalization purposes
$liveUrl string Live URL
$requiredFields array Required fields
$sourceKey string Source Key
$testUrl string Test URL
$transaction array Transaction data

Méthodes publiques

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

Méthodes protégées

Méthode Description
buildPostString ( ) : string Build the POST string
parseResponseCodes ( ) : array Parse the response codes

Method Details

__construct() public méthode

Method to instantiate an USAEpay payment adapter object
public __construct ( string $sourceKey, boolean $test = false ) : UsaEpay
$sourceKey string
$test boolean
Résultat UsaEpay

buildPostString() protected méthode

Build the POST string
protected buildPostString ( ) : 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

$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

$sourceKey protected_oe property

Source Key
protected string $sourceKey
Résultat string

$testUrl protected_oe property

Test URL
protected string $testUrl
Résultat string

$transaction protected_oe property

Transaction data
protected array $transaction
Résultat array