Sends a capture transaction to the Global Payments Server.
[VB.NET] Public Sub Capture(ByVal PNRef As String)
Capture (Post Auth Capture) transactions are typically used when a merchant has previously utilized
the AuthOnly method. A Capture transaction adds the transaction to the current open batch.
To process a capture, call Capture with the PNRef parameter set to the PNRef returned in response from the transaction for which you wish to capture and set the TransactionAmount to the amount you wish to capture. You may issue a partial capture for any value up to the original authorized amount. For example:
component.TransactionAmount = "15.00"; // Original authorization was for $15.00, so this is a full capture component.Capture("1233513541"); // "1233513541" is the PNRef from the original transactionPartial Capture:
component.TransactionAmount = "10.00"; // Original authorization was for $15.00, so this is a partial capture component.Capture("1233513541"); // PNRef from the original authorization response