Reply
Highlighted
Contributor
Posts: 16
Registered: ‎08-18-2012
Accepted Solution

HELP! DPM with relay url always fails with timeout error!

 

Hi. I'm very frustrated with this...

 

Trying to use C# .Net aspx pages with DPM

 

When i allow it to post back to my submission page it works great. I get a nice post with the receipt form - looks nice.

 

When I try to use a relay URL, to post to my own page, I get a time out error in 2 seconds.

 

My error email says: " Your script timed out while we were trying to post transaction results to it.  Transaction ID: 2177050211 Transaction Result: This transaction has been approved. "

 

So it's not a timeout because timeout is 10 seconds, and I'm no where close to 10 seconds.

 

A review of what I did:

 

In the sandbox account settings

* I set the Response/Receipt URL to http://myserver.com/WebApp/confirmation.aspx.

* I set the default relay response url also to http://myserver.com/WebApp/confirmation.aspx.

 

On the aspx submission form, I have many x_elements, but for relay, I also set :

 

 

<asp:TextBoxID="x_relay_url" runat="server"Style="display: none;"Text="http://myserver.com/WebApp/confirmation.aspx"></asp:TextBox>

<asp:TextBoxID="x_relay_response" runat="server"Style="display: none;"Text="TRUE"></asp:TextBox>

 

I set the form to submit to the sandbox

 

<body>
<formid="form1"runat="server"method='post'action='https://test.authorize.net/gateway/transact.dll'>
<div>
//....

 

like I said everything works fine if I don't use the relay url.

 

What gives? How do I configure this thing for relay to work?

 

Help please... :)

 

arg

 

Robert.


 


Accepted Solutions
Highlighted
Solution
Accepted by topic author rachmann
‎08-21-2015 01:58 AM
Contributor
Posts: 16
Registered: ‎08-18-2012

Re: HELP! DPM with relay url always fails with timeout error!

from another post - RaynorC1emen7 figured out that the relay page CAN NOT have any fields on it that match the post variables from the service.

View solution in original post


All Replies
Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: HELP! DPM with relay url always fails with timeout error!

Highlighted
Contributor
Posts: 16
Registered: ‎08-18-2012

Re: HELP! DPM with relay url always fails with timeout error!

[ Edited ]

[What is with this editor?!?!? Holy cow...ADN guys should spend some more effort on the account/dev support stuff...]

 

No joy - but didn't recompile fully - also will try AspCompat="true".

 

I'll let you know. Thanks for the suggestion!!!

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: HELP! DPM with relay url always fails with timeout error!

Need to add the EnableViewState="false" to both the relay response page and the form page that post to authorize.net

Highlighted
Solution
Accepted by topic author rachmann
‎08-21-2015 01:58 AM
Contributor
Posts: 16
Registered: ‎08-18-2012

Re: HELP! DPM with relay url always fails with timeout error!

from another post - RaynorC1emen7 figured out that the relay page CAN NOT have any fields on it that match the post variables from the service.

Highlighted
Member
Posts: 1
Registered: ‎10-14-2013

Re: HELP! DPM with relay url always fails with timeout error!

This should be font and center in the documentation - I spent HOURS trying to find the answer to this frustration!