4D Payments SDK 2016 .NET Edition
4D Payments SDK 2016 .NET Edition
Questions / Feedback?

Capture Method

Sends a capture transaction to the PaymenTech Server.

Syntax

[VB.NET]
Public Sub Capture(ByVal ApprovalCode As String)
[C#]
public void Capture(string approvalCode);

Remarks

Capture (Prior Sales) are typically used when a merchant has previously utilized the AuthOnly method. A Capture transaction adds the transaction to the current open batch, and the transaction will be settled at the next call to the PTechHostSettle component's BatchRelease method. The Paymentech system treats Capture and Force transactions identically, so this method may also be used when a merchant has obtained voice approval over the phone.

Manually keyed capture:

component.Card = new CCCard("4444333322221111", 1, 2010)
component.TransactionAmount = "1.00" 
component.Capture("123456") 'value from voice auth or previous AuthOnly trans

Note: This method is not available when using the Terminal Capture SettlementMode.

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