Direct Payment Integrator V6 - Online Help
Direct Payment Integrator V6
Questions / Feedback?

ResponseMACValue Property

Hash value that must be validated by the PIN pad after each response.

Object Oriented Interface

public function getResponseMACValue();

Procedural Interface

inpaydirect_ptechcanadiandebit_get($res, 24 );

Default Value

''

Remarks

Hash value that must be validated by the PIN pad after each response. Each successful response to a transaction will include a ResponseMACKey and a ResponseMACValue. The ResponseMACKey (and ResponsePINKey) should be loaded into the PIN pad device upon receipt. The ResponseMACValue is a string encrypted by the Paymentech server using the ResponseMACKey, and is included in every successful response message. The original unencrypted data is returned by the GetResponseDataToMAC method. After loading the ResponseMACKey into the PIN pad device, send both ResponseMACValue and GetResponseDataToMAC to the PIN pad device for validation. If the PIN pad indicates the MAC matches, you're done, and you can continue processing transactions. However, if the PIN pad indicates the MAC did not match, you must immediately perform a MACReversal transaction, and consider the request as not approved.

A mismatched MAC value may mean that something was corrupted in data transmission, the response packet was tampered with, or that the keys loaded into your PIN pad device are not synchronized with Paymentech. Try synchronizing your keys with the RequestCurrentKeys method and then re-submitting the transaction.

This property is read-only.

Data Type

String

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0