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.
Solved! Go to Solution.
โ09-25-2012 09:20 PM
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.
โ09-29-2012 12:58 PM
โ09-26-2012 04:10 AM
[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!!!
โ09-26-2012 08:40 AM - edited โ09-26-2012 08:43 AM
Need to add the EnableViewState="false" to both the relay response page and the form page that post to authorize.net
โ09-26-2012 08:46 AM
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.
โ09-29-2012 12:58 PM
This should be font and center in the documentation - I spent HOURS trying to find the answer to this frustration!
โ10-14-2013 10:59 AM