Payeezy-PHP  1.0.0
Payeezy_Transaction Class Reference
Inheritance diagram for Payeezy_Transaction:
Payeezy_TransactionType Payeezy_CreditCard Payeezy_Paypal Payeezy_TeleCheck Payeezy_threeDS Payeezy_Token Payeezy_ValueLink

Public Member Functions

 __construct ($client)
 
 hmacAuthorizationToken ($payload)
 
 jsonpp ($json, $istr= ' ')
 
 postTransaction ($payload, $headers)
 
 doPrimaryTransaction ($args=array())
 
 doSecondaryTransaction ($transaction_id, $args=array())
 

Constructor & Destructor Documentation

__construct (   $client)

Member Function Documentation

doPrimaryTransaction (   $args = array())

Use this for primary transactions like Authorize, Purchase

Parameters
transactionRequest
Returns
Exceptions
Exception
doSecondaryTransaction (   $transaction_id,
  $args = array() 
)

Use this for Secondary transactions like void, refund, capture etc

hmacAuthorizationToken (   $payload)

Payeezy

HMAC Authentication

jsonpp (   $json,
  $istr = '  ' 
)

jsonpp - Pretty print JSON data

In versions of PHP < 5.4.x, the json_encode() function does not yet provide a pretty-print option. In lieu of forgoing the feature, an additional call can be made to this function, passing in JSON text, and (optionally) a string to be used for indentation.

Parameters
string$jsonThe JSON data, pre-encoded
string$istrThe indentation string
Returns
string
postTransaction (   $payload,
  $headers 
)

Payeezy

Post Transaction


The documentation for this class was generated from the following file: