cancel
Showing results for 
Search instead for 
Did you mean: 

E00027. This transaction has been declined for the amount 400.01 through 400.03

Hi,

For some reason depending on the amount of AUTH_ONLY transaction, error code "E00027. This transaction has been declined for the amount" is returned. For example amount $400.01, $400.02, $400.03 are declined, but $400.00, $400.04, $400.05, $400.06 are accepted.

 

I am running LIVE MODE on the SANDBOX.

 

Example request, completed with error: 

https://apitest.authorize.net/xml/v1/request.api

<?xml version="1.0"?>
<createCustomerProfileTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
    <merchantAuthentication>
        <name>XXX</name>
        <transactionKey>YYY</transactionKey>
    </merchantAuthentication>
    <transaction>
        <profileTransAuthOnly>
            <amount>400.03</amount>
            <customerProfileId>9688176</customerProfileId>
            <customerPaymentProfileId>8639089</customerPaymentProfileId>
            <order>
                <invoiceNumber></invoiceNumber>
                <description>Some Transaction</description>
                <purchaseOrderNumber/>
            </order>
            <recurringBilling>false</recurringBilling>
        </profileTransAuthOnly>
    </transaction>
    <extraOptions><![CDATA[x_duplicate_window=15]]></extraOptions>
</createCustomerProfileTransactionRequest>

 

Error response:

<?xml version="1.0" encoding="utf-8"?>
<createCustomerProfileTransactionResponse 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>Error</resultCode>
        <message>
            <code>E00027</code>
            <text>This transaction has been declined.</text>
        </message>
    </messages>
    <directResponse>2,1,2,This transaction has been declined.,,Y,2177228805,,Some
        Transaction,400.03,CC,auth_only,ac0fcd8844c0780e,ewgewrge,hrthert,,ertherh,werthtr,erthert,4233,USA,,,admin@itmd.net,,,,,,,,,,,,,,FF0A34FDB66C6322D03CF3EFB3AEA614,,2,,,,,,,,,,,XXXX0027,Visa,,,,,,,,,,,,,,,,
    </directResponse>
</createCustomerProfileTransactionResponse>

 

 

But similar AUTH_ONLY transaction with $400.04 amount succeeds:

Request

<?xml version="1.0"?>
<createCustomerProfileTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
    <merchantAuthentication>
        <name>XXX</name>
        <transactionKey>YYY</transactionKey>
    </merchantAuthentication>
    <transaction>
        <profileTransAuthOnly>
            <amount>400.04</amount>
            <customerProfileId>9688176</customerProfileId>
            <customerPaymentProfileId>8639089</customerPaymentProfileId>
            <order>
                <invoiceNumber></invoiceNumber>
                <description>Some Transaction</description>
                <purchaseOrderNumber/>
            </order>
            <recurringBilling>false</recurringBilling>
        </profileTransAuthOnly>
    </transaction>
    <extraOptions><![CDATA[x_duplicate_window=15]]></extraOptions>
</createCustomerProfileTransactionRequest>

 

 

Response

<?xml version="1.0" encoding="utf-8"?>
<createCustomerProfileTransactionResponse 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>
    <directResponse>1,1,1,This transaction has been approved.,CII0BB,Y,2177228888,,Some
        Transaction,400.04,CC,auth_only,ac0fcd8844c0780e,ewgewrge,hrthert,,ertherh,werthtr,erthert,4233,USA,,,admin@itmd.net,,,,,,,,,,,,,,B409F7546E06D52A3BA1510CCC6AB2DB,,2,,,,,,,,,,,XXXX0027,Visa,,,,,,,,,,,,,,,,
    </directResponse>
</createCustomerProfileTransactionResponse>

Could you please advise what is wrong? 

nchorniy
Member
5 REPLIES 5

It might have nothing to do with the amount. How far apart did you run the tests?

TJPride
Expert

I ran the tests more than two minutes apart from each other (I am aware that duplicate transactions posted in a row may cause duplicate error). More than that, I ran the test, which ended with error code before I ran the test, which returned success. You may also notice that requests include x_duplicate_window=15 (15 seconds to reduce the duplicate check time).

 

Till now (after I got error I have run near 20 tests) in 100% of cases [400.01$ - 400.03$]  transactions failed and $400.00, [$400.04, $400.05, $400.06] transactions have succeeded.

Tested with AIM with a test account, getting the same response. 2,1,2 for 400.01, 400.03, success for 400.06

 

Do you know if this is something that is reproduced on SANDBOX environment only?

Since, this is the first time I read about it. It probably a test case on the sandbox only.