Showing results for 
Search instead for 
Did you mean: 

card code not being processed

We’re having an issue (both on sandbox and on live) where it looks like the CCV (card code) isn’t being processed, even though it looks like we’re passing it in correctly when using createCustomerProfileRequest to capture a prior authorization.  When we look at the transactions in our account, the Card Code Status is always “Not Processed”.  In our sandbox account, I’ve set our settings to decline transactions if CCV is not processed, and all transactions are declined. (Note: I understand the card code won't be stored, but we want them to be processed [invalid codes being passed in are being authorized])


Based on the docs, it looks like we’re passing it in correctly (I’ve tried using various validationMode values (liveMode, testMode, and none) with no change).


Is there something else we’re missing? I’m including a sample (redacted) XML payload below:


<?xml version="1.0" encoding="UTF-8"?>
<createCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
                <address>16015 Main St</address>



Hi huwuhuyo


You have provided an example of a createCustomerProfileRequest, but are referencing capturing a previously authorized amount, which would use createTransactionRequest. You cannot use a createCustomerProfileRequest to capture a prior authorization. 


Please find an example of capturing a prior authorization here. 


You may also review charging an already existing customer profile, which allows you to include the card code value, here


I hope this is helpful to you in moving forward. 




Moderator Moderator