PHP Class Pop\Payment\Adapter\PayPal

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

Protected Properties

Свойство Type Description
$apiPassword string API password
$apiUsername string API username
$fields array Transaction fields for normalization purposes
$liveUrl string Live URL
$requiredFields array Required fields
$signature string API signature
$testUrl string Test URL
$transaction array Transaction data

Méthodes publiques

Méthode Description
__construct ( string $apiUser, string $apiPass, string $sign, boolean $test = false ) : PayPal Constructor
send ( boolean $verifyPeer = true ) : void Send transaction

Méthodes protégées

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

Method Details

__construct() public méthode

Method to instantiate an PayPal payment adapter object
public __construct ( string $apiUser, string $apiPass, string $sign, boolean $test = false ) : PayPal
$apiUser string
$apiPass string
$sign string
$test boolean
Résultat PayPal

buildPostString() protected méthode

Build the POST string
protected buildPostString ( ) : string
Résultat string

parseResponseCodes() protected méthode

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

send() public méthode

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

Property Details

$apiPassword protected_oe property

API password
protected string $apiPassword
Résultat string

$apiUsername protected_oe property

API username
protected string $apiUsername
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

$signature protected_oe property

API signature
protected string $signature
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