Posting the message below to 'https://test.authorize.net/gateway/transact.dll' using the 'POST' method, receiving the reply:
<HTML><BODY><H3>The following errors have occurred.</H3>(13) The merchant login ID or password is invalid or the account is inactive.<BR></BODY></HTML>
So I tried the data validation and surprise, surprise... validation can not get past my first line, it does not even identify the field name and value correctly, it just shows it as it looks below, the syntax looks ok from my side but there must be something wrong I can not see!
Can anyone provide what the message is supposed to look like from the authorize.net server side, run a good message to the validate application and post it here PLEASE...
(RESPONSE)
<input type='hidden' name='x_fp_hash' value='wnjn6JfbOKCnAMpioMv0lg==' />
<input type='hidden' name='x_relay_url' value='' />
<input type='hidden' name='x_login' value='35LtJb8A' />
<input type='hidden' name='x_tran_key' value='8xxxxxxxxxxxxx' /> changed on purpose
<input type='hidden' name='x_allow_partial_Auth' value='False' />
<input type='hidden' name='x_version' value='3.1' />
<input type='hidden' name='x_type' value='AUTH_CAPTURE' />
<input type='hidden' name='x_method' value='CC' />
<input type='hidden' name='x_recurring_billing' value='F' />
<input type='hidden' name='x_amount' value='0.00' />
<input type='hidden' name='x_currency_code' value='USD' />
<input type='hidden' name='x_card_num' value='4007000000027' />
<input type='hidden' name='x_exp_date' value='102022' />
<input type='hidden' name='x_card_code' value='555' />
etc...
โ03-13-2013 05:49 PM
Meant (Request) where I wrote (Response) above
โ03-13-2013 06:39 PM
are you doing SIM or DPM? you don't pass 'x_tran_key' for those 2.
here are the minimum fields
http://developer.authorize.net/guides/SIM/wwhelp/wwhimpl/js/html/wwhelp.htm#href=Appendix_A.html
So I tried the data validation
what data validation?
use the id attribute instead like
<input type='hidden' id='x_login' value='35LtJb8A' />
and take out the
<input type='hidden' name='x_currency_code' value='USD' />
or the x_fp_hash would be different
โ03-14-2013 04:18 AM - edited โ03-14-2013 04:26 AM