0

Using Magento 2.3.3, I've set up a sandbox Auth.net account, and added the API Login ID, Transaction Key, Public Client Key and Signature Key to the admin configuration, enabled the Payment Method and cleared the cache.

On checkout, selecting the Auth.net payment method and clicking 'Place Order', I'm getting an error displayed on the payment page:

User authentication failed due to invalid authentication values.

But I'm seeing a different error in the requests to the API:

Request URL: https://apitest.authorize.net/xml/v1/request.api
Request Method: OPTIONS
Status Code: 200 OK

Response:

{"messages":{"resultCode":"Error","message":[{"code":"E00001","text":"Error reading JToken from JsonReader. Path '', line 0, position 0."}]}}

I guess this could be a result of the configuration, but afaict, there's nothing further required than the above.

  • I'm running into this with production credentials but only for one Auth.net account. – Marisa Jan 15 at 23:06
  • I've filed a bug with Magento - apparently it's happening with 2.4-develop as well: github.com/magento/magento2/issues/26376 – dbcn Jan 20 at 17:26
  • Is there a workaround or fix? – Marisa Jan 20 at 17:50
  • Sadly not that I'm aware of @Marisa – dbcn Jan 27 at 14:23
  • It looks like the entire core Auth.net module has been deprecated with 2.3.4 per the Release Notes: devdocs.magento.com/guides/v2.3/release-notes/… - "The core integration of the Authorize.net payment method has been deprecated. Please use the official payment integration that is available on Marketplace." – dbcn Jan 30 at 16:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.