4D Payments SDK 2016 .NET Edition

Questions / Feedback?

SpecificPoll Event

Fired when a specific poll request is received from the host.


public event OnSpecificPollHandler OnSpecificPoll;

public delegate void OnSpecificPollHandler(object sender, FdmsomahabatchmgrSpecificPollEventArgs e);

public class FdmsomahabatchmgrSpecificPollEventArgs : EventArgs {
  public int TransactionNumber { get; }
  public string Aggregate { get; set; }
Public Event OnSpecificPoll As OnSpecificPollHandler

Public Delegate Sub OnSpecificPollHandler(sender As Object, e As FdmsomahabatchmgrSpecificPollEventArgs)

Public Class FdmsomahabatchmgrSpecificPollEventArgs Inherits EventArgs
  Public ReadOnly Property TransactionNumber As Integer
  Public Property Aggregate As String
End Class


This event fires when a specific poll request is received (which occurs when the host is out-of-balance with the Total Amount specified). Note that this is only applicable when manually handling the batch close details (occurs when setting CreditBatchAmount and DebitBatchAmount). Otherwise the component will compute batch details and handle all revision and specific poll inquiries.

TransactionNumber is used to identify the transaction number requested by the host.

Aggregate should be set to the detail aggregate for the specified TransactionNumber. The component will then use the detail aggregate data to build and send the specific poll response to the host.

If no aggregate is specified, the component will send a negative response to the specific poll inquiry.

Note FDMS does have time constraints on when a response should be sent and received by the host which can be as low as 4 seconds. Therefore the handling and specifying of the Aggregate should occur in a timely manner to ensure that all requests/responses can be processed without the connection being closed.

Copyright (c) 2021 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 8017]