[Skip to main content](#vessel-content)

#   Authorize.net fails with error message but no error code.

##

- **[icomex](/forum/user/4967-icomex "View icomex's Profile")**
- [![icomex's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4967.png)](/forum/user/4967-icomex "View icomex's Profile") Topic Author
- [ Offline](/forum/user/4967-icomex)

Less More

- Posts: 149
- Thank you received: 6
-
-

4 years 3 months ago [\#343950](#343950) by [icomex](/forum/user/4967-icomex "View icomex's Profile")  *[Authorize.net fails with error message but no error code.](/forum/29-payment-methods/904860-authorize-net-fails-with-error-message-but-no-error-code#343950 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4.30  I'm working to set up an Authorize.net sandbox account, since we're still suffering some instability using the Stripe payment plugin on Chrome browsers. We're forcing SSL, communicating with their sandbox URL, using the AIM API, and we seem to be logging in to the sandbox properly - at least, we're not getting a login error since we discovered a typo in our initial settings. All seems stable except that every purchase attempt returns an Authorize.net error message:  &quot;There was an error while processing your transaction:&quot;  but it includes no error codes or additional information, so I have no information to guide me to the next step of troubleshooting. The order remains in Joomla's memory - no order is cancelled, created or confirmed. The Hikashop Payment Log File contains no information about each attempt, and Joomla's &quot;Everything&quot; log seems to be recording an uncaught throwable RouteNotFoundException with each attempt, but it has no impact on the browser redrawing the checkout page which includes the aforementioned Authorize.net error message.  I'm going to take a look inside the Authorize.net plugin to see if I can document the full interaction between the plugin and Authorize.net, but I would welcome and suggestions of where else I might check.  Thank you for your time.")* was created by *[icomex](/forum/user/4967-icomex "View icomex's Profile")*

-- HikaShop version -- : 4.6.1
-- Joomla version -- : 4.1.5
-- PHP version -- : 7.4.30

I'm working to set up an Authorize.net sandbox account, since we're still suffering some instability using the Stripe payment plugin on Chrome browsers. We're forcing SSL, communicating with their sandbox URL, using the AIM API, and we seem to be logging in to the sandbox properly - at least, we're not getting a login error since we discovered a typo in our initial settings. All seems stable except that every purchase attempt returns an Authorize.net error message:

**"There was an error while processing your transaction:"**

but it includes no error codes or additional information, so I have no information to guide me to the next step of troubleshooting. The order remains in Joomla's memory - no order is cancelled, created or confirmed. The Hikashop Payment Log File contains no information about each attempt, and Joomla's "Everything" log seems to be recording an uncaught throwable RouteNotFoundException with each attempt, but it has no impact on the browser redrawing the checkout page which includes the aforementioned Authorize.net error message.

I'm going to take a look inside the Authorize.net plugin to see if I can document the full interaction between the plugin and Authorize.net, but I would welcome and suggestions of where else I might check.

Thank you for your time.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjAtYXV0aG9yaXplLW5ldC1mYWlscy13aXRoLWVycm9yLW1lc3NhZ2UtYnV0LW5vLWVycm9yLWNvZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

4 years 3 months ago [\#343959](#343959) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Authorize.net fails with error message but no error code.](/forum/29-payment-methods/904860-authorize-net-fails-with-error-message-but-no-error-code#343959 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4.30  I'm working to set up an Authorize.net sandbox account, since we're still suffering some instability using the Stripe payment plugin on Chrome browsers. We're forcing SSL, communicating with their sandbox URL, using the AIM API, and we seem to be logging in to the sandbox properly - at least, we're not getting a login error since we discovered a typo in our initial settings. All seems stable except that every purchase attempt returns an Authorize.net error message:  &quot;There was an error while processing your transaction:&quot;  but it includes no error codes or additional information, so I have no information to guide me to the next step of troubleshooting. The order remains in Joomla's memory - no order is cancelled, created or confirmed. The Hikashop Payment Log File contains no information about each attempt, and Joomla's &quot;Everything&quot; log seems to be recording an uncaught throwable RouteNotFoundException with each attempt, but it has no impact on the browser redrawing the checkout page which includes the aforementioned Authorize.net error message.  I'm going to take a look inside the Authorize.net plugin to see if I can document the full interaction between the plugin and Authorize.net, but I would welcome and suggestions of where else I might check.  Thank you for your time.")*

Hi,

HikaShop payment log file will contain debug information if you try with the "debug" setting activated in the settings of the payment method.
However, checking the code of the plugin, I can see that the AIM mode is missing debug logging.
We'll add that. You can add it too by adding the code Code:

if($this-&gt;payment_params-&gt;debug){ hikashop_writeToLog($vars); hikashop_writeToLog($post_response); }

in the onBeforeOrderCreate function just before the line: Code:

curl_close ($request);

Otherwise, you can switch temporarily to SIM mode so that you can get the debug since it should normally produce the same error as the AIM mode.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjAtYXV0aG9yaXplLW5ldC1mYWlscy13aXRoLWVycm9yLW1lc3NhZ2UtYnV0LW5vLWVycm9yLWNvZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[icomex](/forum/user/4967-icomex "View icomex's Profile")**
- [![icomex's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4967.png)](/forum/user/4967-icomex "View icomex's Profile") Topic Author
- [ Offline](/forum/user/4967-icomex)

Less More

- Posts: 149
- Thank you received: 6
-
-

4 years 3 months ago [\#343989](#343989) by [icomex](/forum/user/4967-icomex "View icomex's Profile")  Replied by *[icomex](/forum/user/4967-icomex "View icomex's Profile")* on topic *[Authorize.net fails with error message but no error code.](/forum/29-payment-methods/904860-authorize-net-fails-with-error-message-but-no-error-code#343989 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4.30  I'm working to set up an Authorize.net sandbox account, since we're still suffering some instability using the Stripe payment plugin on Chrome browsers. We're forcing SSL, communicating with their sandbox URL, using the AIM API, and we seem to be logging in to the sandbox properly - at least, we're not getting a login error since we discovered a typo in our initial settings. All seems stable except that every purchase attempt returns an Authorize.net error message:  &quot;There was an error while processing your transaction:&quot;  but it includes no error codes or additional information, so I have no information to guide me to the next step of troubleshooting. The order remains in Joomla's memory - no order is cancelled, created or confirmed. The Hikashop Payment Log File contains no information about each attempt, and Joomla's &quot;Everything&quot; log seems to be recording an uncaught throwable RouteNotFoundException with each attempt, but it has no impact on the browser redrawing the checkout page which includes the aforementioned Authorize.net error message.  I'm going to take a look inside the Authorize.net plugin to see if I can document the full interaction between the plugin and Authorize.net, but I would welcome and suggestions of where else I might check.  Thank you for your time.")*

Thanks! I will give it a try.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjAtYXV0aG9yaXplLW5ldC1mYWlscy13aXRoLWVycm9yLW1lc3NhZ2UtYnV0LW5vLWVycm9yLWNvZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[icomex](/forum/user/4967-icomex "View icomex's Profile")**
- [![icomex's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4967.png)](/forum/user/4967-icomex "View icomex's Profile") Topic Author
- [ Offline](/forum/user/4967-icomex)

Less More

- Posts: 149
- Thank you received: 6
-
-

4 years 3 months ago [\#344014](#344014) by [icomex](/forum/user/4967-icomex "View icomex's Profile")  Replied by *[icomex](/forum/user/4967-icomex "View icomex's Profile")* on topic *[Authorize.net fails with error message but no error code.](/forum/29-payment-methods/904860-authorize-net-fails-with-error-message-but-no-error-code#344014 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4.30  I'm working to set up an Authorize.net sandbox account, since we're still suffering some instability using the Stripe payment plugin on Chrome browsers. We're forcing SSL, communicating with their sandbox URL, using the AIM API, and we seem to be logging in to the sandbox properly - at least, we're not getting a login error since we discovered a typo in our initial settings. All seems stable except that every purchase attempt returns an Authorize.net error message:  &quot;There was an error while processing your transaction:&quot;  but it includes no error codes or additional information, so I have no information to guide me to the next step of troubleshooting. The order remains in Joomla's memory - no order is cancelled, created or confirmed. The Hikashop Payment Log File contains no information about each attempt, and Joomla's &quot;Everything&quot; log seems to be recording an uncaught throwable RouteNotFoundException with each attempt, but it has no impact on the browser redrawing the checkout page which includes the aforementioned Authorize.net error message.  I'm going to take a look inside the Authorize.net plugin to see if I can document the full interaction between the plugin and Authorize.net, but I would welcome and suggestions of where else I might check.  Thank you for your time.")*

The code sample you provided DID enable the Debug log when using AIM, however, what it is exposing is that the Credit Card information is not available when the $vars values are collected.

The CC values which were submitted with the Checkout Cart are not within the application's Input values, or the User State values.

Of the three modes the Authorize.net plugin supports, AIM is the only one which displays input fields for the Credit Card values.

Apparently Authorize.net is deprecating all three protocols this plugin currently supports ( AIM, SIM and DMP ) in favor of either an XML or JSON based format. Are there any plans to update Hikashop's Authorize.net plugin?

The plugin documentation also does not mention the current plugin's Enable Validation Mode and Test Payments buttons. Do you have updated recommended settings for each mode?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjAtYXV0aG9yaXplLW5ldC1mYWlscy13aXRoLWVycm9yLW1lc3NhZ2UtYnV0LW5vLWVycm9yLWNvZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

4 years 3 months ago [\#344027](#344027) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Authorize.net fails with error message but no error code.](/forum/29-payment-methods/904860-authorize-net-fails-with-error-message-but-no-error-code#344027 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4.30  I'm working to set up an Authorize.net sandbox account, since we're still suffering some instability using the Stripe payment plugin on Chrome browsers. We're forcing SSL, communicating with their sandbox URL, using the AIM API, and we seem to be logging in to the sandbox properly - at least, we're not getting a login error since we discovered a typo in our initial settings. All seems stable except that every purchase attempt returns an Authorize.net error message:  &quot;There was an error while processing your transaction:&quot;  but it includes no error codes or additional information, so I have no information to guide me to the next step of troubleshooting. The order remains in Joomla's memory - no order is cancelled, created or confirmed. The Hikashop Payment Log File contains no information about each attempt, and Joomla's &quot;Everything&quot; log seems to be recording an uncaught throwable RouteNotFoundException with each attempt, but it has no impact on the browser redrawing the checkout page which includes the aforementioned Authorize.net error message.  I'm going to take a look inside the Authorize.net plugin to see if I can document the full interaction between the plugin and Authorize.net, but I would welcome and suggestions of where else I might check.  Thank you for your time.")*

Hi,

Obsidev actually already has developed an Authorize.net payment plugin for the JSON API several years ago :
[ www.hikashop.com/marketplace/product/150...e-js-by-obsidev.html](https://www.hikashop.com/marketplace/product/150-payment-authorize-js-by-obsidev.html)
So that's why we don't have plans to replace the plugin. It still works for many merchants and if you want/need the new API, this plugin is already available.

The "Enable Validation Mode" setting will either do an authorize only payment or an authorize and capture payment. With the auhtorize only mode (when the setting is on) you need to manually confirm the payment on your Authorize.net merchant account interface to receive the funds.
The "test payments" setting is just to work in test mode, without real payments.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4NjAtYXV0aG9yaXplLW5ldC1mYWlscy13aXRoLWVycm9yLW1lc3NhZ2UtYnV0LW5vLWVycm9yLWNvZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.052 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
