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

DirectMarketingType Property

Specifies the type of transaction to process.

Syntax

 fdmsomahadetailrecord.getDirectMarketingType([callback])
 fdmsomahadetailrecord.setDirectMarketingType( directMarketingType, [callback])

Possible Values

  0 (dmECommerce), 
  1 (dmMOTO), 
  2 (dmRecurring), 
  3 (dmInstallment)

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 getDirectMarketingType([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 setDirectMarketingType([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 property is used to specify the type of direct marketing transaction you wish to process.

The following types of transactions are supported by this class:

dmECommerce (0)This is an E-Commerce transaction, and consists of goods or services sold online over the Internet.
dmMOTO (1)This is a Mail Order or Telephone Order transaction, and consists of goods sold through the mail or over the phone.
dmRecurring (2)This is a recurring payment, such as a magazine subscription or health club membership.
dmInstallment (3)This is an installment payment. For example, "Three easy payments of $19.95".

All of these transactions are card-not-present transactions. If you wish to authorize card-present transactions, you must use the FDMSOmahaRetail class.

Note: For Installment payments, Omaha does not support specifying the Installment Number and Installment Count. Therefore it is up to the merchant to maintain this information internally. Thus the only additional requirement to send an Installment payment is to set DirectMarketingType to dmInstallment.

Data Type

Integer

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