/n software 3-D Secure V2 Node.js Edition

Questions / Feedback?

RecurFrequency Property

An integer indicating the minimum number of days between authorizations.

Syntax

 mpi.getRecurFrequency([callback])
 mpi.setRecurFrequency( recurFrequency, [callback])

Default Value

""

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 getRecurFrequency([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 setRecurFrequency([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 field indicates the minimum number of days between authorizations. A frequency of monthly is indicated by a value of "28". The earliest possible date for each authorization is based on the actual date of the prior authorization. Thus, if the most recent authorization was dated December 31, 2000, then the earliest possible date for the next authorization is January 28, 2001. However, the next authorization typically occurs on January 31, 2001. Later authorizations are acceptable, up until RecurEndDate.

This property is not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
/n software 3-D Secure V2 Node.js Edition - Version 2.2 [Build 8162]