HomeHome Product Discus... Product Discus...SmithCartSmithCartCoupon checkout error in SmithCart 5 - object referenceCoupon checkout error in SmithCart 5 - object reference
Previous
 
Next
New Post
11/30/2012 2:50 AM
 
Hi there

Smith Cart version: 5 (all versions, even 5.25)

I get this error when checking out with a coupon  (100% Discount). The coupon is redeemed and the order total is 0, but when I submit the order, I get an object reference error.

I set up a clean installation with only the latest Smith Cart (5.25 on DNN 6.2.4) as a test and the same occurred, even tried different payment gateways.

Your assistance would be much appreciated.

The full error message:

AssemblyVersion: 6.2.4

PortalID: 0

ActiveTabName: BuyNow

RawURL: /BuyNow/tabid/84/ctl/ConfirmStatus/mid/410/Default.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://localhost/BuyNow/tabid/84/ctl/Confirm/mid/410/Default.aspx

UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 307adc9b-07dc-42a4-9efe-ebe566609014

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: Smith.DNN.Modules.BuyNow.ConfirmStatus.k

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 Smith.DNN.Modules.BuyNow.ConfirmStatus.k() at Smith.DNN.Modules.BuyNow.ConfirmStatus.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.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---


Kind regards

Gerrit

 
New Post
12/3/2012 6:52 PM
 
Hi Gerrit,

In order to help troubleshoot the order processing issue please provide the following:

1. A screen shot of your BuyNow settings; General, Shipping and Tax sections
2. Screenshots of your Payment Setup screens; Payment Gateway, Payment Zones, Payments Methods screen

Thanks
 
New Post
12/5/2012 2:05 AM
 
Hi Kevin

Thanks for the feedback.

I reproduced the error on your "http://www21.smith-consulting.com" installation, where you can find the cart, coupon and payment settings.  The coupon is "download1" and if you buy product "Downloadable" with it, you will encounter the problem.

I tested on my development site with various cart and gateway configurations and got the same error every time when trying to redeem a coupon for 100% of the purchase value.  The setup I normally use is: No Shipping, No Tax, Paypal Website Payments Standard setup.

Please let me know if you need more information.

Greetings

Gerrit
 
New Post
12/7/2012 5:21 PM
 
Hi Gerrit,

I have been able to replicate this issue and have our programming team working on a fix. I will postback to this thread as soon as an update is available.

Thanks for reporting the issue!
 
New Post
6/11/2013 2:07 AM
 
Hi Gerrit,

Just posting back to this thread with an update. I just tested this issue on v5.54 of the Cart and the issue not longer exists.

Thanks for reporting the issue!
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartCoupon checkout error in SmithCart 5 - object referenceCoupon checkout error in SmithCart 5 - object reference