Hi,
We have configured PayPal to return to our client's home page after a succesful purchase, however the return takes us to the cart page and not the home page.
The url reflects an error that has occurred (as does the DNN event log).
Here is the exception that is occurring:
AssemblyVersion: 5.4.4
PortalID: 11
PortalName: Phil Grill, LLC
UserID: -1
UserName:
ActiveTabID: 606
ActiveTabName: Order Form
RawURL: /OrderForm/tabid/606/ctl/Confirm/mid/1950/Default.aspx?PayPal=Success
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 24766022-a5fb-420b-8181-9033d355c89a
InnerException: There was an error deserializing the object of type System.String. CData elements not valid at top level of an XML document. Line 1, position 3.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Xml.XmlExceptionHelper.ThrowXmlException
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: There was an error deserializing the object of type System.String. CData elements not valid at top level of an XML document. Line 1, position 3. ---> System.Runtime.Serialization.SerializationException: There was an error deserializing the object of type System.String. CData elements not valid at top level of an XML document. Line 1, position 3. ---> System.Xml.XmlException: CData elements not valid at top level of an XML document. Line 1, position 3. at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, XmlException exception) at System.Xml.XmlUTF8TextReader.Read() at System.Xml.XmlBaseReader.IsStartElement() at System.Xml.XmlBaseReader.IsStartElement(XmlDictionaryString localName, XmlDictionaryString namespaceUri) at System.Runtime.Serialization.XmlReaderDelegator.IsStartElement(XmlDictionaryString localname, XmlDictionaryString ns) at System.Runtime.Serialization.XmlObjectSerializer.IsRootElement(XmlReaderDelegator reader, DataContract contract, XmlDictionaryString name, XmlDictionaryString ns) at System.Runtime.Serialization.DataContractSerializer.InternalIsStartObject(XmlReaderDelegator reader) at System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName) at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName) --- End of inner exception stack trace --- at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName) at System.Runtime.Serialization.XmlObjectSerializer.ReadObject(XmlDictionaryReader reader) at System.Runtime.Serialization.XmlObjectSerializer.ReadObject(Stream stream) at Smith.DNN.Modules.BuyNow.Confirm.CallWebService() at Smith.DNN.Modules.BuyNow.Confirm.SendEmail(CustomerInfo customer, UserInfo objUserInfo) at Smith.DNN.Modules.BuyNow.Confirm.HandlePayPalReturn() at Smith.DNN.Modules.BuyNow.Confirm.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
We are running DNN 5.04.04 and Smith Cart 3.97.0.
Thanks for any help you can offer.
Allen