I am tying to charge a credit card from CIM (CREATE_CUSTOMER_PROFILE_TRANSACTION) which I got to work, but when I try a wrong CCV the transaction does not fail.
So I made CCV required (through Payment Form -> Form Fields) and I started receiving error E00027 "Card Code is required." when either entering correct or incorrect code.
I tried the method "toAuthNetPOSTString" to see the generated XML and the CCV is never there:
<?xml version="1.0" encoding="UTF-8"?> <createCustomerProfileTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <merchantAuthentication> ... </merchantAuthentication> <transaction> <profileTransAuthOnly> <amount>1.00</amount> <customerProfileId>...</customerProfileId> <customerPaymentProfileId>...</customerPaymentProfileId> <customerShippingAddressId>...</customerShippingAddressId> <order /> </profileTransAuthOnly> </transaction> </createCustomerProfileTransactionRequest>
(There were correct values where I placed the "...")
Is there a way to include the CCV in the transaction request? Or is the android sdk source code available somewhere so I can modify it? I mean the one for the jar library anet-java-sdk-android-2.0.5.jar
Solved! Go to Solution.