Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStorePaypal IPN Critical Error: Object reference not set to an instance of an object.Paypal IPN Critical Error: Object reference not set to an instance of an object.
Previous
 
Next
New Post
1/23/2014 11:15 PM
 

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
 


 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStorePaypal IPN Critical Error: Object reference not set to an instance of an object.Paypal IPN Critical Error: Object reference not set to an instance of an object.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out