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

DuplicateChecking Property

Indicates whether duplicate checking is enabled.

Syntax

 ptechhealthcare.getDuplicateChecking([callback])
 ptechhealthcare.setDuplicateChecking( duplicateChecking, [callback])

Possible Values

  0 (duDoNotSendIndicator), 
  1 (duNoDuplicateChecking), 
  2 (duErrorOnDuplicate), 
  3 (duReturnOriginalResponse)

Default Value

0


Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for the getDuplicateChecking([callback]) method is defined as:

function(err, data){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'data' is the value returned by the method.

The callback for the setDuplicateChecking([callback]) method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

Remarks

This Duplicate Checking Indicator is used to tell the Host whether or not to check for duplicate transactions. This property is not valid for BatchInquiry and BatchRelease transactions.

In order to be viewed as a duplicate, the transaction must be exactly the same as the original. This includes SequenceNumber and TransactionAmount.

duDoNotSendIndicator (0)Duplicate Checking Indicator is not sent in the authorization request.
duNoDuplicateChecking (1)No duplicate checking is performed.
duErrorOnDuplicate (2)Duplicate SequenceNumbers are not allowed within the current open batch. Transaction requests containing duplicate SequenceNumbers will receive an error response.
duReturnOriginalResponse (3)Treats authorization requests (within the current batch) containing the same SequenceNumber, CardNumber, TransactionAmount, and the current Transaction Type as duplicate transactions. If a duplicate is found and it was approved, the host will respond with the original response data. If no duplicate is found, or the duplicate was an error, normal authorization processes will be followed.

Data Type

Integer

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