Pre-Auth and Capture

The .Net POS Integration via PayClient makes it easy to implement Pre-Authorizations and Captures, enabling you to support the payment workflows that your merchants require.
Performing Pre-Authorizations
You can pre-authorize transactions by adding
AutoCapture(false)
to the
TransactionParameters
:
var transactionParameters = new TransactionParameters.Builder() .Charge(10.00m, Currency.EUR) .AutoCapture(false) .Build();
Capturing Transactions
To capture a transaction at a later time:
  1. Locate the
    transactionIdentifier
    of the transaction you want to capture.
  2. Use the
    TransactionParameters
    builder to create a capture object.
  3. Similar to a refund, call the
    AmendTransaction
    on the
    ITransactionModule
    with the created
    TransactionParameters
    to start the capture process:
var captureParameters = new TransactionParameters.Builder() .Capture("<transactionIdentifier>") .Build();