Shopify/active_merchant — pull request #283 by tgarnett (2012-02-28 16:52:43+00:00)
Title: Adds CCV code support for Authorize.net CIM transactions.

-- Updated pull request - since the last pull request someone else has added in support for the additional 3.1 api version response fields, so that has been pulled out. What remains is the CVV code support and the new unit test using auth_only => prior_auth_capture (which is the correct flow to use for auth then capture, added some warning notes to tests that use auth_only => capture_only as that sensible sounding pairing naming wise will in fact leak authorizations in most cases). --

Since CCV codes are not stored as part of the payment profile they must be supplied with any transaction (including validateCustomerPaymentProfile) that wishes to use CCV.

Updates the Authorize.net CIM tests to use prior_auth_capture instead of capture_only in the auth then capture unit test. This is a better/more correct example as capture only is not supposed to be used with auth_only. Rather it is intended to be used with transations that were authorized through some other system or required voice authorization.