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.
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?
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:
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
Any additional info in the umbracoLog table?
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?
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.
I will do, and this is not a problem, just did not want to re-create the wheel.
Thanks
TT
is working on a reply...