cancel
Showing results for 
Search instead for 
Did you mean: 

Troubles with market type?

Hi, all!

I do my first steps in integration with our POS application. After creation Card Present test account, I tried to post this request:

 

               <?xml version="1.0" encoding="utf-8"?>
               <createTransactionRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
                <merchantAuthentication>
                   <name>MyName</name>
                   <transactionKey>MyTransactionKey</transactionKey>
                 </merchantAuthentication
                 <transactionRequest>
                   <transactionType>authOnlyTransaction</transactionType>
                   <amount>365.51</amount>
                   <payment>
                     <creditCard>
                       <cardNumber>38000000000006</cardNumber>
                       <expirationDate>1231</expirationDate>
                     </creditCard>
                   </payment>
                   <retail>' +
                     <marketType>0</marketType>
                     <deviceType>1</deviceType>'
                   </retail>
                 </transactionRequest>
               </createTransactionRequest>

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

 


When I sets <marketType> to 0 or 1, I get "The market type is invalid" (Error 85).

With 2, I have "Transactions of this market type cannot be processed on this system" (87).

 

I hope, somebody of you will be able to help me.

 

YN

Yves_Nault1
Member
1 ACCEPTED SOLUTION

Accepted Solutions

Thanks, with market type = 2, I advanced

View solution in original post

3 REPLIES 3

The only valid marketType in authorize.net is 2

87 error mean you create a Card NOT present test account, not a Card Present test account.

 

http://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/What-is-the-difference-...

RaynorC1emen7
Expert

I said, "After creation Card Present test account...". So, you advise me try it once more... Thanks, I'll try

Thanks, with market type = 2, I advanced