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.

  • TaoistTotty 246 posts 314 karma points
    May 21, 2012 @ 18:13
    TaoistTotty
    0

    Moving from delivery to payment XSLT error.

    Hi

    I am seeing an error after selecting the delivery option (download) to the payment page, where the payment page is showing XSLT errors for both the delivery and payment XSLT files.

    The trace shows the following:

    An error occurred during a call to extension function 'GetPaymentMethods'. See InnerException for a complete description of the error.
    An error occurred during a call to extension function 'GetPaymentMethods'. See InnerException for a complete description of the error.
    at System.Xml.Xsl.Runtime.XmlExtensionFunction.Invoke(Object extObj, Object[] args)
    at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
    at 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) in C:\inetpub\wwwroot\xslt\PaymentMethods[XSLT].xslt:line 19
    at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double )
    at System.Xml.Xsl.CompiledQuery.Query.Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
    at System.Xml.Xsl.CompiledQuery.Query.Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
    at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer)
    at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results)
    at umbraco.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters)
    at umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements) 0.0430061640848707 0.026256
    umbracoMacro InnerException Object reference not set to an instance of an object.
    Object reference not set to an instance of an object.
    at UCommerce.Xslt.TransactionLibrary.GetPaymentMethods(String shippingAddressName)
    at UCommerce.Xslt.Library.HandledCall[T](Func`1 method) 0.0434065078966

    The only thing not quite 'normal' is that I am reaching the list of products using the direct URL and not through the various other menus.

    Regards

    TT

  • Søren Spelling Lund 1797 posts 2786 karma points
    May 22, 2012 @ 10:43
    Søren Spelling Lund
    0

    Any additional info in the umbracoLog table?

  • TaoistTotty 246 posts 314 karma points
    May 22, 2012 @ 11:12
    TaoistTotty
    0

    When recreating to give you more details I found the reason, if you do not put name and address details the error is shown, but I am not getting any warning if this is not completed.

    Is this built in or do i need to capture this myself? 

  • Søren Spelling Lund 1797 posts 2786 karma points
    May 22, 2012 @ 15:52
    Søren Spelling Lund
    0

    You'll have to add something like jQuery validation to the site yourself.

    We'll release a new version of the store once uCommerce 3 is done to address this issue.

    Sorry for the inconvenience.

  • TaoistTotty 246 posts 314 karma points
    May 22, 2012 @ 16:16
    TaoistTotty
    0

    I will do, and this is not a problem, just did not want to re-create the wheel.

    Thanks

    TT 

Please Sign in or register to post replies

Write your reply to:

Draft