public void GetPaymentURL(IBPRequest req, BPEndResponseDelegate callbackHandler, Control ctrl) { this.FormsControl = ctrl; this.CallbackMethod = callbackHandler; this.mRequest = (XmlRpcBPRequest) req; BPProxy proxy = XmlRpcProxyGen.Create<BPProxy>(); proxy.Url = this.EndpointUri; proxy.BegingetPaymentURL(this.mRequest.Request, new AsyncCallback(this.GetPaymentURLResponse), null); }
public void GetPaymentURL(IBPRequest req, BPEndResponseDelegate callbackHandler, Control ctrl) { this.FormsControl = ctrl; this.CallbackMethod = callbackHandler; this.mRequest = (XmlRpcBPRequest) req; BPProxy proxy = XmlRpcProxyGen.Create<BPProxy>(); proxy.Url = this.EndpointUri; proxy.BegingetPaymentURL(this.mRequest.Request, new AsyncCallback(this.GetPaymentURLResponse), null); }
public void GetBigpointURL() { XmlRpcBPProvider provider = XmlRpcBPProvider.CreateForEndpoint(URLs.ProfileProtocol, URLs.ProfileServerAddressBigpoint, URLs.ProfileServerPort, URLs.ProfileBPPath); XmlRpcBPRequest req = new XmlRpcBPRequest { SessionID = RemoteServices.Instance.SessionGuid.ToString().Replace("-", ""), UserGUID = RemoteServices.Instance.UserGuid.ToString().Replace("-", "") }; provider.GetPaymentURL(req, new BPEndResponseDelegate(this.GetbigpointURLCallback), this); }