Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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 ForumsStoreStoreError after returning from Paypal - Help!Error after returning from Paypal - Help!
Previous
 
Next
New Post
11/18/2006 11:15 AM
 
Hi.
I have the cart hooked up to the paypal sandbox.  The shopper can add items, the cart adds it up, the shopper ads their details and clicks pay.  The shopper is now transported to the paypal site and completes the transaction.  So far all is well.  Now the shopper clicks the "Return to merchant" site.  The shopper is returned to my to the Cart page on my site but an error is reported "Object reference not set to an instance of an object." (<customErrors mode="Off"/>) and add to that the all of the items are still listed in the cart.

The thing is that I don't really know where to begin to debug this error.  Can you tell me anything about the values returned from PayPal and how to debug them?

Ray
(What I'd give for a program flow diagram right now)


RawURL: /mysite/Default.aspx?TabId=54&ctl=Checkout&mid=377&PayPalExit=return
AbsoluteURL: /
mysite/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 56cf343c-863f-4770-9bc4-ce1e3750af14
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException
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.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc) at DotNetNuke.Modules.Store.Cart.PayPalPayment.Page_Load(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.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 ---

 
New Post
11/19/2006 2:06 PM
 
Ok so I was working from localhost:1047/mysite and paypal would hardly know what to do with that so my bad and one to watch out for.
 
New Post
11/19/2006 2:25 PM
 
Ok so I was wrong again.  If I hack the code and replace

payPalURL += "&return=" + HTTPPOSTEncode(returnURL);

   with

payPalURL += "&return=http://www.ubsnaps.com/Downloads/tabid/62/Default.aspx";

it doesn't through the error but it also doesn't update the database so it's a trade off that's no good.

I need to know what object is it looking for when it returns from paypal.

Anyone?
 
New Post
11/19/2006 6:35 PM
 
Ok here's a tip for all of you guys out there... if you change the tables underneath then you have to change the code to match! 

LOL
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreError after returning from Paypal - Help!Error after returning from Paypal - Help!


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out