Sends a capture transaction to the Global Payments Server.
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
.NET Standard Notes
To call this method in an asynchronous manner call CaptureAsync instead. When the method completes (or an error is encountered) the CaptureCompleted event will fire.