Can any one help me, I would like to Modify the XML request made for UPS Real Time Shipping.
where can i find it to edit.
i see that in checkoutshipping.aspx.cs
C#/VB.NET Code:
using (SqlConnection con = new SqlConnection(DB.GetDBConn()))
{
con.Open();
using (IDataReader rs = DB.GetRS("Select RTShipRequest,RTShipResponse from customer with (NOLOCK) where CustomerID=" + ThisCustomer.CustomerID.ToString(), con))
{
if (rs.Read())
{
String s = DB.RSField(rs, "RTShipRequest");
s = s.Replace("<?xml version=\"1.0\"?>", "");
try
{
s = XmlCommon.PrettyPrintXml("<roottag_justaddedfordisplayonthispage>" + s + "</roottag_justaddedfordisplayonthispage>");
}
catch
{
s = DB.RSField(rs, "RTShipRequest");
}
tmpS.Append("<b>" + AppLogic.GetString("shoppingcart.aspx.5", SkinID, ThisCustomer.LocaleSetting) + "</b><br/><textarea rows=60 style=\"width: 100%\">" + s + "</textarea><br/><br/>");
s = DB.RSField(rs, "RTShipResponse");
try
{
s = XmlCommon.PrettyPrintXml("<roottag_justaddedfordisplayonthispage>" + s + "</roottag_justaddedfordisplayonthispage>");
}
catch
{
s = DB.RSField(rs, "RTShipResponse");
}
tmpS.Append("<b>" + AppLogic.GetString("shoppingcart.aspx.6", SkinID, ThisCustomer.LocaleSetting) + "</b><br/><textarea rows=60 style=\"width: 100%\">" + s + "</textarea><br/><br/>");
}
}
}
DebugInfo.Text = tmpS.ToString();
}
}
But i don't find the the actual XML Request,
thank you.