R5-Sp1 Checkout random payment failures

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: R5-Sp1 Checkout random payment failures

Post by AbleMods » Sun Aug 04, 2013 6:34 pm

so far, so good for us. We haven't seen the issue once since we made the changes.

And I really like seeing the actual exceptions, far more helpful in tracking stuff down. Thank you for that.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
ForumsAdmin
AbleCommerce Moderator
AbleCommerce Moderator
Posts: 399
Joined: Wed Mar 13, 2013 7:19 am

Re: R5-Sp1 Checkout random payment failures

Post by ForumsAdmin » Sun Aug 04, 2013 6:51 pm

If it didnt' get reproduced on your system now we will have hard time getting to the root of this problem :). We do not want to leave the store settings uncached as a solution.

egormsen
Captain (CAPT)
Captain (CAPT)
Posts: 236
Joined: Fri May 16, 2008 9:16 am

Re: R5-Sp1 Checkout random payment failures

Post by egormsen » Mon Aug 05, 2013 7:51 am

I understand that what Joe did is not a long term fix, but is there anyway we can accomplish the same thing without the full source code?

The continuing of customers calling in saying they cannot place orders, and the customer service reps having the problem needs some fix or at least a workaround.

I have had to restart our website twice in the last 24 hours to due this problem.
Eldon Gormsen
Weigh Down Ministries
AC Gold R12 SR1
http://store.weighdown.com

User avatar
ForumsAdmin
AbleCommerce Moderator
AbleCommerce Moderator
Posts: 399
Joined: Wed Mar 13, 2013 7:19 am

Re: R5-Sp1 Checkout random payment failures

Post by ForumsAdmin » Mon Aug 05, 2013 6:14 pm

Since the issue has not occured on Joe's system again, we are assuming that the the culprit is caching of store settings. I can attach an updated DLL here which will have same updates as I suggested for Joe, but this will not help us in figuring out the root cause. The problem will just not be reproduced and we will fail to know how to tackle it while keeping store settings cached.

What I am doing here is to attach an updated DLL which only includes one update. This update will make sure that when this error occurs again, the actual error and the original exception is retained for better debugging. That will help us determining the root cause of this problem. Then we will certainly be in a much better position to post a proper solution.

egormsen
Captain (CAPT)
Captain (CAPT)
Posts: 236
Joined: Fri May 16, 2008 9:16 am

Re: R5-Sp1 Checkout random payment failures

Post by egormsen » Tue Aug 06, 2013 1:13 pm

Thank you,

How can I help you all debug this? Do you want me to send error logs after it has been running for a while?

Eldon
Eldon Gormsen
Weigh Down Ministries
AC Gold R12 SR1
http://store.weighdown.com

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: R5-Sp1 Checkout random payment failures

Post by Katie » Tue Aug 06, 2013 2:56 pm

Hi,

Is anyone else having a problem with order numbers skipping?

This was brought up last week in - viewtopic.php?f=65&t=17510

I was able to reproduce it using the AC test gateway in Reject Authorization mode. Then I attempted to place an order with a failed credit card message (staying on payment page), then I changed the gateway back to Accept, and on the second try of using a test credit card, the order went through. When I checked the order numbers, I noticed that one was skipped.

Could this all be related to what's happening on the payment page? If someone else can confirm using a real payment gateway, it might help the dev team debug the issue.

Thanks
Katie
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

jguengerich
Commodore (COMO)
Commodore (COMO)
Posts: 436
Joined: Tue May 07, 2013 1:59 pm

Re: R5-Sp1 Checkout random payment failures

Post by jguengerich » Tue Aug 06, 2013 3:42 pm

Katie,

I have not done anything with the settings cache workarounds mentioned in this thread. When I test with CyberSource (test mode) by forcing an authorization reject, then an accept, both the OrderId and the OrderNumber skip 1(my order increment is 1). I have modified Payment.aspx and some of the included conlib controls, though, including the bug workaround in this thread: viewtopic.php?f=65&t=17469. Not sure if/how it relates to the problem that is the subject of this thread, but you asked :).
Jay

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: R5-Sp1 Checkout random payment failures

Post by Katie » Wed Aug 07, 2013 6:56 am

I thought I would ask, but you're right, it doesn't appear to be related to this issue.

Thanks anyway :)
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: R5-Sp1 Checkout random payment failures

Post by AbleMods » Wed Aug 07, 2013 7:03 am

We've had no reports of skipped order numbers in any Gold install.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

corgalore
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 32
Joined: Thu Nov 08, 2012 2:57 pm

Re: R5-Sp1 Checkout random payment failures

Post by corgalore » Thu Aug 08, 2013 1:24 pm

We started having this same problem with the Payment error. I noticed the maintenance tasks are also failing. I just forced a recompile of the site, so hopefully that fixes it for now.

egormsen
Captain (CAPT)
Captain (CAPT)
Posts: 236
Joined: Fri May 16, 2008 9:16 am

Re: R5-Sp1 Checkout random payment failures

Post by egormsen » Sat Aug 10, 2013 7:30 am

The problem came back this morning. I have to force a recompile to get it working. Here is the latest log file
Eldon Gormsen
Weigh Down Ministries
AC Gold R12 SR1
http://store.weighdown.com

egormsen
Captain (CAPT)
Captain (CAPT)
Posts: 236
Joined: Fri May 16, 2008 9:16 am

Re: R5-Sp1 Checkout random payment failures

Post by egormsen » Sun Aug 11, 2013 7:23 pm

It happened again this afternoon for the second time this weekend.

I can not keep taking calls telling me that people can not purchase items on our store. What do I need to do to help you get this figured out what is the problem. Sorry to say but starting to question whether we should have moved to Gold. Is there any option to "downgrade"?

I have attached the log file again.
Eldon Gormsen
Weigh Down Ministries
AC Gold R12 SR1
http://store.weighdown.com

User avatar
ForumsAdmin
AbleCommerce Moderator
AbleCommerce Moderator
Posts: 399
Joined: Wed Mar 13, 2013 7:19 am

Re: R5-Sp1 Checkout random payment failures

Post by ForumsAdmin » Mon Aug 12, 2013 3:16 am

Thanks egormsen

The log you have provided leads us for the first time to the actual source of error. Although we suspected it would be store settings, but we could not confirm. Now at least we know it has to do with the store settings.

Code: Select all

System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: key
   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at CommerceBuilder.Stores.StoreSettingsManager.Save()
   at CommerceBuilder.Stores.StoreRepository.AfterSave(Object entity)
   at CommerceBuilder.DomainModel.SaveOrUpdateEventListener.PerformSaveOrUpdate(SaveOrUpdateEvent event)
   at NHibernate.Event.Default.DefaultSaveOrUpdateEventListener.OnSaveOrUpdate(SaveOrUpdateEvent event)
   at NHibernate.Impl.SessionImpl.FireSaveOrUpdate(SaveOrUpdateEvent event)
   at NHibernate.Impl.SessionImpl.SaveOrUpdate(Object obj)
   at CommerceBuilder.DomainModel.RepositoryWithTypedId`2.Save(TEntity item)
We are now looking into this in detail.

egormsen
Captain (CAPT)
Captain (CAPT)
Posts: 236
Joined: Fri May 16, 2008 9:16 am

Re: R5-Sp1 Checkout random payment failures

Post by egormsen » Mon Aug 12, 2013 6:37 am

Great! Hoping you all can resolve it soon.
Eldon Gormsen
Weigh Down Ministries
AC Gold R12 SR1
http://store.weighdown.com

egormsen
Captain (CAPT)
Captain (CAPT)
Posts: 236
Joined: Fri May 16, 2008 9:16 am

Re: R5-Sp1 Checkout random payment failures

Post by egormsen » Mon Aug 12, 2013 7:25 am

Store locked up again this morning. Have attached the latest log file.
Eldon Gormsen
Weigh Down Ministries
AC Gold R12 SR1
http://store.weighdown.com

User avatar
ForumsAdmin
AbleCommerce Moderator
AbleCommerce Moderator
Posts: 399
Joined: Wed Mar 13, 2013 7:19 am

Re: R5-Sp1 Checkout random payment failures

Post by ForumsAdmin » Mon Aug 12, 2013 8:15 am

We are working on this. I have sent you a PM. If there is a patch to test, we want it to be confirmed first before being posted publicly.

User avatar
Humannature
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 31
Joined: Thu Mar 12, 2009 10:47 pm

Re: R5-Sp1 Checkout random payment failures

Post by Humannature » Mon Aug 12, 2013 1:47 pm

We are experiencing this as well and it is VERY FRUSTRATING to have people call you and say that we want to give you money but your website won't take it! There is no telling how many sales this has cost us and any other Able Gold (if you can call it that) r5 user. The upgrade to Gold was very difficult (not totally their fault) and the r5 so called upgrade has just continued this experience as we have had to work through MANY other bugs and issues costing us a lot of hours. Honestly the Gold features are not worth the trouble we have experienced and at this point I would not recommend anyone upgrade until this payment failure issue has been fixed. I have been holding back on posting my comments but the payment failure is the last straw. Judging from many of the posts I have read, we are not alone in feeling this way. Sorry Able but it's the truth.

User avatar
AbleOne
AbleCommerce Partner
AbleCommerce Partner
Posts: 28
Joined: Thu Jan 22, 2004 3:47 pm
Location: Laguna Hills, CA
Contact:

Re: R5-Sp1 Checkout random payment failures

Post by AbleOne » Mon Aug 12, 2013 2:48 pm

Have you guys made any progress on this!!!
I have a customer that is about to change software because he checks daily and it keeps happening!!

Please let us know as soon as possible!

Randy
Randy Ford
Randy@AbleCommerceHosting.com
949-544-7170 Direct
949-246-9921
Image

User avatar
ForumsAdmin
AbleCommerce Moderator
AbleCommerce Moderator
Posts: 399
Joined: Wed Mar 13, 2013 7:19 am

Re: R5-Sp1 Checkout random payment failures

Post by ForumsAdmin » Tue Aug 13, 2013 5:09 am

For those who can't wait for the proper fix I am attaching a patch that will just work in the meantime.

Post Reply