PaymentMethod object that represents the credit card contain a billing address. Using CVN (Card Verification Number) verification requires that the PaymentMethod object contain the security code from the back of the card. Pass the security code from the credit-card owner to Subscribe using a name–value pair on the PaymentMethod object. In this pair, set the name to CVN (the Subscribe generic name for all security codes) and the value to the security code.
Note: PCI regulations prohibit storing a credit card’s CVN security code beyond the limited time frame for verification. Do not store the CVN security code in your system. Vindicia retains it only for as long as it is needed for authorization, and then discards it.
Authorization data from your payment processor for the transaction is located in the transactionStatus field (see Section 18: The Transaction Object in the Subscribe API Guide, for more information) returned by the AutoBill.update() call. Ensure that your code examines this field.
-
If the credit card is approved, the
TransactionStatusobject’sstatusattribute is set toAuthorized; if not, it is set toCancelled. -
Subscribe interprets the AVS response code from your payment processor, which can vary from processor to processor, and sets
vinAVSto one of the values specified in theAVSMatchTypeenumeration (see the AVSMatchType Subobject in the Subscribe API Guide). The values of AVS response codes interpreted by Subscribe from your payment processor are in simple English:Match,Partial Match,No Match,No Opinion,Not Supported, andIssuer Error. To retrieve the actual response code, look up theTransactionStatusCreditCardobject inside theTransactionStatusobject (creditCardStatusattribute). TheCreditCardStatusobject contains an attribute calledavsCode, which contains the return code received from your payment processor. -
The values of CVN response codes interpreted by Subscribe from your payment processor are in simple English:
Match,Not Processed,Not Supported,Not Present,Invalid, andNo Response. To examine the CVN response code, use thecvnCodeattribute of theTransactionStatusCreditCardobject inside theTransactionStatusobject (creditCardStatusattribute).cvnCodecontains the response from your payment processor for the security code you sent with the payment method.
AutoBill object, or update one with a new payment method. Once you have created an AutoBill object and started generating transactions, these verification mechanisms may no longer be used. PCI regulations forbid the storage of credit-card security codes. Because Subscribe does not store these numbers, Subscribe is unable to perform verification for subsequent transactions using the payment method for the AutoBill object when it was first created.
Parent topic:Creating AutoBills
