|
|
| handlesType ($type) |
| |
| | entered ($validate, $json) |
| |
| | paycard_void ($transID, $laneNo=-1, $transNo=-1, $json=array()) |
| |
|
| handleResponse ($authResult) |
| |
| | handleResponseAuth ($authResult) |
| |
| | handleResponseVoid ($authResult) |
| |
|
| cleanup ($json) |
| |
|
| doSend ($type) |
| |
| | send_auth ($domain="w1.mercurypay.com") |
| |
| | send_void ($skipReversal, $domain="w1.mercurypay.com") |
| |
|
| send_return ($skipReversal, $domain="w1.mercurypay.com", $specificAmount=false) |
| |
|
| refnum ($transID) |
| |
| | getTermID () |
| |
| | getPw () |
| |
| | parseEncBlock ($str) |
| |
|
| parsePinBlock ($str) |
| |
|
| dehexify ($in) |
| |
| | BasicCCModule () |
| |
| | handlesType ($type) |
| |
| | entered ($validate, $json) |
| |
| | doSend ($type) |
| |
| | cleanup ($json) |
| |
| | paycard_void ($transID, $laneNo=-1, $transNo=-1, $json=array()) |
| |
| | curlSend ($data=False, $type='POST', $xml=False) |
| |
| | handleResponse ($response) |
| |
| | refnum ($transID) |
| |
| | array2post ($parray) |
| |
| | soapify ($action, $objs, $namespace="", $encode_tags=True) |
| |
| | desoapify ($action, $soaptext) |
| |
| | setErrorMsg ($errorCode) |
| |
| | setPAN ($in) |
| |
|
|
| $voidTrans |
| |
|
| $voidRef |
| |
|
| $SOAPACTION = "http://www.mercurypay.com/CreditTransaction" |
| |
|
| $second_try |
| |
| MercuryE2E::entered |
( |
|
$validate, |
|
|
|
$json |
|
) |
| |
Updated for E2E Status: done
Return real or testing password depending on whether training mode is on
| MercuryE2E::getTermID |
( |
) | |
|
Return real or testing ID depending on whether training mode is on
| MercuryE2E::handleResponseAuth |
( |
|
$authResult) | |
|
| MercuryE2E::handleResponseVoid |
( |
|
$authResult) | |
|
| MercuryE2E::parseEncBlock |
( |
|
$str) | |
|
In theory parses output produced by MagTek and ID tech devices (based on spec / examples)
- Returns
- array with keys
- Format is encrypt format
- Block is encryped PAN block
- Key is encrypted key
- Issuer is card issuer (Visa, MasterCard, etc)
- Last4 is last four PAN digits
- Name is cardholder name (if available)
| MercuryE2E::paycard_void |
( |
|
$transID, |
|
|
|
$laneNo = -1, |
|
|
|
$transNo = -1, |
|
|
|
$json = array() |
|
) |
| |
| MercuryE2E::send_auth |
( |
|
$domain = "w1.mercurypay.com") | |
|
Updated for E2E Status: Should be functional once device is available
| MercuryE2E::send_void |
( |
|
$skipReversal, |
|
|
|
$domain = "w1.mercurypay.com" |
|
) |
| |
The documentation for this class was generated from the following file:
- fannie/modules/workshop/MercuryReverse/MercuryE2E.php