public static String GetBankRemotePost(OrderData orderData) { var rPost = new RemotePost(); var objCtrl = new NBrightBuyController(); var settings = objCtrl.GetPluginSinglePageData("OSPayPlugpayment", "OSPayPlugPAYMENT", orderData.Lang); // get the order data var payData = new PayData(orderData); rPost.Url = payData.PostUrl; //Build the re-direct html var rtnStr = ""; rtnStr = rPost.GetPostHtml(); if (settings.GetXmlPropertyBool("genxml/checkbox/debugmode")) { File.WriteAllText(PortalSettings.Current.HomeDirectoryMapPath + "\\debug_OSPayPlugpost.html", rtnStr); } return(rtnStr); }
public PayPlugLimpet(OrderData oData) { _oData = oData; _payData = new PayData(oData); }