Author Topic: [SOLVED] Duplicate orders & payments  (Read 31401 times)

Robert_ITMan

  • Jr. Member
  • **
  • Posts: 160
    • websites developed and managed @ ourfingertips.com
  • VirtueMart Version: LIVE 3.2.12 and testing latest
Re: [SOLVED] Duplicate orders & payments
« Reply #45 on: June 20, 2014, 15:24:43 pm »
tophatco - have you received any duplicates since forcing SSL on the full site? With or without www. so long as it never changes for a user session.

I see references to forcing SSL and www in previous posts.  The SSL was registered for outerbanksskeeterbeater.com without the www so I have been forcing visitors to the site without www, with the following code in my .htaccess

I wonder if the duplicate orders are caused by inconsistencies in URLs when starting the cart and checking out... if someone creates a cart with http://www.domain then checks out with https://www.domain or https://domain then that might be the issue?

FYI - new SSLs include both www and without... personally I prefer www as the links look better and are more consistently converted to actual links than without ... www.ourfingertips.ca always works where ourfingertips.ca does not and http://ourfingertips.ca doesn't look right to me.
Let me know if I can help in anyway!

Hope all is good with you and yours - stay safe! So far all is good with me and mine.

www.ourfingertips.com - websites developed and managed @ ourfingertips

Let me help you make the most of the technology at our fingertips

Robert_ITMan

  • Jr. Member
  • **
  • Posts: 160
    • websites developed and managed @ ourfingertips.com
  • VirtueMart Version: LIVE 3.2.12 and testing latest
Re: [SOLVED] Duplicate orders & payments
« Reply #46 on: June 20, 2014, 16:42:44 pm »
[SOLVED] statistically we were getting one duplicate per 16 orders and we have received 17 orders and no duplicates so far since updating to VM 2.6.6

Let me know if I can help in anyway!

Hope all is good with you and yours - stay safe! So far all is good with me and mine.

www.ourfingertips.com - websites developed and managed @ ourfingertips

Let me help you make the most of the technology at our fingertips

hotrod

  • Jr. Member
  • **
  • Posts: 129
Re: [SOLVED] Duplicate orders & payments
« Reply #47 on: June 20, 2014, 19:24:45 pm »
Would be cool if you could verify an order with a customer using IE
VirtueMart 3.6.10
Joomla! 3.9.18
PHP Version    PHP 7.3.13  
Dedicated Server.
http://forum.virtuemart.net/index.php?topic=124355.0

Robert_ITMan

  • Jr. Member
  • **
  • Posts: 160
    • websites developed and managed @ ourfingertips.com
  • VirtueMart Version: LIVE 3.2.12 and testing latest
Re: [SOLVED] Duplicate orders & payments
« Reply #48 on: June 20, 2014, 19:57:51 pm »
Would be cool if you could verify an order with a customer using IE

I can confirm several of our orders were received using IE including one I entered myself for a customer yesterday morning while they were at reception... she said politely and with a smile, "I don't do computer".
Let me know if I can help in anyway!

Hope all is good with you and yours - stay safe! So far all is good with me and mine.

www.ourfingertips.com - websites developed and managed @ ourfingertips

Let me help you make the most of the technology at our fingertips

hotrod

  • Jr. Member
  • **
  • Posts: 129
Re: [SOLVED] Duplicate orders & payments
« Reply #49 on: June 20, 2014, 22:23:36 pm »
I can confirm an Non Duplicated order using the latest IE version.
My duplicate came from IE 9  The latest for Windows XP

I don't see how we can mark this solved.. if you have to run your shop in full SSL  with a forced www.   I'll bet that works..  But it's more of a "Work Around" ;)
VirtueMart 3.6.10
Joomla! 3.9.18
PHP Version    PHP 7.3.13  
Dedicated Server.
http://forum.virtuemart.net/index.php?topic=124355.0

Robert_ITMan

  • Jr. Member
  • **
  • Posts: 160
    • websites developed and managed @ ourfingertips.com
  • VirtueMart Version: LIVE 3.2.12 and testing latest
Re: [SOLVED] Duplicate orders & payments
« Reply #50 on: June 20, 2014, 22:55:15 pm »
hotrod - SOLVED because I opened this subject and my issue is solved with VM 2.6.6 - you are reporting a different issue where you state there are no duplicates when you have SSL turned off - I suggest you open a new subject along those lines or jump on another subject if you want help from the community - or hire someone. I will not help you further because you will not try my suggestions for trouble shooting your issue - that and I have wasted too much time trying to help you already.
Let me know if I can help in anyway!

Hope all is good with you and yours - stay safe! So far all is good with me and mine.

www.ourfingertips.com - websites developed and managed @ ourfingertips

Let me help you make the most of the technology at our fingertips

hotrod

  • Jr. Member
  • **
  • Posts: 129
Re: [SOLVED] Duplicate orders & payments
« Reply #51 on: June 20, 2014, 23:47:23 pm »
I do Appreciate the help.. I just have to do more research on changing the shop to full SSL and forcing www when I have been forcing no www.

100% of our sales come from the search engines.. we are number 1 for any part# we have..  I just can't risk losing that for a few duplicate orders from people that use a lame browser..  8 orders today and everything was fine.  all used another browser excepect one that has the latest ie updated..  so in time this can fix it's self.. I would think..  If not.. I may be forced to go your route.

Thank you for your effort..
VirtueMart 3.6.10
Joomla! 3.9.18
PHP Version    PHP 7.3.13  
Dedicated Server.
http://forum.virtuemart.net/index.php?topic=124355.0

tophatco

  • Beginner
  • *
  • Posts: 46
Re: [SOLVED] Duplicate orders & payments
« Reply #52 on: June 23, 2014, 17:55:00 pm »
tophatco - have you received any duplicates since forcing SSL on the full site? With or without www. so long as it never changes for a user session.
I forced SSL over the weekend for the whole site and still got 1 duplicate order.  Two transactions at the exact same time for the same amount.
I wonder if the duplicate orders are caused by inconsistencies in URLs when starting the cart and checking out... if someone creates a cart with http://www.domain then checks out with https://www.domain or https://domain then that might be the issue?
I don't think people are creating a cart under the www.domain then checking out under the http://domain.com. Going straight to the site redirects you and all search engine indexes do not include it. I can't find a way to even visit the site with the www.
FYI - new SSLs include both www and without... personally I prefer www as the links look better and are more consistently converted to actual links than without ... www.ourfingertips.ca always works where ourfingertips.ca does not and http://ourfingertips.ca doesn't look right to me.
I prefer the www too, this was the first SSL I had purchased and didn't realize I had to include the www at the time, which I plan on reversing when the SSL needs to be renewed.

Overall, the site has been up almost a year without this problem existing, until 5/27 of this year. On 5/20 I had updated VM to 2.6.0a. I keep VM and Joomla up to date.

tophatco

  • Beginner
  • *
  • Posts: 46
Re: [SOLVED] Duplicate orders & payments
« Reply #53 on: June 24, 2014, 16:04:00 pm »
Another duplicate order today. Yesterday I recoded all my template overrides from the latest default template files to make sure it wasn't something I had done. All the changes were only dealing with the markup.

I could really use some help on this. :( I am turning off authorize.net transactions until I can get a lead on what's causing it.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9747
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

tophatco

  • Beginner
  • *
  • Posts: 46
Re: [SOLVED] Duplicate orders & payments
« Reply #55 on: June 24, 2014, 16:37:54 pm »
did u try this?  http://forum.virtuemart.net/index.php?topic=124033.msg425721#msg425721

I am assuming you mean the changes to the cart.php by alex2311?  I am assuming this check would apply to authorize.net as well? I guess I could try it and see if it changes things. I am a bit worried that the site owner is going to get upset with the double order issue and am hesitant to accept any more credit cards until the issue is definitely resolved.

After reading through this thread again I noticed hotrod was also redirecting his http://www.domain.com to http://domain.com.  He also started having problems around the same time I did. I am wondering if this is related.

Robert_ITMan

  • Jr. Member
  • **
  • Posts: 160
    • websites developed and managed @ ourfingertips.com
  • VirtueMart Version: LIVE 3.2.12 and testing latest
Re: [SOLVED] Duplicate orders & payments
« Reply #56 on: June 26, 2014, 16:19:49 pm »
tophatco - I also wonder if it has something to do with the URL, hotrod stated he does not get duplicates when SSL is off - can you confirm that?

Also it still might be caused by double-clicking or a browser issue causing double-clicks (might explain why I'm still not getting any duplicates) - I suggest you also try my code for the cart template file to eliminate the possibility of double-clicks here (still works for me on 2.6.6): http://forum.virtuemart.net/index.php?topic=122883.msg421328#msg421328 - to eliminate any possibility of the issue being caused by something different in your template, I strongly suggest you first update your template using the default that comes with 2.6.6 then add my code.

[SOLVED] statistically we were getting one duplicate per 16 orders and we have received 28 orders and no duplicates so far since updating to VM 2.6.6
Let me know if I can help in anyway!

Hope all is good with you and yours - stay safe! So far all is good with me and mine.

www.ourfingertips.com - websites developed and managed @ ourfingertips

Let me help you make the most of the technology at our fingertips

oviliz

  • Beginner
  • *
  • Posts: 27
Re: [SOLVED] Duplicate orders & payments
« Reply #57 on: July 03, 2014, 00:06:25 am »
I notice that "$this->setCartIntoSession(); after $this->_inCheckOut = true;" suggestion are now part of VM 2.6.6 but I still have the same issue (and others)...

I'm looking now to the different suggestions indicated here... even switching to a different e-commerce.. :(

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: [SOLVED] Duplicate orders & payments
« Reply #58 on: July 10, 2014, 22:39:12 pm »
The idea with the checkoutprocessed does not work for all payment systems.

Please try the attached order model.

[attachment cleanup by admin]
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Robert_ITMan

  • Jr. Member
  • **
  • Posts: 160
    • websites developed and managed @ ourfingertips.com
  • VirtueMart Version: LIVE 3.2.12 and testing latest
Re: [SOLVED] Duplicate orders & payments
« Reply #59 on: July 11, 2014, 04:10:32 am »
I tested Max's /administrator/components/com_virtuemart/models/orders.php and it works on our test site VM 2.6.6

Any one else try it? Does it remove your duplicates with/without SSL..?

[SOLVED] statistically we were getting one duplicate per 16 orders and we have received 54 orders and no duplicates so far since updating to VM 2.6.6
Let me know if I can help in anyway!

Hope all is good with you and yours - stay safe! So far all is good with me and mine.

www.ourfingertips.com - websites developed and managed @ ourfingertips

Let me help you make the most of the technology at our fingertips