Hey. I'm having a most bizarre issue. I'm able to predictably trigger certain errors by setting specific invoiceNumber values. I don't know whether this issue only exists in the sandbox or if it happens in production as well.
I have tested numbers 1 through 20. So far I have found that sending '2' and '11' results in "This transaction has been declined." and sending '3' results in "An error occurred during processing. Call Merchant Service Provider.".
I haven't been able to find any documentation mentioning this, nor any mentions of it elsewhere on the internet. The Testing Guide says nothing about it.
Is this a bug or a feature? Does it happen in production? Is there any way to turn this off?
Thank you.
Solved! Go to Solution.
05-06-2018 02:43 PM - edited 05-06-2018 02:44 PM
Hello @tan
This is a known issue with our sandbox simulator. We had an rogue internal developer add a new trigger value without considering the implications.
Richard
05-07-2018 02:31 PM
I haven't heard of invoice working that way. What api method are you using?
05-07-2018 01:40 PM
I'm sending a createTransactionRequest to https://apitest.authorize.net/xml/v1/request.api.
Are you able to reproduce the issue?
05-07-2018 02:17 PM - edited 05-07-2018 02:18 PM
05-07-2018 02:31 PM
Can you share any details on how to avoid getting this error until it is fixed in your Sandbox environment? Or should we be developing against your production environment?
Unfortunately I am in the position where I am already trying to use a suggested work-around (sending my refId in either the order invoiceNumber or description field because it is not echoed back in the webhook), but the workaround itself is not working because at the payment page I get a "Unexpected error. Please try again"
02-06-2019 03:42 PM
02-07-2019 04:04 PM
Yes, it happens whenever I set the order details on my getHostedPaymentPageRequest.
I get a token back fine, but after landing on the hosted payment form and submitting the payment I get the error.
If I remove the order details, the payment goes through fine.
02-07-2019 07:13 PM
The simplest solution is to create a realistic invoice number when submitting your token request. Try something with 3 or more digits.
Richard
02-07-2019 07:24 PM