cancel
Showing results for 
Search instead for 
Did you mean: 

E00001 : An error occurred during processing. Please try again.

When i am using API Reference and add my "API Login ID" and "Transaction Key" it is good and i am getting following xml:

 

 

<?xml version="1.0" encoding="utf-8"?> 
<authenticateTestResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
  <messages>
    <resultCode>
      Ok
    </resultCode>
    <message>
      <code>
        I00001
      </code>
      <text>
        Successful.
      </text>
    </message>
  </messages>
</authenticateTestResponse>

But when if want to test "Create an Accept Payment Transaction" i get following result:

 

<?xml version="1.0" encoding="utf-8"?> 
<createTransactionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
  <refId>
    123456
  </refId>
  <messages>
    <resultCode>
      Error
    </resultCode>
    <message>
      <code>
        E00001
      </code>
      <text>
        An error occurred during processing. Please try again.
      </text>
    </message>
  </messages>
  <transactionResponse />
</createTransactionResponse>

This worked one time for me and I have received transaction email but after that I did not received transaction and get this error.

 

realtynasimon
Member
4 REPLIES 4

Hello @realtynasimon

 

You may wish to monitor the connection between your system and the gateway.  This error can occur if your application cannot make a TLS connection to our gatway through the SDK.

 

Richard

RichardH
Administrator Administrator
Administrator

Hello Richard,

 

Thank you for your reply. I am going to share my troubleshooting with you it is not good experience that sandbox mode does not work properly.

 

This section worked one time for us and after that it does not work, maybe something blocking our request or something else.

 

1. I send request to  https://apitest.authorize.net/xml/v1/request.api with curl to ensure that it works and get the following result:
{"messages":{"resultCode":"Error","message":[{"code":"E00003","text":"Root element is missing."}]}}
 
2. Send request to https://www.howsmyssl.com/a/check to check TLS version and get the following result:
The connection uses TLS 1.2
 
3. According to the https://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/Request-for-Comments-A..., that you sent I am going share available versions of each module with you:
PHP Version: 7.1.22
OpenSSL: 1.0.2
cURL: 7.34.0
 
Best Regards,
Simon A.

Hello @realtynasimon

 

Can you provide your entire request with any sensitive information removed?

 

Richard

Hi Richard,

 

This is my request body accrding to https://github.com/AuthorizeNet/sdk-php that always retrurn error:

 

net\authorize\api\contract\v1\CreateTransactionRequest Object
(
    [transactionRequest:net\authorize\api\contract\v1\CreateTransactionRequest:private] => net\authorize\api\contract\v1\TransactionRequestType Object
        (
            [transactionType:net\authorize\api\contract\v1\TransactionRequestType:private] => authCaptureTransaction
            [amount:net\authorize\api\contract\v1\TransactionRequestType:private] => 2
            [currencyCode:net\authorize\api\contract\v1\TransactionRequestType:private] => USD
            [payment:net\authorize\api\contract\v1\TransactionRequestType:private] => net\authorize\api\contract\v1\PaymentType Object
                (
                    [creditCard:net\authorize\api\contract\v1\PaymentType:private] => 
                    [bankAccount:net\authorize\api\contract\v1\PaymentType:private] => 
                    [trackData:net\authorize\api\contract\v1\PaymentType:private] => 
                    [encryptedTrackData:net\authorize\api\contract\v1\PaymentType:private] => 
                    [payPal:net\authorize\api\contract\v1\PaymentType:private] => 
                    [opaqueData:net\authorize\api\contract\v1\PaymentType:private] => net\authorize\api\contract\v1\OpaqueDataType Object
                        (
                            [dataDescriptor:net\authorize\api\contract\v1\OpaqueDataType:private] => COMMON.ACCEPT.INAPP.PAYMENT
                            [dataValue:net\authorize\api\contract\v1\OpaqueDataType:private] => dbab5103db77a2d481a54081b5f0533d
                            [dataKey:net\authorize\api\contract\v1\OpaqueDataType:private] => 
                        )

                    [emv:net\authorize\api\contract\v1\PaymentType:private] => 
                    [dataSource:net\authorize\api\contract\v1\PaymentType:private] => 
                )

            [profile:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [solution:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [callId:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [terminalNumber:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [authCode:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [refTransId:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [splitTenderId:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [order:net\authorize\api\contract\v1\TransactionRequestType:private] => net\authorize\api\contract\v1\OrderType Object
                (
                    [invoiceNumber:net\authorize\api\contract\v1\OrderType:private] => 155
                    [description:net\authorize\api\contract\v1\OrderType:private] => Registering for Membership to Realtor
                )

            [lineItems:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [tax:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [duty:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [shipping:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [taxExempt:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [poNumber:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [customer:net\authorize\api\contract\v1\TransactionRequestType:private] => net\authorize\api\contract\v1\CustomerDataType Object
                (
                    [type:net\authorize\api\contract\v1\CustomerDataType:private] => individual
                    [id:net\authorize\api\contract\v1\CustomerDataType:private] => 99999456654
                    [email:net\authorize\api\contract\v1\CustomerDataType:private] => EllenJohnson@example.com
                    [driversLicense:net\authorize\api\contract\v1\CustomerDataType:private] => 
                    [taxId:net\authorize\api\contract\v1\CustomerDataType:private] => 
                )

            [billTo:net\authorize\api\contract\v1\TransactionRequestType:private] => net\authorize\api\contract\v1\CustomerAddressType Object
                (
                    [phoneNumber:net\authorize\api\contract\v1\CustomerAddressType:private] => 
                    [faxNumber:net\authorize\api\contract\v1\CustomerAddressType:private] => 
                    [email:net\authorize\api\contract\v1\CustomerAddressType:private] => 
                    [firstName:net\authorize\api\contract\v1\NameAndAddressType:private] => Ellen
                    [lastName:net\authorize\api\contract\v1\NameAndAddressType:private] => Johnson
                    [company:net\authorize\api\contract\v1\NameAndAddressType:private] => Souveniropolis
                    [address:net\authorize\api\contract\v1\NameAndAddressType:private] => 14 Main Street
                    [city:net\authorize\api\contract\v1\NameAndAddressType:private] => Pecan Springs
                    [state:net\authorize\api\contract\v1\NameAndAddressType:private] => TX
                    [zip:net\authorize\api\contract\v1\NameAndAddressType:private] => 44628
                    [country:net\authorize\api\contract\v1\NameAndAddressType:private] => USA
                )

            [shipTo:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [customerIP:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [cardholderAuthentication:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [retail:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [employeeId:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [transactionSettings:net\authorize\api\contract\v1\TransactionRequestType:private] => Array
                (
                    [0] => net\authorize\api\contract\v1\SettingType Object
                        (
                            [settingName:net\authorize\api\contract\v1\SettingType:private] => duplicateWindow
                            [settingValue:net\authorize\api\contract\v1\SettingType:private] => 155
                        )

                )

            [userFields:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [surcharge:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [merchantDescriptor:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [subMerchant:net\authorize\api\contract\v1\TransactionRequestType:private] => 
            [tip:net\authorize\api\contract\v1\TransactionRequestType:private] => 
        )

    [merchantAuthentication:net\authorize\api\contract\v1\ANetApiRequestType:private] => net\authorize\api\contract\v1\MerchantAuthenticationType Object
        (
            [name:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => 7VH25pJw4
            [transactionKey:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => 4eenTH9H3T9uZ794
            [sessionToken:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => 
            [password:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => 
            [impersonationAuthentication:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => 
            [fingerPrint:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => 
            [clientKey:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => 
            [accessToken:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => 
            [mobileDeviceId:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => 
        )

    [clientId:net\authorize\api\contract\v1\ANetApiRequestType:private] => 
    [refId:net\authorize\api\contract\v1\ANetApiRequestType:private] => ref155
)

And Result:

net\authorize\api\contract\v1\CreateTransactionResponse Object
(
    [transactionResponse:net\authorize\api\contract\v1\CreateTransactionResponse:private] => net\authorize\api\contract\v1\TransactionResponseType Object
        (
            [responseCode:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [rawResponseCode:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [authCode:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [avsResultCode:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [cvvResultCode:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [cavvResultCode:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [transId:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [refTransID:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [transHash:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [testRequest:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [accountNumber:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [entryMode:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [accountType:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [splitTenderId:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [prePaidCard:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [messages:net\authorize\api\contract\v1\TransactionResponseType:private] => Array
                (
                )

            [errors:net\authorize\api\contract\v1\TransactionResponseType:private] => Array
                (
                )

            [splitTenderPayments:net\authorize\api\contract\v1\TransactionResponseType:private] => Array
                (
                )

            [userFields:net\authorize\api\contract\v1\TransactionResponseType:private] => Array
                (
                )

            [shipTo:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [secureAcceptance:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [emvResponse:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [transHashSha2:net\authorize\api\contract\v1\TransactionResponseType:private] => 
            [profile:net\authorize\api\contract\v1\TransactionResponseType:private] => 
        )

    [profileResponse:net\authorize\api\contract\v1\CreateTransactionResponse:private] => 
    [refId:net\authorize\api\contract\v1\ANetApiResponseType:private] => ref155
    [messages:net\authorize\api\contract\v1\ANetApiResponseType:private] => net\authorize\api\contract\v1\MessagesType Object
        (
            [resultCode:net\authorize\api\contract\v1\MessagesType:private] => Error
            [message:net\authorize\api\contract\v1\MessagesType:private] => Array
                (
                    [0] => net\authorize\api\contract\v1\MessagesType\MessageAType Object
                        (
                            [code:net\authorize\api\contract\v1\MessagesType\MessageAType:private] => E00001
                            [text:net\authorize\api\contract\v1\MessagesType\MessageAType:private] => An error occurred during processing. Please try again.
                        )

                )

        )

    [sessionToken:net\authorize\api\contract\v1\ANetApiResponseType:private] => 
)

Thank you in advance for your cooperation.