04-08-2019 02:42 PM
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"> <merchantAuthentication> <name>**********</name> <transactionKey>*******</transactionKey> </merchantAuthentication> <refId>20190408154524BRADY</refId> <profile> <merchantCustomerId>20190408154524BRADY</merchantCustomerId> <description>sbrady|foo</description> <email>email@example.com</email> <paymentProfiles> <billTo> <firstName>Scott</firstName> <lastName>Brady</lastName> <address>16015 Main St</address> <city>Houston</city> <state>TX</state> <zip>77084-1234</zip> <country>US</country> <phoneNumber>123-123-1234</phoneNumber> </billTo> <payment> <creditCard> <cardNumber>4111111111111111</cardNumber> <expirationDate>2020-02</expirationDate> <cardCode>123</cardCode> </creditCard> </payment> </paymentProfiles> </profile> <validationMode>testMode</validationMode> </createCustomerProfileRequest>
04-09-2019 10:28 AM
If you are sending validationMode= testMode, then the card code is not processed. It will be processed in liveMode when it is sent to the processor for validation along with the rest of the transaction information.
04-09-2019 12:26 PM
I tried liveMode, as well, but it was still within the sandbox (so, I'm not sure if that works in the sandbox). We have clients in production where we're sending liveMode, and they're not being processed (which is what started me down this road). Invalid cardCodes are being let through.
04-23-2019 12:40 PM
Any further info on this? I'm hitting the same issue, both when validating a customer profile or charging a stored profile. In both cases, it's showing as Not Processed even though provided.
I'm also getting a schema error when using the live API console to pass codeCode to validate customer payment profile, which is weird because it's clearly there in the schema.