cancel
Showing results for 
Search instead for 
Did you mean: 

Error code 85. The market type is invalid

Well I got past most of the hurdles using the CIM API and things are finally picking up steam.

 

One of the requirements is to authorize a transaction using the cc number and other details that are provided by the customer on our site. I am using the CP API (since I do not need to create a customer account for this)  Questions:

 

1. Do I need a CP account for this?

2. When I send the request over to AuthorizeNet the response has an error code 85 and the reason text is "The market type is invalid". This is my request string that I am sending over

 

x_login=myLogin&x_tran_key=myTransKey&x_amount=10.00&x_card_num=4111111111111111&x_test_request=True&x_cpversion=1.0&x_market_type=2&x_device_type=4&x_type=AUTH_CAPTURE&x_user_ref=1234&x_exp_date=1012

 

Am I missing anything here?

 

Thanks!

TK
Contributor
1 REPLY 1

Well turned out that I did not have a Card Present (CP) account. Requested a CP test account and the call seems to be working fine. Although the AuthorizationCode is 000000 ? Is this the expected behavior for a test trans using the CP API?

 

 

TK
Contributor