Reply
Highlighted
Member
Posts: 3
Registered: ‎12-08-2013
Accepted Solution

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


Accepted Solutions
Highlighted
Solution
Accepted by topic author Yves_Nault1
‎08-21-2015 01:58 AM
Member
Posts: 3
Registered: ‎12-08-2013

Re: Troubles with market type?

Thanks, with market type = 2, I advanced

View solution in original post


All Replies
Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Troubles with market type?

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-...

Highlighted
Member
Posts: 3
Registered: ‎12-08-2013

Re: Troubles with market type?

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

Highlighted
Solution
Accepted by topic author Yves_Nault1
‎08-21-2015 01:58 AM
Member
Posts: 3
Registered: ‎12-08-2013

Re: Troubles with market type?

Thanks, with market type = 2, I advanced