I followed the steps to set up Accept.js here: https://developer.authorize.net/api/reference/features/acceptjs.html
When I do the very first step, which is to verify the credit card data, I get an error: E_WC_10:Please provide valid apiloginid.
My api login id and client id are correct.
I've tried using both the regular script and the sandbox script urls.
I have a sandbox account set up.
I just can't understand why it's kicking back that error, when I'm using the proper values. What else should I be checking?
11-01-2017 10:51 AM - edited 11-01-2017 10:51 AM
Problem solved. Can somebody please update the example code on this page?
https://developer.authorize.net/api/reference/features/acceptjs.html
I spent almost two hours researching and troubleshooting in order to figure out that there's a typo in the code.
This:
<script type="text/javascript"> function sendPaymentDataToAnet() { var authData = {}; authData.clientKey = "YOUR PUBLIC CLIENT KEY"; authData.apiLoginId = "YOUR API LOGIN"; } </script>
Should be this:
<script type="text/javascript"> function sendPaymentDataToAnet() { var authData = {}; authData.clientKey = "YOUR PUBLIC CLIENT KEY"; authData.apiLoginID = "YOUR API LOGIN"; } </script>
Notice the difference in authData.apiLoginId vs authData.apiLoginID.
11-01-2017 11:01 AM
@ChrisKC wrote:I followed the steps to set up Accept.js here: https://developer.authorize.net/api/reference/features/acceptjs.html
When I do the very first step, which is to verify the credit card data, I get an error: E_WC_10:Please provide valid apiloginid.
My api login id and client id are correct. prepaid gift balance
I've tried using both the regular script and the sandbox script urls.
I have a sandbox account set up.
I just can't understand why it's kicking back that error, when I'm using the proper values. What else should I be checking?
For me exactly the same ... really annoying!
10-13-2018 02:19 AM - edited 10-13-2018 02:29 AM
Oh ffs, 2 hours lost here too.
And it's still not updated!!
12-22-2018 06:53 PM
Oh ffs, 2 hours lost here too.
And it's still not updated!!
12-22-2018 06:54 PM
Hello,
We use Authorize.net Accept.js to accept credit card payment. Its working fine in 95% cases but in some cases its not generate dataValue and dataDescriptor and post credit card details to server.
I cannot find excate reason because in 95% cases its working fine and also error not getting in 5% cases.
12-24-2018 06:12 AM