- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not in testmode, but sometimes getting an AuthCode of "000000"
Background: We have had an "annual renewal" application running successfully for a couple years. A year ago we added code to start saving Customer Profiles on Authorize. Now we are sometimes (often) getting AuthCodes of "000000" for transactions. We have an ASP-MVC application written in C#.
What we're seeing: The transaction goes like this:
- We connect to the API with our API Login, Tran Key, and set IsSandbox to FALSE
- We create a customerAddressType object with the information from the customer
- We create a customerPaymentProfileType object with the Card Number and Expiration, setting the Bill To using the object from the previous step
- We add the objects from the previous 2 steps to profiles and addresses
- We then create a customerProfileType object using data from the customer
- Using the object from step 5, we createCustomerProfileRequest, then createCustomerProfileController, and finally Execute
- In most cases, the profile will be a duplicate, and we will get message "E00039" - this is normal for us. If we don't get that message (first time renewal) skip the next step
- We get the Customer Profile ID from the error, and use that going forward
- We get the customerProfilePaymentType using the Customer Profile ID and Payment Profile that have been created
- We now create the transactionRequestType using the amount and paymentProfile
- We createTransactionRequest using the object created in the previous step
- We createTransactionController and Execute it
- The API Response messages.resultCode is OK
- The API Response transactionResponse.transId is valid
- The API Response transactionResponse.authCode is "000000"
- The API Response transactionResponse has no detailed messages
At this point our code has made the determination that the customer was charged successfully, but the charge has actually failed. Looking at the actual transaction, I see:
Transaction Status: Declined (Card declined by issuer - Contact card issuer to determine reason.)
However, there are 2 reasons I feel this is on our end, and not an actual card issue:
- It is happening in about 75% of all charges
- As I said above, this started happening suddenly, exactly one year after we started saving Customer Profiles. Since this is an annual renewal application, these are the first charges to happen with customers who previously used this latest version of our credit card processing (with the Customer Profile IDs).
I appreciate any help in determining how to fix this issue.
Thank you,
Evan
09-20-2017 08:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @esdictor,
Instead of looking for the presence or absence of an authCode, you should be looking for the transactionResponse.responseCode. Anything other than 1 is not approved. In those cases, there should be an error in transactionResponse.errors with detailed error codes/messages.
Error codes can be further analyzed at https://developer.authorize.net/api/reference/responseCodes.html
09-20-2017 09:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Aaron.
I just added some code to look at the responseCode. We were already using the transactionResponse.errors when the messages.resultCode was NULL or not messageTypeEnum.Ok
I believe your response only covers half of the issue. The other half is that we're getting these authCode "000000" in over 50% of our charges. This is a huge increase from our normal rate, so I can't help but think there's another variable somewhere that's causing this. That's why I tried to give so much detail in my description.
Evan
09-20-2017 10:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @esdictor,
I was assuming from your text that you get the authCode of "000000" when the transaction is declined or errored, (i.e. responseCode <>1). Are you also getting this on successfully charged transactions?
09-20-2017 11:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @esdictor,
I also just wanted to give a quick thanks for making your initial post so detailed. That really was very helpful!
09-20-2017 11:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No. It appears that we are only getting "000000" with unsuccessful transactions. So far in all the ones we've checked the Transaction Detail shows:
Transaction Status: Declined (Card declined by issuer - Contact card issuer to determine reason.)
Evan
09-20-2017 11:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's normal and expected, then. I would expect to see it that way on all declined transactions, but again, that's not the indicator that the transaction has been declined.
09-20-2017 11:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2017 11:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Aaron wrote:That's normal and expected, then. I would expect to see it that way on all declined transactions, but again, that's not the indicator that the transaction has been declined.
So the question now is, why are there so many declined transactions suddenly? That can't be a coincidence ... there must be something that's causing them on our end.
Evan
09-20-2017 11:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could be something on your end, or could just be the result of using a year old card number.
Have you signed up for our Account Updater service? If you're going a year between charges, it's likely that a good percentage of people have had card numbers replaced or expired. Account Updater will actually keep those cards in the profiles updated for you without any interaction from the cardholder by getting new card numbers or expiration dates directly from the card issuers.
09-20-2017 12:03 PM - edited 09-20-2017 12:03 PM