Developer forum

Forum » Ecommerce - Standard features » Pacsoft
Andrejs Zavorotnijs
Reply

Hi DW

Trying to create shipping document for order and import to pacsoft online serviss, but that doesn't work for me

configuration for Pacsoft

 

Get exception in event viewer

2021-12-10 15:26:35.420: Exception of type 'System.Web.HttpUnhandledException' was thrown.
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. 
System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at Dynamicweb.Ecommerce.ShippingProviders.PostDanmark.PostDanmark.OrderDocument.CreateShippingDocument(Order order)
at Dynamicweb.Ecommerce.ShippingProviders.PostDanmark.PostDanmark.CreateShippingDocument(Order order)
at Dynamicweb.Admin.eComBackend.CreateShippingDocuments.CreateShippingDocumentAJAX()
at Dynamicweb.Admin.eComBackend.CreateShippingDocuments.HandleAjax()
at Dynamicweb.Admin.eComBackend.CreateShippingDocuments.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.admin_module_ecom_catalog_dw7_createshippingdocuments_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2021-12-10 15:26:35.420: Request headers: [   "Connection",   "Content-Length",   "Content-Type",   "Accept",   "Accept-Encoding",   "Accept-Language",   "Cookie",   "Host",   "Referer",   "User-Agent",   "X-Prototype-Version",   "X-Requested-With",   "Origin" ]
2021-12-10 15:26:35.436: Request item keys: [   "AspSessionIDManagerInitializeRequestCalled",   "Dynamicweb.Controls.Resources.Current",   "AspSession",   "Dynamicweb.Environment.Web",   "ExecutionTableMapper",   "alternateUrlKey",   "Dynamicweb.RewriteUrl",   "owin.Environment" ]
2021-12-10 15:26:35.436: Request form: []

 


Replies

 
Nicolai Pedersen
Reply

403 return code indicates that the username and password that you use is wrong. Check up on that and ensure you can access the service with those credentials

 
Andrejs Zavorotnijs
Reply

Hi Nicolai

Username and password correct, we can login with this credentials

problem was because we didn't have an XML module in Packsoft online.

 
Nicolai Pedersen
Reply

Thanks for getting back on that detail!

 

You must be logged in to post in the forum