HomeHome Product Discus... Product Discus...SmithCartSmithCartObject reference error on 4.58.0 when redirected from payment gatewayObject reference error on 4.58.0 when redirected from payment gateway
Previous
 
Next
New Post
9/17/2011 1:56 AM
 

When I make a purchase from my store (version 4.58.0) and redirect to our custom gateway... after making a payment and getting redirected back to the store from the gateway - I am getting an error of:

Object reference not set to an instance of an object.. here are the details:

9/17/2011 4:49:14 AM   Page Load Exception       AssemblyVersion: 5.6.3; PortalID: 0; PortalName< ...
AssemblyVersion: 5.6.3
PortalID: 0
PortalName: Ty Cobb - Museum
UserID: -1
UserName:
ActiveTabID: 75
ActiveTabName: Gift Store
RawURL: /GiftStore/tabid/75/ctl/Confirm/mid/414/Default.aspx?id=6995cde6-2300-45aa-8ac8-def3460c4fbe
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: df51c498-822b-413f-9549-1212ccb6ca9e
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Confirm.GetItemTaxTotal
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.Confirm.GetItemTaxTotal() at Smith.DNN.Modules.BuyNow.Confirm.GetTax() at Smith.DNN.Modules.BuyNow.Confirm.GetTotalAfterTax() 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.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: WEBSERV01
  9/17/2011 4:48:22 AM   Admin Alert     Ty Cobb - Museum   Stacktrace: : at Smith.DNN.Modules.BuyNow.Confirm.RedirectCBOSSHo ...
Stacktrace: : at Smith.DNN.Modules.BuyNow.Confirm.RedirectCBOSSHosted() at Smith.DNN.Modules.BuyNow.Confirm.ProcessStatus(PaymentStatusInfo status) at Smith.DNN.Modules.BuyNow.Confirm.Submit() at Smith.DNN.Modules.BuyNow.Confirm.btnSubmit_Click(Object sender, EventArgs e)
Server Name: WEBSERV01
  9/17/2011 4:48:22 AM   Admin Alert     Ty Cobb - Museum   Error: : Thread was being aborted.;  ...
Error: : Thread was being aborted.
Server Name: WEBSERV01

 

 
New Post
9/19/2011 12:35 PM
 

Hello,

When you are redirected from your custom gateway, is this error appearing on the ConfirmStatus page? Looks like it may have something to do with the tax calculation, can you tell me how your Shipping and Handing and Also Tax Setup settings are configured? Unfortunately I will not be able to your custom gateway on our test portal to reproduce this issue. Can you login to our test site and try to replicate the error. This will determine if the issue is with the latest version of the Cart or an issue with your specific dnn portal/cart install. Please send an email to kevin@smith-consulting.com if you need login credentials.

Thanks,

 
New Post
9/19/2011 12:58 PM
 

I fixed it by literally reinstalling the cart over top of itself... not sure what happened, but it is working now.

 
New Post
9/19/2011 2:25 PM
 
Hello,

Glad you resolved the issue, sounds like it must be something with your cart install possibly something with your cart install had gotten out of the sync which is why the Repair Install solved the issue.

Thanks,
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartObject reference error on 4.58.0 when redirected from payment gatewayObject reference error on 4.58.0 when redirected from payment gateway