Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 2
Registered: ‎06-06-2013

DPM - Works in Test, Not in Live

I'm stumped.  Everything works against the test gateway but not when I set this live.

 

I get: Error in submission: (TESTMODE) The specified security code was invalid.

 

Live and Test Cards fail.

 

<form method="post" action="https://secure.authorize.net/gateway/transact.dll">
<input type='hidden' name='x_relay_response' value='TRUE'>
<input type='hidden' name='x_delim_data' value='TRUE'>
<input type='hidden' name='x_version' value='3.1'>
<input type='hidden' name='x_delim_char' value=','>
<input type='hidden' name='x_amount' value='1'>
<input type='hidden' name='x_fp_hash' value='ccc23506d20b6cc7aff6158284980138'>
<input type='hidden' name='x_fp_sequence' value='259'>
<input type='hidden' name='x_fp_timestamp' value='1370533367'>
<input type='hidden' name='x_login' value='REMOVED FOR SECURITY'>
<input type='hidden' name='x_relay_url' value='https://www.hfldetroit.org/anet/donate/an_response.php'>
<input type='hidden' name='x_phone' value='8106256750'>
<input type='hidden' name='x_email' value='eric@ericavery.com'>
<input type='hidden' name='x_description' value='Donation'>
<input type='hidden' name='x_email_customer' value='T'>
<input type='hidden' name='x_header_email_receipt' value='HFL receipt'>
<input type='hidden' name='x_footer_email_receipt' value='HFL receipt footer'>
<input type='hidden' name='x_first_name' value='Jane'>
<input type='hidden' name='x_last_name' value='Doe'>
<input type='hidden' name='x_address' value='1234 Mocking Bird Lane'>
<input type='hidden' name='x_city' value='Detroit'>
<input type='hidden' name='x_state' value='Michigan'>
<input type='hidden' name='x_zip' value='90210'>
<input type='hidden' name='x_country' value='US'>
<input type='hidden' name='x_ship_to_first_name' value='Jane'>
<input type='hidden' name='x_ship_to_last_name' value='Doe'>
<input type='hidden' name='x_ship_to_address' value='1234 Mocking Bird Lane'>
<input type='hidden' name='x_ship_to_city' value='Detroit'>
<input type='hidden' name='x_ship_to_state' value='Michigan'>
<input type='hidden' name='x_ship_to_zip' value='48346'>
<input type='hidden' name='x_ship_to_country' value='US'>
<input type='hidden' name='x_invoice_num' value='NA'>
<input type='hidden' name='x_company' value='NA'>
<input type='hidden' name='x_ship_to_company' value='NA'>
<input type='hidden' name='x_fax' value='NA'>
<input type='hidden' name='x_cust_id' value='NA'> 
<fieldset>
<div>
<label>Credit Card Number</label>
<input type="text" class="text" size="15" name="x_card_num" value=""></input>
</div>
<div>
<label>Exp.</label>
<input type="text" class="text" size="4" name="x_exp_date" value=""></input>
</div>
<div>
<label>CCV</label>
<input type="text" class="text" size="4" name="x_card_code" value=""></input>
</div>
</fieldset>

<input type="submit" value="Submit" class="submit buy">
</form>

 

 

I checked the hash and it's good.  I used this tool: https://developer.authorize.net/tools/responsecode99/

 

I put the relay response URLs in the merchant account iterface as well.

 

I put an MD5 has setting in the merchant account too.

 

Here is a screen shot.

 

 

Can anyone suggest anything.  Its worked just fine in the sandbox.

Expert
Posts: 4,525
Registered: ‎03-08-2010
Member
Posts: 2
Registered: ‎06-06-2013

Re: DPM - Works in Test, Not in Live

Thanks a ton RaynorC1emen7!   It was so frustrating to have it work in test and then "go live" and basically fall flat on my face in front of the customer.

 

It now works!