cancel
Showing results for 
Search instead for 
Did you mean: 

Transactions of this market type cannot be processed on this system on neither CP or CNP

I'm a tad stuck, any help would be awesome.

 

Trying to figure out hte Direct Process Method of taking a simple form and posting to Authorize.net.

 

I have two sandbox accounts, one CP and one CNP, neither work.  Here's the form data:

 

<form id="form1" runat="server" action="https://test.authorize.net/gateway/transact.dll" METHOD="POST"> 
<!--https://test.authorize.net/gateway/transact.dll  -->
    <!-- https://developer.authorize.net/tools/paramdump/index.php -->
 <input type='HIDDEN' name='x_card_num' value="4111111111111111"/input>
  <input type='HIDDEN' name='x_exp_date' value="0114" />
  <input type='HIDDEN' name='x_amount' value='1.99'/>
  <INPUT TYPE='HIDDEN' NAME='x_invoice_num' VALUE='<%= System.DateTime.Now.Ticks.ToString()%>'>
  <INPUT TYPE='HIDDEN' NAME='x_relay_url' VALUE='http://apitest.authorizenet.com/SIM.aspx'>
        <input type='hidden' name='x_test_request' value="TRUE" />
        <input type="hidden" name="x_relay_response" value="TRUE" />
  <INPUT TYPE='HIDDEN' NAME='x_login' VALUE='52kMhLLCt9zH'>
  <INPUT TYPE='HIDDEN' NAME='x_fp_sequence' VALUE='<%=AuthorizeNet.Crypto.GenerateSequence() %>'>
  <INPUT TYPE='HIDDEN' NAME='x_fp_timestamp' VALUE='<%= AuthorizeNet.Crypto.GenerateTimestamp().ToString() %>'>
  <INPUT TYPE='HIDDEN' NAME='x_fp_hash' VALUE='<%= AuthorizeNet.Crypto.GenerateFingerprint("52kMhLLCt9zH", "6YM7hh5k9k2u4NLh", decimal.Parse("1.99"), AuthorizeNet.Crypto.GenerateSequence(), AuthorizeNet.Crypto.GenerateTimestamp().ToString()) %>'>
  <INPUT TYPE='HIDDEN' NAME='x_version' VALUE='3.1'>
  <INPUT TYPE='HIDDEN' NAME='x_method' VALUE='CC'>
  <INPUT TYPE='HIDDEN' NAME='x_type' VALUE='AUTH_CAPTURE'>
  <INPUT TYPE='HIDDEN' NAME='x_amount' VALUE='1.99'>
  <INPUT TYPE='HIDDEN' NAME='x_test_request' VALUE='FALSE'>
  <INPUT TYPE='HIDDEN' NAME='notes' VALUE='extra hot please'>
  <INPUT TYPE='SUBMIT' NAME='buy_button' VALUE='BUY'>
    </form>

 When i post, I get an error and this email:

Authorize.Net Developer Center Merchant,

Your script timed out while we were trying to post transaction results to it.
   Transaction ID: 0
Transaction Result: Transactions of this market type cannot be processed on this system.

The following message was displayed to the customer:

------------------------------An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.

Transactions of this market type cannot be processed on this system.


------------------------------

Here's what is posting:

Learn more about the Authorize.Net Data Validation URL Tool.
REMOTE_ADDR:	10.1.186.51
REQUEST_METHOD:	POST
HTTP_REFERER:	http://apitest.authorizenet.com/ConfirmCS2.aspx
Field Name	Field Value
__VIEWSTATE	/wEPDwULLTExNzQ0NTIzMDlkZBDNXIkqOV6lGdnE9k/zcCgB/EYvNi3D+Bapz00flTBM
x_card_num	4111111111111111
x_exp_date	0114
x_amount	1.99
x_invoice_num	635230540014390422
x_relay_url	http://apitest.authorizenet.com/SIM.aspx
x_test_request	TRUE
x_relay_response	TRUE
x_login	3g55XQ5gT9
x_fp_sequence	350
x_fp_timestamp	1387478801
x_fp_hash	2a997c73b1cfca9a3d4248d0fb190a82
x_version	3.1
x_method	CC
x_type	AUTH_CAPTURE
notes	extra hot please
buy_button	BUY

 

 On both Sandbox accounts, i have it set to Test Mode.

 

For the CNP account, i havethe REsponse/Receipt URLs set to http://apitest.authorizenet.com/SIM.aspx (page to get the information returned), and the RElay Response set to the same url.


My timezone is set properly on both accounts to -6 GMT which is what my computer is running.

 

Help! :(

tfayas0410
Member
1 ACCEPTED SOLUTION

Accepted Solutions

http://apitest.authorizenet.com/SIM.aspx is not a valid url you could use https://developer.authorize.net/tools/paramdump/index.php

To use CP account you need to pass the correct param read the doc in http://developer.authorize.net/api/cardpresent/

Not sure if you can use CP account with DPM at all.

View solution in original post

3 REPLIES 3

One small note i forgot, for the CNP the errors went to another email address, so for CNP account i'm getting the error:

 

"This transaction cannot be accepted"

 

 

tfayas0410
Member

http://apitest.authorizenet.com/SIM.aspx is not a valid url you could use https://developer.authorize.net/tools/paramdump/index.php

To use CP account you need to pass the correct param read the doc in http://developer.authorize.net/api/cardpresent/

Not sure if you can use CP account with DPM at all.

Thanks, i found out what i was doing wrong..I had the login and transactionID spots flipped in the method call, along with the page you mentioned.  After doing that, it worked.  Thanks!!