Begins a Batch Settlement transaction with the transaction server.
public void SendSettlement();
Public Sub SendSettlement()
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 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.
.NET Standard Notes
To call this method in an asynchronous manner call SendSettlementAsync instead. When the method completes (or an error is encountered) the SendSettlementCompleted event will fire.