Hello. I am using Visual Studio, aspx, and C#. I want to send 3 strings of data from my payment page (using DPM) to my Relay Response page.
Typically I could do something like the following...
Payment Page:
Session["EventCode"] = EventCode.Text;
Relay Response page:
string eventCode = Session["EventCode"];
However it doesn't work as the page displays https://secure2.authorize.net/gateway/transact.dll . Please advise on how I can send a string of data between my payment page to my relay response page.
Solved! Go to Solution.
03-30-2016 07:34 AM - edited 03-30-2016 07:35 AM
You can't use session data. as the relay response will be a different session.
If it just simple text pass it as merchant defined fields.
https://support.authorize.net/authkb/index?page=content&id=A135
03-30-2016 07:52 AM
You can't use session data. as the relay response will be a different session.
If it just simple text pass it as merchant defined fields.
https://support.authorize.net/authkb/index?page=content&id=A135
03-30-2016 07:52 AM
Yes perfect! Thank you. I didn't know this was an option.
03-30-2016 08:03 AM
I got it working.
Payment page has:
<input type='hidden' name='x_event_code' value="TestEventCodeHere" />
Relay Response page has:
string eventCode = Request.Form["x_event_code"];
Works like a charm.
03-30-2016 09:12 AM