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

SendSettlement Method

Begins a Batch Settlement transaction with the transaction server.

Syntax

[VB.NET]
Public Sub SendSettlement()
[C#]
public void SendSettlement();

Remarks

This begins a Batch Settlement transaction. The Header Record, Parameter Record, all transaction Detail Records, and the computed Trailer Record are sent sequentially to the Vital/TSYS host.

If the transaction is successful, the Code will contain "GB", which indicates a "Good Batch". You should check that the NetDeposit and RecordCount match the NetDeposit and RecordCount fields.

If the transaction is not successful and you receive an "RB" Code (indicating a "Rejected Batch") the component throws an exception. You may inspect the Data. DataFieldNumber, RecordType, SequenceNumber, and ErrorType properties for more information concerning why the batch was rejected. After either fixing this record to resolve the error, or removing the record from the batch, the entire batch must be resubmitted. When resubmitting a batch that was previously rejected, the BatchNumber must be set to the same value that was originally used. It is critical that the same BatchNumber value is used to avoid duplicate charges.

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