Hi guys,
I'm passing the payment url through PayCek callback,
I found an example in the documentation on Dynamicweb https://doc.dynamicweb.com/documentation-9/api/apis/api-docs#article=Dynamicweb.Ecommerce.Cart.CheckoutHandler.
Does anyone have an idea what the callback should look like?
public string Test(Order order)
        {
            var portString = HttpContext.Current.Request.Url.IsDefaultPort ? "" : string.Format(":{0}", HttpContext.Current.Request.Url.Port);
            var pageId = Dynamicweb.Context.Current.Request["ID"] == null ? string.Empty : string.Format("ID={0}&", Dynamicweb.Context.Current.Request["ID"]);
            //Url
            var myUrl = string.Format("{0}://{1}{2}/Default.aspx?{3}{4}={5}",
            HttpContext.Current.Request.Url.Scheme,
            HttpContext.Current.Request.Url.Host,
            portString,
            pageId,
            OrderIdRequestName,
            order.Id);
            return myUrl;
        }
INVALID URL - MUST BE PUBLIC: {'URL': 'HTTP://192.168.5.29/DEFAULT.ASPX?
ID=1844&CHECKOUTHANDLERORDERID=ORDER1135'}
Thanks in advance.
BR
Tomislav
                                                            