TransactionType Property
Specifies the type of transaction to process.
Syntax
public int getTransactionType(); public void setTransactionType(int transactionType);
Enumerated values: public final static int dmtECommerce = 0; public final static int dmtMOTO = 1; public final static int dmtRecurring = 2; public final static int dmtInstallment = 3;
Remarks
The following types of transactions are supported by this component:
dmtECommerce (0) | This is an E-Commerce transaction, and consists of goods or services sold online over the Internet. |
dmtMOTO (1) | This is a Mail Order or Telephone Order transaction, and consists of goods sold through the mail or over the phone. |
dmtRecurring (2) | This is a recurring payment, such as a magazine subscription or health club membership. |
dmtInstallment (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 TSYSRetail component.
To settle a transaction authorized with the ttInstallment TransactionType, you must use the TSYSDetailRecord component to add the number of this installment and the total count of all installments to be made. For instance, if the purchase was for "Three easy payments of $19.95", and this is the first payment, then the installment number will be 1, and the installment count 3. An example is included below:
TSYSECommerce.TransactionType = ttInstallment TSYSECommerce.TransactionAmount = "1995" TSYSECommerce.Authorize() DetailRecord.ParseAggregate TSYSECommerce.GetDetailAggregate() DetailRecord.InstallmentCount = 3 DetailRecord.InstallmentNumber = 1 TSYSSettle.DetailAggregate[5] = DetailRecord.GetDetailAggregate()
Default Value
0