PHP Class Pop\Payment\Adapter\Authorize

Author: Nick Sagona, III ([email protected])
Inheritance: extends AbstractAdapter
Exibir arquivo Open project: nicksagona/PopPHP Class Usage Examples

Protected Properties

Property Type Description
$apiLoginId string API Login ID
$fields array Transaction fields for normalization purposes
$liveUrl string Live URL
$reasonCode integer Reason code
$requiredFields array Required fields
$responseSubcode integer Response subcode
$testUrl string Test URL
$transKey string Transaction Key
$transaction array Transaction data

Public Methods

Method Description
__construct ( string $apiLoginId, string $transKey, boolean $test = false ) : Authorize Constructor
getReasonCode ( ) : integer Get reason code
getResponseSubcode ( ) : integer Get response subcode
send ( boolean $verifyPeer = true ) : void Send transaction

Protected Methods

Method Description
buildPostString ( ) : string Build the POST string

Method Details

__construct() public method

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

buildPostString() protected method

Build the POST string
protected buildPostString ( ) : string
return string

getReasonCode() public method

Get reason code
public getReasonCode ( ) : integer
return integer

getResponseSubcode() public method

Get response subcode
public getResponseSubcode ( ) : integer
return integer

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

$reasonCode protected_oe property

Reason code
protected int $reasonCode
return integer

$requiredFields protected_oe property

Required fields
protected array $requiredFields
return array

$responseSubcode protected_oe property

Response subcode
protected int $responseSubcode
return integer

$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