This article provides a fix for “An error occurred on the server” error message when placing an order using Authorize.Net Direct Post.
Due to the Payment Service Directive PSD2 and the continued evolution of many APIs, Authorize.Net is at risk of becoming outdated and no longer security compliant in the future. For this reason, it is now deprecated, and we are recommending that you disable it in your Adobe Commerce configuration and transition to the corresponding Commerce Marketplace extension.
This integration is removed from the Adobe Commerce 2.4.0 release and has been deprecated from the current versions of 2.3.
For details about making a secure transition from deprecated payment integrations, see our DevBlog.
Placing an order using Authorize.Net Direct Post Sandbox account causes an error message:
“An error occurred on the server. Please try to place order again”
It does not seem obvious, but the Authorize.net’s Testing Mode setting must be set to No even when testing with the Sandbox account.
The Authorize.net settings might contain incorrect URL addresses for the critical Authorize.Net resources.
If placing an order with Authorize.net fails with a non-informative “Something went wrong” error, check the Adobe Commerce
In case the
debug.log is empty, check the transact.dll response in your web browser’s console: