Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Mads Jørgensen 74 posts 226 karma points
    Sep 10, 2012 @ 13:38
    Mads Jørgensen
    0

    Checkout behind windows authenticated pages

    Hey,

    I'm trying to make a checkout flow in a windows authentication protected site. In the checkout pipeline call i'm getting following error stack:

    umbracoMacro InnerException Der opstod en fejl under et kald til udvidelsesfunktionen 'Checkout'. Se InnerException for at få en fuldstændig beskrivelse af fejlen.
    Der opstod en fejl under et kald til udvidelsesfunktionen 'Checkout'. Se InnerException for at få en fuldstændig beskrivelse af fejlen.
      ved System.Xml.Xsl.Runtime.XmlExtensionFunction.Invoke(Object extObj, Object[] args)
      ved System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
      ved System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="/">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-debug}namespaces) i C:\illumi\farmcockpit\Source\Site\xslt\Store.xslt:linje 56
      ved System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates> (2)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double )
      ved System.Xml.Xsl.CompiledQuery.Query.Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
      ved System.Xml.Xsl.CompiledQuery.Query.Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
      ved System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer)
      ved System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results)
      ved umbraco.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters)
      ved umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements)
    1,77986860061823 1,671121
    umbracoMacro InnerException Exception occoured while processing pipeline 'UCommerce.Pipelines.Checkout.CheckoutPipeline'. See inner exception for details.
    Exception occoured while processing pipeline 'UCommerce.Pipelines.Checkout.CheckoutPipeline'. See inner exception for details.
      ved UCommerce.Pipelines.Pipeline`1.Execute(T subject)
      ved UCommerce.Transactions.CheckoutService.Checkout(Basket basket)
      ved UCommerce.Xslt.TransactionLibrary.Checkout()
      ved UCommerce.Xslt.Library.HandledCall[T](Func`1 method)
    1,86745920221704 0,087591
    umbracoMacro InnerException Fjernserveren returnerede en fejl: (401) Uautoriseret.
    Fjernserveren returnerede en fejl: (401) Uautoriseret.
      ved System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
      ved System.Net.WebClient.DownloadData(Uri address)
      ved UCommerce.Transactions.EmailService.Send(EmailProfile profile, String emailTypeName, MailAddress to, IDictionary`2 templateParameters)
      ved UCommerce.Pipelines.Common.SendEmailTask.Execute(PurchaseOrder purchaseOrder)
      ved UCommerce.Pipelines.Pipeline`1.Execute(T subject)

    At this point i'm using Account as payment method, but at  a later stage i'm going to use an external payment provider.

    Anyone done this before, or maybe are up for pointing me in the right direction?

    What belive i've figured out now is, that uCommerce is calling the solution with IIS as user (Not an accepted windows account), hench the 401 unautharized error in stack trace.

     

    Hope to get some valuable input :-)

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Sep 17, 2012 @ 11:30
    Søren Spelling Lund
    0

    Hi Mads,

    Your case is similar to what I describe here.

    In your case though it might be related to the fact that the e-mail body content download attempt does not carry the necessary authentication information.

    Could you try the steps outlined in the other post and let me know if that resolves the issue?

    Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft