|
| 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 () |
|
| refnum ($transID) |
|
| getTermID () |
|
| getPw () |
|
| parseEncBlock ($str) |
|
| parsePinBlock ($str) |
|
| dehexify ($in) |
|
| handlesType ($type) |
|
| entered ($validate, $json) |
|
| paycard_void ($transID, $laneNo=-1, $transNo=-1, $json=array()) |
|
| handleResponse ($authResult) |
|
| cleanup ($json) |
|
| doSend ($type) |
|
| refnum ($transID) |
|
| myRefNum ($ref) |
|
| lookupTransaction ($ref, $local, $mode) |
|
| BasicCCModule () |
|
| handlesType ($type) |
|
| entered ($validate, $json) |
|
| doSend ($type) |
|
| cleanup ($json) |
|
| paycard_void ($transID, $laneNo=-1, $transNo=-1, $json=array()) |
|
| myRefNum ($ref) |
|
| lookupTransaction ($ref, $local, $mode) |
|
| curlSend ($data=False, $type='POST', $xml=False, $extraOpts=array(), $auto_handle=true) |
|
| 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 |
|
const | PRIMARY_URL = 'w1.mercurypay.com' |
|
const | BACKUP_URL = 'w2.backuppay.com' |
|
| $last_ref_num = '' |
|
| $last_req_id = 0 |
|
| $last_paycard_transaction_id = 0 |
|
MercuryE2E::cleanup |
( |
|
$json) | |
|
Lookup user-configured tender Failover to defaults if tender does not exist Since we already have an authorization at this point, adding a default tender record to the transaction is better than issuing an error message
Now look up card-issuer specific overrides, if any
MercuryE2E::entered |
( |
|
$validate, |
|
|
|
$json |
|
) |
| |
Updated for E2E Status: done
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::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 |
( |
) | |
|
The documentation for this class was generated from the following files:
- pos/is4c-nf/cc-modules/MercuryE2E.php
- pos/is4c-nf/plugins/Paycards/MercuryE2E.php