Capture Method
Sends a capture transaction to the PaymenTech Server.
Object Oriented Interface
public function doCapture($approvalcode);
Procedural Interface
inpaydirect_ptechhealthcare_do_capture($res, $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 class'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:
class.CardNumber = "4444333322221111" class.CardExpMonth = 1 class.CardExpYear = 2010 class.TransactionAmount = "1.00" class.Capture("123456") 'value from voice auth or previous AuthOnly trans