Hello-
Thank you in advance for any assistance.
I am using Accept.js to capture card data.
In the dev console I can see "AcceptCore.js" is called on page load.
When I take action (click submit), I can see in the console that two calls are made to:
https://api2.authorize.net/xml/v1/request.api
The first returns an error:
{"code":"E00001","text":"Error reading JToken from JsonReader. Path '', line 0, position 0."}
The second returns success:
{"opaqueData":{"dataDescriptor":"COMMON.ACCEPT.INAPP.PAYMENT","dataValue":"XdyJj...Si9"},"messages":{"resultCode":"Ok","message":[{"code":"I00001","text":"Successful."}]}}
Anyone else have this happen?
01-07-2020 08:12 AM
Update:
(I am still having the problem)
I grabbed the sample code from Authorize.net, line-for-line, and put it on our server.
I still get the error:
{"resultCode":"Error","message":[{"code":"E00001","text":"Error reading JToken from JsonReader. Path '', line 0, position 0."}
In live mode, I still get the error, but the second post (which does return the opaqueData array) fires this error:
console: E_WC_14: Accept.js encryption failed.
01-07-2020 11:40 AM
I found a solution. It is called Stripe.
I am so disappointed with you, Authorize.net We're moving our entire payment processing business.
01-07-2020 01:25 PM