News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[SOLVED] Duplicate orders & payments

Started by Robert_ITMan, May 02, 2014, 15:15:09 PM

Previous topic - Next topic

Robert_ITMan

#45
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.

Quote from: tophatco on June 19, 2014, 16:36:02 PM
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.
WEBSITES @ OURFINGERTIPS
manage > develop > market > repeat

Save a lot of time and money when focused on building a website that works with marketing efforts to get more leads and sales from visitors.

www.ourfingertips.com

Robert_ITMan

#46
[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

WEBSITES @ OURFINGERTIPS
manage > develop > market > repeat

Save a lot of time and money when focused on building a website that works with marketing efforts to get more leads and sales from visitors.

www.ourfingertips.com

hotrod

Would be cool if you could verify an order with a customer using IE
Bronze Member
VirtueMart 4.2.4 10922
Joomla!  ‎4.3.4
PHP 8.0

Robert_ITMan

Quote from: hotrod on June 20, 2014, 19:24:45 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".
WEBSITES @ OURFINGERTIPS
manage > develop > market > repeat

Save a lot of time and money when focused on building a website that works with marketing efforts to get more leads and sales from visitors.

www.ourfingertips.com

hotrod

#49
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" ;)
Bronze Member
VirtueMart 4.2.4 10922
Joomla!  ‎4.3.4
PHP 8.0

Robert_ITMan

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.
WEBSITES @ OURFINGERTIPS
manage > develop > market > repeat

Save a lot of time and money when focused on building a website that works with marketing efforts to get more leads and sales from visitors.

www.ourfingertips.com

hotrod

#51
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..
Bronze Member
VirtueMart 4.2.4 10922
Joomla!  ‎4.3.4
PHP 8.0

tophatco

Quote from: Robert_ITMan 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 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.
Quote from: Robert_ITMan on June 20, 2014, 15:24:43 PM
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.
Quote from: Robert_ITMan on June 20, 2014, 15:24:43 PM
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

#53
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

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

tophatco

Quote from: GJC Web Design on June 24, 2014, 16:10:43 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

#56
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
WEBSITES @ OURFINGERTIPS
manage > develop > market > repeat

Save a lot of time and money when focused on building a website that works with marketing efforts to get more leads and sales from visitors.

www.ourfingertips.com

oviliz

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

The idea with the checkoutprocessed does not work for all payment systems.

Please try the attached order model.

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

Robert_ITMan

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
WEBSITES @ OURFINGERTIPS
manage > develop > market > repeat

Save a lot of time and money when focused on building a website that works with marketing efforts to get more leads and sales from visitors.

www.ourfingertips.com