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

CIM : CreateCustomerProfileTransaction message and directResponse response fields

Hi,

We are trying to integrate our system with Authorize.net over the CIM interface. In this API , we are using createCustomerProfileTransaction() method to create the transactions. There are messages and direct response fields in the output of this call. We are parsing the direct response field to get the transaction details.

Response snippet :

<?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body><CreateCustomerProfileTransactionResponse xmlns="https://api.authorize.net/soap/v1/">
    <CreateCustomerProfileTransactionResult>
        <resultCode>Ok</resultCode>
        <messages>
            <MessagesTypeMessage>
                <code>I00001</code>
                <text>Successful.</text>
            </MessagesTypeMessage>
        </messages>
        <directResponse>1,1,1,This transaction has been     approved.,WDFABP,Y,2217720182,,,20.00,CC,auth_capture,C001,,,,,,,,,,,,,,,,,,,,,,,,,E442CD59D186C6E9A537520D7C9E1DCA,,2,,,,,,,,,,,XXXX1111,Visa,,,,,,,,,,,,,,,,
        </directResponse>
    </CreateCustomerProfileTransactionResult>
</CreateCustomerProfileTransactionResponse>
</soap:Body>
</soap:Envelope>

 

The question is what are all the possible scenarios in which the values in the messages and the direct response fields can be blank?

Are there any such scenarios or there will always be some values in these fields in the output response?

MerchantS2100
Contributor
4 REPLIES 4

Message will always be there unless you are having issue connecting to authorize.net

or the directresponse same as http://community.developer.authorize.net/t5/Integration-and-Testing/Capturing-Response-Codes-CIM/m-p...

RaynorC1emen7
Expert

Hi,

 

Thanks for the reply!!

 

1. Does it mean that the direct response field will be populated in case of some error scenarios but not for all?

2. In case direct response is populated we need to consider the response code populated in it and when it is not populated we may need to consider the " message code value "  to determine the errors and response code will be failure. Is the understanding correct?

 

Thanks,

Meenal Rastogi.

1)Don't know, personally haven't seen all the Exxxx error.

2)the sound right.

Ok.. thanks!!