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
Solved! Go to Solution.
12-08-2013 06:16 AM
Thanks, with market type = 2, I advanced
12-08-2013 11:27 PM
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.
12-08-2013 01:16 PM
I said, "After creation Card Present test account...". So, you advise me try it once more... Thanks, I'll try
12-08-2013 10:56 PM
Thanks, with market type = 2, I advanced
12-08-2013 11:27 PM