Code Samples

Home/ Code Samples / MerchantWare / Credit ForceCapture

Credit ForceCapture

A basic sample for performing a Force Capture against a Credit / Debit card in which an approval code was issued by means of Voice Authorization.

This code sample provides the basic structure necessary for processing a Force Capture transaction. Depending on the requirements of your Point of Sale application, you may choose to parse out more or less details contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created.

This method should only be used as a backup to charge a Credit / Debit card if you are unable to obtain an authorization through normal processing. An authorization code is required for this function, and will typically be received by Voice Authorization over the phone. Force Captured transactions will always downgrade on rates and fees at the processor. If you make this the default charge method in your application, merchants will end up paying significantly higher transaction rates.