Skip to main content
To verify security codes for real-time billing, set the name–value pair for the PaymentMethod object. See Verifying AVS and CVN for Recurring Billing for details. The authCapture() method authorizes a transaction and marks it for capture by a Subscribe back-end batch process. auth() also authorizes a transaction and returns the authorization results, including the results from address and security-code verifications, but does not mark the transaction for automatic capture. To capture the transaction using auth(), you must call capture() before the authorization period expires. (The authorization period varies by payment processor, but is typically three days for real-time transactions, and seven days for recurring transactions.) If you have shippable merchandise or want an additional risk review process before deciding whether to capture a transaction, make two separate SOAP calls. (When calling authCapture() to immediately mark a transaction for capture, the capture operation might occur before you have a chance to call cancel().) Payment processors recommend authorizing a transaction when the order is placed, and capturing it only after you have shipped the merchandise. To do this, make a live auth() call when a customer places an order. After the product is authorized or shipped, use a capture() call in batch mode to process an array of transactions at the end of a day, or more frequently, depending on the volume of your transactions. The authCapture() call may save time if your one-time transactions are for relatively small amounts and do not require physical shipments. However, Vindicia recommends that you screen transactions for fraud risk with the score call before calling authCapture. To verify address and security codes, retrieve AVS and CVN code responses, then examine the TransactionStatus object in the Transaction. Look at the most recent entry in the statusLog array of the Transaction object, located in the first position in the array. If you specify a minChargebackProbability of less than 100 when calling auth(), Subscribe evaluates the risk score for the transaction, and includes the results in the return parameters score and scoreCodes (codes and corresponding messages that explain the score). If the score evaluates higher than minChargebackProbability, no authorization with the payment processor is performed, saving you the cost of authorizing a transaction with the payment processor if it is determined to be potentially fraudulent. Note: To ignore the fraud score, set minChargebackProbability to 100.

Verify for real-time billing

Capture multiple authorized Transactions in a batch

Parent topic:Using Credit Cards for One-Time Transactions