|
| prepareDataCapAuth ($type, $amount, $prompt=false) |
|
| prepareDataCapVoid ($pcID) |
|
| prepareDataCapBalance ($type, $prompt=false) |
|
| prepareDataCapGift ($mode, $amount, $prompt) |
|
| handleResponseDataCap ($xml) |
|
| handleResponseDataCapBalance ($xml) |
|
| handlesType ($type) |
|
| entered ($validate, $json) |
|
| paycardVoid ($transID, $laneNo=-1, $transNo=-1, $json=array()) |
|
| handleResponse ($authResult) |
|
| cleanup ($json) |
|
| doSend ($type) |
|
| refnum ($transID) |
|
| getTermID () |
|
| myRefNum ($ref) |
|
| lookupTransaction ($ref, $local, $mode) |
|
| __construct () |
|
| handlesType ($type) |
|
| entered ($validate, $json) |
|
| doSend ($type) |
|
| cleanup ($json) |
|
| paycardVoid ($transID, $laneNo=-1, $transNo=-1, $json=array()) |
|
| myRefNum ($ref) |
|
| lookupTransaction ($ref, $local, $mode) |
|
| handleResponse ($response) |
|
| refnum ($transID) |
|
| setErrorMsg ($errorCode) |
|
| setPAN ($input) |
|
|
static | mockResponse ($mock) |
|
const | PRIMARY_URL = 'w1.mercurypay.com' |
|
const | BACKUP_URL = 'w2.backuppay.com' |
|
| $last_ref_num = '' |
|
| $last_req_id = 0 |
|
| $last_paycard_transaction_id = 0 |
|
| getPw () |
|
| giftServerIP () |
|
| responseToNumber ($responseCode) |
|
| ebtVoucherXml () |
|
| normalizeResponseCode ($responseCode, $validResponse) |
|
| beginXmlRequest ($request, $refNo=false, $recordNo=false) |
|
| handlePartial ($amt, $request) |
|
| getRequestObj ($ref) |
|
| curlSend ($data=False, $type='POST', $xml=False, $extraOpts=array(), $autoHandle=true) |
|
| array2post ($parray) |
|
| soapify ($action, $objs, $namespace="", $encode_tags=true) |
|
| desoapify ($action, $soaptext) |
|
| $SOAPACTION = "http://www.mercurypay.com/CreditTransaction" |
|
| $GATEWAY |
|
| $SOAPACTION = '' |
|
| $SOAP_ENVELOPE_ATTRS |
|
| $sendByType = array() |
|
| $respondByType = array() |
|
| $trans_pan |
|
MercuryDC::handleResponseDataCap |
( |
|
$xml | ) |
|
Examine XML response from Datacap transaction, log results, determine next step
- Returns
- [int] PaycardLib error code
handle partial auth
MercuryDC::handleResponseDataCapBalance |
( |
|
$xml | ) |
|
Examine XML response from Datacap transaction, extract balance and/or error determine next step
- Returns
- [int] PaycardLib error code
MercuryDC::prepareDataCapAuth |
( |
|
$type, |
|
|
|
$amount, |
|
|
|
$prompt = false |
|
) |
| |
Prepare an XML request body for an PDCX or EMVX transaction
- Parameters
-
$type | [string] card type |
$amount | [number] authorization amount |
- Returns
- [string] XML request body
MercuryDC::prepareDataCapBalance |
( |
|
$type, |
|
|
|
$prompt = false |
|
) |
| |
Prepare an XML request body for an PDCX card balance inquiry
- Parameters
-
- Returns
- [string] XML request body
MercuryDC::prepareDataCapVoid |
( |
|
$pcID | ) |
|
Prepare an XML request body to void an PDCX or EMVX transaction
- Parameters
-
$pcID | [int] PaycardTransactions record ID |
- Returns
- [string] XML request
Add token and reversal data fields if available
The documentation for this class was generated from the following file:
- pos/is4c-nf/plugins/Paycards/MercuryDC.php