HomeHome Product Discus... Product Discus...SmithCartSmithCartSC 5.25 - Error processing payment. Please try again. Object reference not set to an instance of an SC 5.25 - Error processing payment. Please try again. Object reference not set to an instance of an
Previous
 
Next
New Post
11/26/2012 8:43 AM
 

Our cart will not process orders.  Customer receives the following message at checkout. 

Error processing payment. Please try again. Object reference not set to an instance of an object.

Payment is not taken on this website.  The order is placed and CC is collected but processed in house or a PO Number is collected  for customers with terms.  The last order that was logged was 11/21/12 at 3:31 pm.  

We upgraded the cart to include the recent requested customizations on 11-20-12.  This went smoothly.  I completed the changes to the cart to make the customizations active and then tested the cart.  All worked well. I tested the cart on 11-21-12 at 9:38 am and had no trouble with the cart.  Additional orders came in that day until 3:31 pm and then everything stopped.

I have reviewed the event log and there are many instances of errors.  They all state the following:

SmithBuyNow:{}:Object reference not set to an instance of an object. atSmith.DNN.Modules.BuyNow.SqlDataProvider.AddCustomer(String firstName, StringlastName, String address1, String address2, String city, String country, Stringstate, String zip, String workPhone, String homePhone, String email, Stringlogin, Boolean contact, String ipAddress, String udf, String udtb1, Stringudtb2, String companyname, Int32 portalId, DateTime udDate, DateTimeanniversaryDate) atSmith.DNN.Modules.BuyNow.RegistrationController.AddCustomer(String firstName,String lastName, String address1, String address2, String city, String country,String state, String zip, String workPhone, String homePhone, String email,String login, Boolean contact, String ipAddress, String udf, String udtb1,String udtb2, String companyname, Int32 portalId, DateTime udDate, DateTimeanniversaryDate) at Smith.DNN.Modules.BuyNow.Confirm.a(PaymentStatus A_0,Boolean A_1) at Smith.DNN.Modules.BuyNow.Confirm.Submit() atSmith.DNN.Modules.BuyNow.Confirm.btnSubmit_Click(Object sender, EventArgs e)

I have read the forum board and this seems to have been an issue for others.
Post: http://www.smith-consulting.com/Forums/forumid/1/threadid/14275/scope/posts.aspx

SC: 5.25
DNN: 6.02.05
SQL: 2008

Also, I tried to include attachments to this post but received an error: "An error has occurred. Error: is currently unavailable."

 
New Post
11/26/2012 9:34 AM
 
Ashleigh,

My site is experiencing the EXACT same issue. Checkout worked fine for almost a day, and then randomly started producing the error while no work was being done to the portal. From my troubleshooting, I think the issue resides within either the manual payment gateway and/or within the child-parent-master portal setup.

On your site do you have multiple pages with the buy.now module on them? If so, how do you have them configured in the parent child relationship? Are you using the manual payment gateway?

Reasons that have lead me to this conclusion:
I have a temp site up currently that is an exact copy of my live site, only without the payment gateways and or parent/child setup. We set those up after migrating to the live server. Checkout is working fine on that temp site.

I think I remember that back in version 4.93 if you set up a payment gateway for one buy.now module, it populated to all buy.now modules on the portal. This is the reason why on my temp site I did not set up the payment gateways for each buy.now module. When/why did this change?

After moving my temp site to live, I went into each buy.now module and set each one up for the manual payment gateway, accepting all credit cards, and added paypal checkout. I then went into each buy.now module and set each one to be a child portal, so that products could be shared in-between them.

I really hope that someone from SmithCart can help us out here. This is at least the fourth thread I've seen on my issue. I even received a phone call from another Smith Cart user last weekend experiencing the same issue.
 
New Post
11/26/2012 10:00 AM
 
Here is a link to my ongoing thread Ashleigh:
http://www.smith-consulting.com/Forums/forumid/1/threadid/14275/scope/posts.aspx

Also, here is a guide to adding images to your posts. Using the attachments function within the forums does not work for whatever reason:
http://www.smith-consulting.com/Forums/forumid/1/threadid/14361/scope/posts.aspx

Update:
After re-examining the differences between my temp and live site, I found that on my temp site all but one of the buy.now modules are setup as a "child portal", with one module being setup as the "master portal". This is the same configuration as my live site.
 
New Post
11/26/2012 2:06 PM
 
Hi Ashleigh,
I talked with Alex and Armando on the phone this morning and we came up test plan to try and replicate the issue you reported.

We have setup up multiple instances of the buynow module on both a parent and child portals and configured sharing products between buynow modules in order to try and replicate the issue. Also, we are testing with different payment gateways and payment methods for each buynow module instance.

I will post back with a status update after testing and hopefully we can replicate the issue you reported.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
11/26/2012 2:07 PM
 
Thanks David.  I am not sure if you talked with Clayton or not , but let me know if you want access to our site to see how we have everything set up.  
 
New Post
11/26/2012 2:09 PM
 
Alex,

Thanks for your input on this as well.  It sounds like you have a good grasp on the issue. 

Ashleigh
 
New Post
11/26/2012 3:39 PM
 
np. I've been dealing with the issue for about 4 weeks now, so I've done a bit of research and testing ;)
 
New Post
11/27/2012 7:06 PM
 
As an update we have been researching this issue for Ashleigh by configuring a test site exactly as their site and so far we have not been able to replicate any issue so it seems to be an issue unique to the Cart DNN install which a possible solution would then be to perform a clean installation of the Cart.

I will postback with any updates.

Thanks
 
New Post
11/28/2012 6:41 AM
 
I performed a clean cart installation on my site Kevin, spent over 140 hours, and the error reproduced a second time exactly as it happened before. You may be correct in thinking that the bug might be due to dnn/smith cart/hosting,iis,etc working in tandem to generate the error, but if what your suggesting is that Ashleigh simply do a fresh installation with the exact same settings, i would tell her not to waste the time.
 
New Post
11/28/2012 6:47 AM
 
Alex, I appreciate that.  And I appreciate your feedback throughout this process.  We have looked thoroughly through permissions and updates to see if anything has changed but there were no changes.  The DNN site continues to perform beautifully but the cart just stopped working.  This is difficult to explain to our customer.  Ashleigh
 
New Post
11/28/2012 9:38 AM
 
Are you getting any errors related to a smith cart page in your event viewer Ashleigh? I am getting a few, and I am curious if they are similar to yours.
 
New Post
11/28/2012 10:30 AM
 
Yes, when we had the 2.25 cart up and it wasn't working, we received some Admin Alerts in the Event Viewer that stated the following:

SmithBuyNow:{}:Object reference not set to an instance of an object. atSmith.DNN.Modules.BuyNow.SqlDataProvider.AddCustomer(String firstName, StringlastName, String address1, String address2, String city, String country, Stringstate, String zip, String workPhone, String homePhone, String email, Stringlogin, Boolean contact, String ipAddress, String udf, String udtb1, Stringudtb2, String companyname, Int32 portalId, DateTime udDate, DateTimeanniversaryDate) atSmith.DNN.Modules.BuyNow.RegistrationController.AddCustomer(String firstName,String lastName, String address1, String address2, String city, String country,String state, String zip, String workPhone, String homePhone, String email,String login, Boolean contact, String ipAddress, String udf, String udtb1,String udtb2, String companyname, Int32 portalId, DateTime udDate, DateTimeanniversaryDate) at Smith.DNN.Modules.BuyNow.Confirm.a(PaymentStatus A_0,Boolean A_1) at Smith.DNN.Modules.BuyNow.Confirm.Submit() atSmith.DNN.Modules.BuyNow.Confirm.btnSubmit_Click(Object sender, EventArgs e)

At this time, we have reverted back to version 5.24 of smith cart to bring our clients shopping environment back up. The cart is working at the moment. We are leery of upgrading for fear the cart will stop working again. I wish I had more knowledge of how to troubleshoot these issues.
 
New Post
11/29/2012 1:51 PM
 
Hi Ashleigh,

I recommend to move forward with the upgrade to 5.25 that you first perform the upgrade in a test environment. If all testing goes well in the test environment then you can make sure you have a full backup before installing on your live site in case you need to rollback.

If you would like our assistance upgrading your Cart to the latest version we provide a Module Upgrade Service in which we will backup and restore all your store data and will test to validate the checkout in your store is functioning properly. To move forward with the Module Upgrade Service please use the following link: Module Upgrade Service

Please let me know if you have any questions.

Thanks
 
New Post
11/30/2012 7:23 AM
 
Hi Kevin,

We plan to run the upgrade this evening and watch the website over the weekend. If have trouble with this upgrade, we will be in touch. I appreciate you all looking into the problems we are having. I hope we have better success with the cart upgrade this time.

Thank you,
Ashleigh
 
New Post
11/30/2012 1:13 PM
 
Thanks for the update Ashleigh, please let us know if we can help with anything.
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartSC 5.25 - Error processing payment. Please try again. Object reference not set to an instance of an SC 5.25 - Error processing payment. Please try again. Object reference not set to an instance of an