cancel
Showing results for 
Search instead for 
Did you mean: 

SIM Relay Response Testing

Hello, I trying to test SIM relay respone using  localhost "http://localhost/cart/payment.asp" and I'm able to process the transaction but never able to get the HTML post from authorize.net. 

 

I was wondering if it is possible to get the HTML post ( relay response/silent post ) back from Authorize.net to localhost ( not a public internet)? I have used Paypal Payflow link before and I was able to test using localhost. 

 

Is there anyway I can test it without a public facing website?

 

Thanks for your help...

User2804
Member
1 ACCEPTED SOLUTION

Accepted Solutions

I was wondering if it is possible to get the HTML post ( relay response/silent post ) back from Authorize.net to localhost ( not a public internet)?

Nope. Relay Response Basics and Troubleshooting

 

Is there anyway I can test it without a public facing website?

Yes, but it will be a mulitple step.

1)change the relay response URL to https://developer.authorize.net/tools/paramdump/

2)Do the SIM transaction

3)Post to your original relay response page with all the response fields showing on the https://developer.authorize.net/tools/paramdump/

View solution in original post

RaynorC1emen7
Expert
18 REPLIES 18

I was wondering if it is possible to get the HTML post ( relay response/silent post ) back from Authorize.net to localhost ( not a public internet)?

Nope. Relay Response Basics and Troubleshooting

 

Is there anyway I can test it without a public facing website?

Yes, but it will be a mulitple step.

1)change the relay response URL to https://developer.authorize.net/tools/paramdump/

2)Do the SIM transaction

3)Post to your original relay response page with all the response fields showing on the https://developer.authorize.net/tools/paramdump/

RaynorC1emen7
Expert

Thank you for your help..

This paramdump page has stopped working.

Hello,

 

Try using https://developer.authorize.net/tools/paramdump/ instead, this should work.  

 

Richard

Richard,

 

The link does not have a 404 error; however, the behavior when submitting a order is still incorrect.  It doesn't show the page with the parameters.  I've got this page error page below although I've set x_relay_url to "https://developer.authorize.net/support/paramdump/" and submit the form to https://test.authorize.net/gateway/transact.dll

 

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.

      This transaction has been approved.

It is advisable for you to contact the merchant to verify that you will receive the product or service.

@phongn

 

Can you post your entire request here with any sensitive information removed so we can examine what you're attempting?

 

Richard

I just want to see the parameters on the authorize.net server because I'm working on localhost, so you can't post to my dev computer untill I deploy it.  Your paramdump page used to show us every paramters on your server, but it stops working now.  Here's is my form:

<form action = 'https://test.authorize.net/gateway/transact.dll' method = 'post' name='frmDPM' id='frmDPM'>

<input type = 'hidden' name = 'x_fp_hash' id = 'x_fp_hash' value = '' />

<input type = 'hidden' name = 'x_fp_sequence' id = 'x_fp_sequence' value = '' />

<input type = 'hidden' name = 'x_fp_timestamp' id = 'x_fp_timestamp' value = '' />

<input type = 'hidden' name = 'x_login' value = '' /> <input type = 'hidden' name = 'x_amount' value = '8.0600' />

<input type = 'hidden' name = 'x_relay_url' value = 'https://developer.authorize.net/support/paramdump/' />

<input type = 'hidden' name = 'x_relay_response' value = 'TRUE' />

<input type='hidden' name='x_recurring_billing' value='F'/>

<input type='hidden' name='x_invoice_num' value=''>

<input type='hidden' name='x_description' value=''>

<input type='hidden' name='x_type' value='AUTH_ONLY'>

<input type='hidden' name='x_address' value='123 Main'>

<input type='hidden' name='x_city' value='Garden Grove'>

<input type='hidden' name='x_state' value='CA'>

<input type='hidden' name='x_zip' value='92840'>

<input type='hidden' name='x_phone' value=''>

<input type='hidden' name='x_fax' value=''>

<input type='hidden' name='x_email' value='something@example.com'>

<input type='hidden' name='x_cust_id' value=''>

<input type='hidden' name='x_ship_to_first_name' value='Jane'>

<input type='hidden' name='x_ship_to_last_name' value='Customer'>

<input type='hidden' name='x_ship_to_company' value=''>

<input type='hidden' name='x_ship_to_address' value='123 Main'>

<input type='hidden' name='x_ship_to_city' value='Garden Grove'>

<input type='hidden' name='x_ship_to_state' value='CA'>

<input type='hidden' name='x_ship_to_zip' value='92840'>

<input type='hidden' name='x_ship_to_country' value='United States'>

<input type='hidden' name='x_tax' value='0.2400'>

<input type='hidden' name='x_tax_exempt' value='T'>

<input type='hidden' name='x_freight' value='0'>

<input type='hidden' name='x_duty' value='0'>

<input type='hidden' name='x_po_num' value=''>

<input type="text" name="x_first_name" id="x_first_name" size="12" maxlength="50">

<input type="text" name="x_last_name" id="x_last_name" size="12" maxlength="50">

<input autocomplete="off" type="text" name="x_card_num" id="x_card_num" size="25" maxlength="24" >
<input autocomplete="off" type="text" name="x_card_code" id="x_card_code" size="5" maxlength="5" >
<input type='hidden' name='x_exp_date' id='x_exp_date' value='' size='4' maxlength='4'/>
<input type='hidden' name='x_relay_always' value='TRUE'>

<input type='submit' value='Checkout with Visa/MasterCard' id="submitDPM" name="submitDPM" />

</form>

@RichardH

 

Just to send you an email about my update above

Hello @phongn

 

We've duplicated the problem you reported with the paramdump page and we've assigned our web team to correct.

 

Richard