cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

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.


 

rachmann
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions

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

5 REPLIES 5
RaynorC1emen7
Expert

[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!!!

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

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.

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