cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Magento 2 Auth.net API request has no response

Hello - we are seeing seemingly random drops in responses from Auth.net. With the debug log on, we saw a customer place 2 orders, the first has no response, and the 2nd, placed half an hour later, went through fine. There is no record of Auth.net ever receiving the first request, and the customers order is still in 'Pending' state (rather than 'Processing,' which occurs after the payment has been confirmed).

 

The 2nd order was placed, there is a record of the transaction in Auth.net and the customers order has been processed in Magento as expected. 

 

How can I determine why the initial order did not receive a response? From the payment log:

 

[2018-08-31 16:53:04] main.DEBUG: array (
  'request' => 
  array (
    [order data] // FIRST ORDER, NO RESPONSE
  ),
) [] []
[2018-08-31 17:17:51] main.DEBUG: array (
  'request' => 
  array (
    [order data] // SECOND ORDER, SUCCESSFUL RESPONSE
  ),
) [] []
[2018-08-31 17:17:54] main.DEBUG: array (
  'response' => 
  array (
    'x_response_code' => '1',
    'x_response_reason_code' => '1',
    'x_response_reason_text' => 'This transaction has been approved.',
    ...
  ),
) [] []
nbennett25
Member
3 REPLIES 3

Any updates here? this has occurred randomly a few times over the last few weeks - is this just the result of an issue on Auth.net's side? Not sure why one request would fail and the next would be fine...

nbennett25
Member

@nbennett25

 

It may help if you identified the specific Magento plugin you are using with Authorize.Net.

 

Richard

Thanks @RichardH  - not sure what you mean, we're using the built in Auth.net module (

vendor/magento/module-authorizenet/) with Magento 2.2.4.