Squiz Matrix
4.12.2
|
Public Member Functions | |
Esec_Processor () | |
set ($name, $value) | |
setArray ($name, $value) | |
get ($name) | |
setAmount ($amount, $cents=false) | |
getAmount () | |
getCardTypes () | |
getTestCardNumbers () | |
setCardType ($type) | |
setURL ($new_url) | |
process () | |
getResponse () | |
explainStatus () | |
setMerchant ($merchant_no) | |
setReference ($ref_no) | |
setCCV ($ccv_no) | |
setCardNumber ($card_no) | |
setCardExpiryMonth ($month) | |
setCardExpiryYear ($year) | |
setCardName ($name) | |
setInfoEmail ($email) | |
setRedirectURL ($value, $email=false) | |
setTest () | |
Data Fields | |
$parameters | |
$response | |
$eps_v3plus_responses | |
$card_types | |
$test_card_numbers | |
$_status_codes | |
Definition at line 39 of file esec_processor.inc.
Esec_Processor | ( | ) |
Constructor
Definition at line 152 of file esec_processor.inc.
explainStatus | ( | ) |
returns message according to result status code
public
Definition at line 343 of file esec_processor.inc.
get | ( | $name | ) |
returns parameter value by name
$name | name of the parameter |
private
Definition at line 206 of file esec_processor.inc.
getAmount | ( | ) |
getCardTypes | ( | ) |
returns array of possible card types
public
Definition at line 253 of file esec_processor.inc.
getResponse | ( | ) |
Returns the gateway response array in standard format
This should be the format other gateways use to return their response
public
Definition at line 322 of file esec_processor.inc.
getTestCardNumbers | ( | ) |
Get array of valid card numbers for testing
public
Definition at line 266 of file esec_processor.inc.
process | ( | ) |
Process the given Transaction
public
Definition at line 308 of file esec_processor.inc.
set | ( | $name, | |
$value | |||
) |
sets parameter value by name
$name | name of the parameter |
$value | new value of the parameter |
private
Definition at line 174 of file esec_processor.inc.
setAmount | ( | $amount, | |
$cents = false |
|||
) |
sets amount for transaction
$amount | amount |
$cents | if true, then amount in cents otherwise in dollars. |
public
Definition at line 222 of file esec_processor.inc.
setArray | ( | $name, | |
$value | |||
) |
sets parameter value by name as an array
$name | name of the parameter |
$value | new value of the parameter |
private
Definition at line 189 of file esec_processor.inc.
setCardExpiryMonth | ( | $month | ) |
sets card expiry month
$month | card expiry month |
public
Definition at line 426 of file esec_processor.inc.
setCardExpiryYear | ( | $year | ) |
sets card expiry year
$year | card expiry year |
public
Definition at line 441 of file esec_processor.inc.
setCardName | ( | $name | ) |
sets card name
$name | card name |
public
Definition at line 455 of file esec_processor.inc.
setCardNumber | ( | $card_no | ) |
sets card number
$card_no | card number |
public
Definition at line 411 of file esec_processor.inc.
setCardType | ( | $type | ) |
sets card type
$type | type of the card |
public
Definition at line 281 of file esec_processor.inc.
setCCV | ( | $ccv_no | ) |
set CCV number
$ccv_no | CCV - credit card verification number |
public
Definition at line 396 of file esec_processor.inc.
setInfoEmail | ( | ) |
sets card type
string | the email address |
public
Definition at line 469 of file esec_processor.inc.
setMerchant | ( | $merchant_no | ) |
sets merchant
$merchant_no | merchant number |
public
Definition at line 366 of file esec_processor.inc.
setRedirectURL | ( | $value, | |
$email = false |
|||
) |
sets the redirect URL
string | $value | the value to set |
bool | flag to specify it is an email address |
public
Definition at line 484 of file esec_processor.inc.
setReference | ( | $ref_no | ) |
sets reference number
$ref_no | reference number |
public
Definition at line 381 of file esec_processor.inc.
setTest | ( | ) |
sets paramenters required for test transaction using test values in this case card name should be "test" and card number "testcard"
This function has to be called after all the other attributes have been set.
public
Definition at line 504 of file esec_processor.inc.
setURL | ( | $new_url | ) |
sets URL for gateway
$new_url | new URL of the gateway |
public
Definition at line 295 of file esec_processor.inc.
$card_types |
Definition at line 57 of file esec_processor.inc.
$eps_v3plus_responses |
Definition at line 47 of file esec_processor.inc.
$test_card_numbers |
Definition at line 65 of file esec_processor.inc.