Reply
Member
Posts: 1
Registered: ‎07-07-2010

Re: SIM relay response not working

We found a problem today using transactions with Authorize.net. As of three weeks ago, we were receiving form data back to our relay URL page which contained the x_response_subcode field. We collected this field's data in our local databases. As of today (7/7/10), this form field is no longer contained in the form data being posted by Authorize.net back to our relay URL page. This was causing an error on our end that was sent back to AuthNet which produced the error message you mentioned. Below are the form fields we're currently receiving from AuthNet ...

 

X_RESPONSE_CODE, X_RESPONSE_REASON_CODE, X_RESPONSE_REASON_TEXT, X_AVS_CODE, X_AUTH_CODE, X_TRANS_ID, X_METHOD, X_CARD_TYPE, X_ACCOUNT_NUMBER, X_FIRST_NAME, X_LAST_NAME, X_COMPANY, X_ADDRESS, X_CITY, X_STATE, X_ZIP,X_COUNTRY, X_PHONE, X_FAX,X_EMAIL, X_INVOICE_NUM, X_DESCRIPTION, X_TYPE, X_CUST_ID, X_SHIP_TO_FIRST_NAME, X_SHIP_TO_LAST_NAME, X_SHIP_TO_COMPANY, X_SHIP_TO_ADDRESS, X_SHIP_TO_CITY, X_SHIP_TO_STATE, X_SHIP_TO_ZIP, X_SHIP_TO_COUNTRY, X_AMOUNT, X_TAX, X_DUTY, X_FREIGHT, X_TAX_EXEMPT, X_PO_NUM, X_MD5_HASH, X_CVV2_RESP_CODE, X_CAVV_RESPONSE, X_TEST_REQUEST, X_STORENO

 

After I removed the x_response_subcode field from the code on our page, the transaction and page worked perfectly.

 

Has something changed on the Authorize.net side regarding the x_response_subcode field? 

 

Thanks for all of your help.

 

(I'm using ColdFusion as a code base.)


All Star
Posts: 1,072
Registered: ‎08-17-2009

Re: SIM relay response not working

Hi stobener,

 

It looks like we did remove  x_response_subcode from our SIM/relay responses last week. I apologize that we didn't notify everyone prior to this, and I'll be sure to post something to the News and Announcements section so everyone else will be aware.

 

Thanks,

 

Michelle

Developer Community Manager

Member
Posts: 1
Registered: ‎09-07-2010

Re: SIM relay response not working

Check to see if you have a web application firewall running (as required for PCI compliance).

 

The user-agent header is blank when Authorize.Net makes the relay response post for SIM. The web application firewall I run was blocking requests with blank user-agents, but when I allowed those requests to get through the firewall, all went well.

 

It took FOREVER to figure that out, since the relay URL I was using was perfectly valid when it was called with a regular browser.

 

Yet another reason to drop PCI compliance and use a third-party checkout like SIM...

Member
Posts: 1
Registered: ‎02-12-2011

Re: SIM relay response not working

 when i use the default.aspx to post to its https website ,and i set the x_relay_url.value=defaule.aspx,then the timeout is fixed,
but how can we redirct to different url

 

Trusted Contributor
Posts: 451
Registered: ‎08-21-2009

Re: SIM relay response not working

If you would like to re-direct to another page you must do so after you have written the Relay Response to the page, otherwise a timeout will occur.

 

 

Thank you,

 

Elaine

Member
Posts: 1
Registered: ‎09-30-2011

Re: SIM relay response not working

 

How can you find out what Authorize.net is receiving from the site hosted relay response page?  I am just seeing a blank page and assume that there is an error going back to Authorize.net that is causing the issue.  Is there a way to find out what the error is?  When I go to the URL of the relay response page it appears fine and I am able to post from a different URL on a different server and see the page also.

 

Thank you,

Jeff Warner... 

Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: SIM relay response not working

Have the relay page log what it's sending, then check the log.

Member
Posts: 2
Registered: ‎12-30-2011

Re: SIM relay response not working

how to check response log,In my application the user is not redirected to desired URL instead getting this nasty error

 

"Your script timed out while we were trying to post transaction results to it. Transaction ID: 2167769769 Transaction Result: This transaction has been approved."

 

Please guide me.

Posts: 1,476
Topics: 33
Kudos: 34
Solutions: 126
Registered: ‎09-14-2009

Re: SIM relay response not working

That means your script took too long to repsond when Authorize.Net posted a request to your relay response script. It must be less then 10 seconds or Authorize.Net will not get the response. You need to figutr out why the page took so long to respond.


-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger

NEW! Handling Authorize.Net's Webhooks with PHP

Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)

Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post
Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: SIM relay response not working

One possibility is that Authorize.net is trying to retrieve DNS information for your domain and it's taking longer than 10 seconds (for whatever reason). If you run several transactions through close together, do you get this error every time you try to run through a transaction? Is your relay response URL working when you try to contact it directly?