Dear fellow DNN users and experts,
I have recently setup the store module in a child portal using DNN 6.1.5 and Store Module version 3.1.7.
The store is working great, except the Awaiting Payment status after an order is not getting updated to Paid via IPN like it should. IPN is setup in paypal and we are on the live paypal, not the sandbox.
When Paypal send the IPN message ot the site, we get a Page Load Exception error (it is coming portal 0, not the child portal) that says the following:
AssemblyVersion: 6.1.5
PortalID: 0
PortalName: My Website
UserID: -1
UserName:
ActiveTabID: 55
ActiveTabName: Getting Started
RawURL: /dnn2/DesktopModules/Store/Providers/GatewayProviders/PayPalProvider/PayPalIPN.aspx?language=en-US
AbsoluteURL: /dnn2/DesktopModules/Store/Providers/GatewayProviders/PayPalProvider/PayPalIPN.aspx
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: a0d9bd8b-bb6d-410d-9c1a-d1c9fb224139
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Store.Cart.PayPalIPN.Page_Load
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Store.Cart.PayPalIPN.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) --- End of inner exception stack trace ---
I have read for hours this evening on these errors and issues with Paypal IPN but have found no solutions that have fixed the issue. I also tried to change the status of a live order from Awaiting Payment to Paid using the Orders Admin section int he store, it also gave a Critical Error on the page with the same reference to Object reference not set to an instance of an object. It did change the status to paid however after I went back and looked at the order. the error in the event viewer from that was as followed (proper portal ID this time):
AssemblyVersion: 6.1.5
PortalID: 4
PortalName: Outlaw Kart Supply
UserID: 1
UserName: host
ActiveTabID: 202
ActiveTabName: Manage
RawURL: /dnn2/outlaw/manage/tabid/202/pageid/customeradmin/customerid/6/orderid/1053/default.aspx
AbsoluteURL: /dnn2/Default.aspx
AbsoluteURLReferrer: http://key2victory.com/dnn2/outlaw/manage/tabid/202/pageid/customeradmin/customerid/6/orderid/1053/default.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 1fa94c9d-9b3e-4d32-9764-d91d6c21525e
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Store.Customer.OrderController.AddUserToRoles
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Store.Customer.OrderController.AddUserToRoles(Int32 portalID, OrderInfo order) at DotNetNuke.Modules.Store.WebControls.CustomerOrders.lnkbtnSave_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Please let me know if any of you have any thoughts on what might be causing these Object Reference errors...any help would be very much appreciated.
Thank you very much,
Scott