Jump to content

Duplicate shopping cart and orders


Recommended Posts

Hi everyone,

 

I am new to prestashop and am using version 1.5.6.0. I have a live shop and seem to be facing some kind of bug with which I needed some urgent help. 

 

I noticed my shopping carts getting created 2 or sometimes 3 times with same number id value etc. 

In addition to this sometimes (not always) those duplicate carts create 2 orders exactly at the same time with same products etc despite paypal only charging once. 

This is very strange and doesn't happen on my test local installation, just on live shop. Anyone faced similar issue or can help with this?

It's rather urgent as I now have customer receiving duplicate order emails with for example cart 71 creating orders 28 and 29.

 

Also noticed that in 3 weeks I only had 1 abandoned cart and since last time this happened yesterday I now have 4 consecutive abandoned carts that go to orderstep0 but don't turn into orders.

 

Please help.

 

Cheers

Link to comment
Share on other sites

Hi, 

 

Thanks for the replies so far. My hosting is not cloud, is normal hosting from IX web hosting.

The theme is the default one.

Not sure where to find the php error logs. Is that on my installation directory or on hosting? If it's on hosting I have never seen an option in cpanel to check logs.

An order just got created from a customer who picked up an abandoned cart from earlier today. But as soon as the order was placed again 2 carts with same numbers appeared. 

 

 

Only change I can think of was a fix to the voucher code disappearing with paypal as per below references (but again same fix I have in local install and problem doesn't happen):

http://www.prestashop.com/forums/topic/227224-voucher-box-not-appearing-in-ff/page-3 Change cart_voucher to cart_voucher2 in file /themes/default/shopping-cart.tpl

 

Cheers,

Edited by jbond (see edit history)
Link to comment
Share on other sites

Hi,

 

I've looked into the logs but no errors on my BO, just information. Please see attached screenshots of what I mean.

Thank you so much for the help, I'm a bit desperate as this is causing me issues.

 

Cheers

 

post-654312-0-44027200-1386084411_thumb.png

post-654312-0-12239500-1386084412_thumb.png

Link to comment
Share on other sites

The only time I've seen anything 'remotely' like this is when shop owners would using different means delete test orders...this caused a additional products and other strange behaviors when adding to cart but I don't remember anything exactly described like this...I do not know if this is your situation or not...as dh42 stated..this is a very strange phenomenon.

Link to comment
Share on other sites

Hi, no orders deleted apart from a couple ages ago (test orders), but this didn't happen then just now it does, and randomly too.

Also the duplicate carts on BO are random and sometimes 1 others 2 others 2 as you can see from the screenshot. Very strange, don't know what to do. Any ideas..pleaseeee.

 

Cheers

Link to comment
Share on other sites

Now that you mentioned yes. I only have paypal as payment. But there are other orders that went through fine without duplicating with the same combination (standard delivery and paypal).

One thing that just came to mind is they both happened during a period where I had free delivery setup. So I lowered the free delivery to £1 and both had free shipping ( no fee added for shipping).

But the multiple carts happen with free delivery or not, but orders duplicated only when customers not paying for delivery)

Link to comment
Share on other sites

Hi,

 

Got the list below, It's a big one:

Missing files (2)
  • modules/blockreinsurance/img/reinsurance-2-1.jpg
  • modules/editorial/homepage_logo_1.jpg
Updated files (482)
  • error500.html
  • admin4582/uploadProductFileAttribute.php
  • admin4582/ajaxfilemanager/ajax_get_file_listing.php
  • admin4582/autoupgrade/index.php
  • admin4582/themes/default/template/controllers/index.php
  • admin4582/themes/default/template/controllers/access/index.php
  • admin4582/themes/default/template/controllers/access/helpers/index.php
  • admin4582/themes/default/template/controllers/access/helpers/form/index.php
  • admin4582/themes/default/template/controllers/addons_catalog/index.php
  • admin4582/themes/default/template/controllers/addresses/index.php
  • admin4582/themes/default/template/controllers/addresses/helpers/index.php
  • admin4582/themes/default/template/controllers/addresses/helpers/form/index.php
  • admin4582/themes/default/template/controllers/addresses/helpers/list/index.php
  • admin4582/themes/default/template/controllers/attachments/index.php
  • admin4582/themes/default/template/controllers/attribute_generator/index.php
  • admin4582/themes/default/template/controllers/attributes/index.php
  • admin4582/themes/default/template/controllers/attributes/helpers/index.php
  • admin4582/themes/default/template/controllers/attributes/helpers/form/index.php
  • admin4582/themes/default/template/controllers/attributes/helpers/list/index.php
  • admin4582/themes/default/template/controllers/attributes_groups/index.php
  • admin4582/themes/default/template/controllers/attributes_groups/helpers/index.php
  • admin4582/themes/default/template/controllers/attributes_groups/helpers/form/index.php
  • admin4582/themes/default/template/controllers/attributes_groups/helpers/list/index.php
  • admin4582/themes/default/template/controllers/backup/index.php
  • admin4582/themes/default/template/controllers/backup/download/index.php
  • admin4582/themes/default/template/controllers/backup/helpers/index.php
  • admin4582/themes/default/template/controllers/backup/helpers/list/index.php
  • admin4582/themes/default/template/controllers/backup/helpers/view/index.php
  • admin4582/themes/default/template/controllers/carrier_wizard/helpers/index.php
  • admin4582/themes/default/template/controllers/carrier_wizard/helpers/form/index.php
  • admin4582/themes/default/template/controllers/carrier_wizard/helpers/view/index.php
  • admin4582/themes/default/template/controllers/carriers/index.php
  • admin4582/themes/default/template/controllers/carriers/helpers/index.php
  • admin4582/themes/default/template/controllers/carriers/helpers/form/index.php
  • admin4582/themes/default/template/controllers/cart_rules/index.php
  • admin4582/themes/default/template/controllers/cart_rules/product_rule.tpl
  • admin4582/themes/default/template/controllers/cart_rules/helpers/index.php
  • admin4582/themes/default/template/controllers/cart_rules/helpers/list/index.php
  • admin4582/themes/default/template/controllers/carts/index.php
  • admin4582/themes/default/template/controllers/carts/helpers/index.php
  • admin4582/themes/default/template/controllers/carts/helpers/view/index.php
  • admin4582/themes/default/template/controllers/categories/index.php
  • admin4582/themes/default/template/controllers/categories/helpers/index.php
  • admin4582/themes/default/template/controllers/categories/helpers/form/index.php
  • admin4582/themes/default/template/controllers/categories/helpers/list/index.php
  • admin4582/themes/default/template/controllers/cms/index.php
  • admin4582/themes/default/template/controllers/cms/helpers/index.php
  • admin4582/themes/default/template/controllers/cms/helpers/form/index.php
  • admin4582/themes/default/template/controllers/cms_categories/index.php
  • admin4582/themes/default/template/controllers/cms_categories/helpers/index.php
  • admin4582/themes/default/template/controllers/cms_categories/helpers/form/index.php
  • admin4582/themes/default/template/controllers/cms_content/index.php
  • admin4582/themes/default/template/controllers/countries/index.php
  • admin4582/themes/default/template/controllers/countries/helpers/index.php
  • admin4582/themes/default/template/controllers/countries/helpers/form/index.php
  • admin4582/themes/default/template/controllers/countries/helpers/list/index.php
  • admin4582/themes/default/template/controllers/customer_threads/index.php
  • admin4582/themes/default/template/controllers/customer_threads/helpers/index.php
  • admin4582/themes/default/template/controllers/customer_threads/helpers/list/index.php
  • admin4582/themes/default/template/controllers/customer_threads/helpers/options/index.php
  • admin4582/themes/default/template/controllers/customer_threads/helpers/view/index.php
  • admin4582/themes/default/template/controllers/customers/index.php
  • admin4582/themes/default/template/controllers/customers/helpers/index.php
  • admin4582/themes/default/template/controllers/customers/helpers/list/index.php
  • admin4582/themes/default/template/controllers/customers/helpers/view/index.php
  • admin4582/themes/default/template/controllers/emails/index.php
  • admin4582/themes/default/template/controllers/employees/index.php
  • admin4582/themes/default/template/controllers/employees/helpers/index.php
  • admin4582/themes/default/template/controllers/employees/helpers/form/index.php
  • admin4582/themes/default/template/controllers/feature_value/index.php
  • admin4582/themes/default/template/controllers/feature_value/helpers/index.php
  • admin4582/themes/default/template/controllers/feature_value/helpers/form/index.php
  • admin4582/themes/default/template/controllers/features/index.php
  • admin4582/themes/default/template/controllers/features/helpers/index.php
  • admin4582/themes/default/template/controllers/features/helpers/form/index.php
  • admin4582/themes/default/template/controllers/geolocation/index.php
  • admin4582/themes/default/template/controllers/geolocation/helpers/index.php
  • admin4582/themes/default/template/controllers/geolocation/helpers/options/index.php
  • admin4582/themes/default/template/controllers/groups/index.php
  • admin4582/themes/default/template/controllers/groups/helpers/index.php
  • admin4582/themes/default/template/controllers/groups/helpers/form/index.php
  • admin4582/themes/default/template/controllers/groups/helpers/view/index.php
  • admin4582/themes/default/template/controllers/home/index.php
  • admin4582/themes/default/template/controllers/images/index.php
  • admin4582/themes/default/template/controllers/import/index.php
  • admin4582/themes/default/template/controllers/import/helpers/index.php
  • admin4582/themes/default/template/controllers/import/helpers/form/index.php
  • admin4582/themes/default/template/controllers/import/helpers/view/index.php
  • admin4582/themes/default/template/controllers/information/index.php
  • admin4582/themes/default/template/controllers/information/helpers/index.php
  • admin4582/themes/default/template/controllers/information/helpers/view/index.php
  • admin4582/themes/default/template/controllers/invoices/index.php
  • admin4582/themes/default/template/controllers/invoices/helpers/index.php
  • admin4582/themes/default/template/controllers/invoices/helpers/form/index.php
  • admin4582/themes/default/template/controllers/languages/index.php
  • admin4582/themes/default/template/controllers/languages/helpers/index.php
  • admin4582/themes/default/template/controllers/languages/helpers/form/index.php
  • admin4582/themes/default/template/controllers/localization/index.php
  • admin4582/themes/default/template/controllers/login/index.php
  • admin4582/themes/default/template/controllers/logs/index.php
  • admin4582/themes/default/template/controllers/logs/helpers/index.php
  • admin4582/themes/default/template/controllers/logs/helpers/list/index.php
  • admin4582/themes/default/template/controllers/maintenance/index.php
  • admin4582/themes/default/template/controllers/maintenance/helpers/index.php
  • admin4582/themes/default/template/controllers/maintenance/helpers/options/index.php
  • admin4582/themes/default/template/controllers/manufacturers/index.php
  • admin4582/themes/default/template/controllers/manufacturers/helpers/index.php
  • admin4582/themes/default/template/controllers/manufacturers/helpers/view/index.php
  • admin4582/themes/default/template/controllers/meta/index.php
  • admin4582/themes/default/template/controllers/meta/helpers/index.php
  • admin4582/themes/default/template/controllers/meta/helpers/options/index.php
  • admin4582/themes/default/template/controllers/modules/index.php
  • admin4582/themes/default/template/controllers/modules/tab_modules_list.tpl
  • admin4582/themes/default/template/controllers/modules_positions/index.php
  • admin4582/themes/default/template/controllers/not_found/index.php
  • admin4582/themes/default/template/controllers/order_preferences/index.php
  • admin4582/themes/default/template/controllers/order_preferences/helpers/index.php
  • admin4582/themes/default/template/controllers/order_preferences/helpers/options/index.php
  • admin4582/themes/default/template/controllers/orders/index.php
  • admin4582/themes/default/template/controllers/orders/helpers/index.php
  • admin4582/themes/default/template/controllers/orders/helpers/view/index.php
  • admin4582/themes/default/template/controllers/outstanding/index.php
  • admin4582/themes/default/template/controllers/payment/index.php
  • admin4582/themes/default/template/controllers/payment/helpers/index.php
  • admin4582/themes/default/template/controllers/payment/helpers/view/index.php
  • admin4582/themes/default/template/controllers/performance/index.php
  • admin4582/themes/default/template/controllers/performance/helpers/index.php
  • admin4582/themes/default/template/controllers/performance/helpers/form/index.php
  • admin4582/themes/default/template/controllers/preferences/index.php
  • admin4582/themes/default/template/controllers/preferences/helpers/index.php
  • admin4582/themes/default/template/controllers/preferences/helpers/options/index.php
  • admin4582/themes/default/template/controllers/products/index.php
  • admin4582/themes/default/template/controllers/products/combination/index.php
  • admin4582/themes/default/template/controllers/products/combination/helpers/index.php
  • admin4582/themes/default/template/controllers/products/combination/helpers/list/index.php
  • admin4582/themes/default/template/controllers/products/helpers/index.php
  • admin4582/themes/default/template/controllers/products/helpers/form/index.php
  • admin4582/themes/default/template/controllers/products/helpers/list/index.php
  • admin4582/themes/default/template/controllers/products/multishop/index.php
  • admin4582/themes/default/template/controllers/referrers/index.php
  • admin4582/themes/default/template/controllers/referrers/helpers/index.php
  • admin4582/themes/default/template/controllers/referrers/helpers/form/index.php
  • admin4582/themes/default/template/controllers/referrers/helpers/list/index.php
  • admin4582/themes/default/template/controllers/referrers/helpers/view/index.php
  • admin4582/themes/default/template/controllers/request_sql/index.php
  • admin4582/themes/default/template/controllers/request_sql/helpers/index.php
  • admin4582/themes/default/template/controllers/request_sql/helpers/form/index.php
  • admin4582/themes/default/template/controllers/request_sql/helpers/view/index.php
  • admin4582/themes/default/template/controllers/return/index.php
  • admin4582/themes/default/template/controllers/return/helpers/index.php
  • admin4582/themes/default/template/controllers/return/helpers/form/index.php
  • admin4582/themes/default/template/controllers/scenes/index.php
  • admin4582/themes/default/template/controllers/scenes/helpers/index.php
  • admin4582/themes/default/template/controllers/scenes/helpers/form/index.php
  • admin4582/themes/default/template/controllers/search/index.php
  • admin4582/themes/default/template/controllers/search/helpers/index.php
  • admin4582/themes/default/template/controllers/search/helpers/view/index.php
  • admin4582/themes/default/template/controllers/shop/index.php
  • admin4582/themes/default/template/controllers/shop/helpers/index.php
  • admin4582/themes/default/template/controllers/shop/helpers/form/index.php
  • admin4582/themes/default/template/controllers/shop/helpers/list/index.php
  • admin4582/themes/default/template/controllers/shop_group/index.php
  • admin4582/themes/default/template/controllers/shop_group/helpers/index.php
  • admin4582/themes/default/template/controllers/shop_group/helpers/form/index.php
  • admin4582/themes/default/template/controllers/shop_url/index.php
  • admin4582/themes/default/template/controllers/shop_url/helpers/index.php
  • admin4582/themes/default/template/controllers/shop_url/helpers/form/index.php
  • admin4582/themes/default/template/controllers/shop_url/helpers/list/index.php
  • admin4582/themes/default/template/controllers/slip/index.php
  • admin4582/themes/default/template/controllers/slip/helpers/index.php
  • admin4582/themes/default/template/controllers/slip/helpers/form/index.php
  • admin4582/themes/default/template/controllers/specific_price_rule/index.php
  • admin4582/themes/default/template/controllers/specific_price_rule/helpers/index.php
  • admin4582/themes/default/template/controllers/specific_price_rule/helpers/form/index.php
  • admin4582/themes/default/template/controllers/states/index.php
  • admin4582/themes/default/template/controllers/stats/index.php
  • admin4582/themes/default/template/controllers/stats/helpers/index.php
  • admin4582/themes/default/template/controllers/stats/helpers/view/index.php
  • admin4582/themes/default/template/controllers/statuses/index.php
  • admin4582/themes/default/template/controllers/statuses/helpers/index.php
  • admin4582/themes/default/template/controllers/statuses/helpers/form/index.php
  • admin4582/themes/default/template/controllers/stock_cover/index.php
  • admin4582/themes/default/template/controllers/stock_cover/helpers/index.php
  • admin4582/themes/default/template/controllers/stock_cover/helpers/list/index.php
  • admin4582/themes/default/template/controllers/stock_instant_state/index.php
  • admin4582/themes/default/template/controllers/stock_instant_state/helpers/index.php
  • admin4582/themes/default/template/controllers/stock_instant_state/helpers/list/index.php
  • admin4582/themes/default/template/controllers/stock_mvt/index.php
  • admin4582/themes/default/template/controllers/stock_mvt/helpers/index.php
  • admin4582/themes/default/template/controllers/stock_mvt/helpers/list/index.php
  • admin4582/themes/default/template/controllers/stores/index.php
  • admin4582/themes/default/template/controllers/stores/helpers/index.php
  • admin4582/themes/default/template/controllers/stores/helpers/form/index.php
  • admin4582/themes/default/template/controllers/stores/helpers/options/index.php
  • admin4582/themes/default/template/controllers/suppliers/index.php
  • admin4582/themes/default/template/controllers/suppliers/helpers/index.php
  • admin4582/themes/default/template/controllers/suppliers/helpers/view/index.php
  • admin4582/themes/default/template/controllers/supply_orders/index.php
  • admin4582/themes/default/template/controllers/supply_orders/helpers/index.php
  • admin4582/themes/default/template/controllers/supply_orders/helpers/form/index.php
  • admin4582/themes/default/template/controllers/supply_orders/helpers/list/index.php
  • admin4582/themes/default/template/controllers/supply_orders/helpers/view/index.php
  • admin4582/themes/default/template/controllers/supply_orders_change_state/index.php
  • admin4582/themes/default/template/controllers/supply_orders_change_state/helpers/index.php
  • admin4582/themes/default/template/controllers/supply_orders_change_state/helpers/form/index.php
  • admin4582/themes/default/template/controllers/supply_orders_receipt_history/index.php
  • admin4582/themes/default/template/controllers/supply_orders_receipt_history/helpers/index.php
  • admin4582/themes/default/template/controllers/supply_orders_receipt_history/helpers/list/index.php
  • admin4582/themes/default/template/controllers/tags/index.php
  • admin4582/themes/default/template/controllers/tags/helpers/index.php
  • admin4582/themes/default/template/controllers/tags/helpers/form/index.php
  • admin4582/themes/default/template/controllers/tax_rules/index.php
  • admin4582/themes/default/template/controllers/tax_rules/helpers/index.php
  • admin4582/themes/default/template/controllers/tax_rules/helpers/form/index.php
  • admin4582/themes/default/template/controllers/tax_rules/helpers/list/index.php
  • admin4582/themes/default/template/controllers/tax_rules_group/index.php
  • admin4582/themes/default/template/controllers/tax_rules_group/helpers/index.php
  • admin4582/themes/default/template/controllers/tax_rules_group/helpers/form/index.php
  • admin4582/themes/default/template/controllers/themes/index.php
  • admin4582/themes/default/template/controllers/themes/helpers/index.php
  • admin4582/themes/default/template/controllers/themes/helpers/options/index.php
  • admin4582/themes/default/template/controllers/tracking/index.php
  • admin4582/themes/default/template/controllers/tracking/helpers/index.php
  • admin4582/themes/default/template/controllers/tracking/helpers/list/index.php
  • admin4582/themes/default/template/controllers/translations/index.php
  • admin4582/themes/default/template/controllers/translations/helpers/index.php
  • admin4582/themes/default/template/controllers/translations/helpers/view/index.php
  • admin4582/themes/default/template/controllers/warehouses/index.php
  • admin4582/themes/default/template/controllers/warehouses/helpers/index.php
  • admin4582/themes/default/template/controllers/warehouses/helpers/view/index.php
  • admin4582/themes/default/template/controllers/webservice/index.php
  • admin4582/themes/default/template/controllers/webservice/helpers/index.php
  • admin4582/themes/default/template/controllers/webservice/helpers/form/index.php
  • admin4582/themes/default/template/helpers/index.php
  • admin4582/themes/default/template/helpers/form/index.php
  • admin4582/themes/default/template/helpers/help_access/index.php
  • admin4582/themes/default/template/helpers/list/index.php
  • admin4582/themes/default/template/helpers/options/index.php
  • admin4582/themes/default/template/helpers/view/index.php
  • classes/CompareProduct.php
  • classes/Notification.php
  • classes/cache/index.php
  • classes/controller/index.php
  • classes/db/index.php
  • classes/exception/PrestaShopException.php
  • classes/helper/index.php
  • classes/log/index.php
  • classes/module/index.php
  • classes/order/index.php
  • classes/pdf/index.php
  • classes/range/index.php
  • classes/shop/index.php
  • classes/stock/index.php
  • classes/tax/index.php
  • classes/webservice/index.php
  • controllers/admin/index.php
  • js/jquery/plugins/jquery.validate-creditcard.js
  • js/jquery/plugins/alerts/jquery.alerts.css
  • js/jquery/plugins/alerts/jquery.alerts.js
  • js/jquery/plugins/jstree/jquery.jstree.js
  • js/jquery/plugins/jstree/themes/apple/style.css
  • js/jquery/plugins/jstree/themes/classic/style.css
  • js/jquery/plugins/jstree/themes/default/style.css
  • js/jquery/plugins/jstree/themes/default-rtl/style.css
  • js/jquery/plugins/smartWizard/jquery.smartWizard.js
  • js/jquery/plugins/treeview-categories/jquery.treeview-categories.async.js
  • js/jquery/plugins/treeview-categories/jquery.treeview-categories.sortable.js
  • js/tiny_mce/license.txt
  • js/tiny_mce/plugins/advhr/editor_plugin_src.js
  • js/tiny_mce/plugins/advhr/rule.htm
  • js/tiny_mce/plugins/advhr/css/advhr.css
  • js/tiny_mce/plugins/advhr/js/rule.js
  • js/tiny_mce/plugins/advimage/editor_plugin_src.js
  • js/tiny_mce/plugins/advimage/image.htm
  • js/tiny_mce/plugins/advimage/css/advimage.css
  • js/tiny_mce/plugins/advimage/js/image.js
  • js/tiny_mce/plugins/advlink/editor_plugin_src.js
  • js/tiny_mce/plugins/advlink/link.htm
  • js/tiny_mce/plugins/advlink/css/advlink.css
  • js/tiny_mce/plugins/advlink/js/advlink.js
  • js/tiny_mce/plugins/advlist/editor_plugin_src.js
  • js/tiny_mce/plugins/autosave/editor_plugin_src.js
  • js/tiny_mce/plugins/autosave/langs/en.js
  • js/tiny_mce/plugins/bbcode/editor_plugin_src.js
  • js/tiny_mce/plugins/contextmenu/editor_plugin_src.js
  • js/tiny_mce/plugins/directionality/editor_plugin_src.js
  • js/tiny_mce/plugins/emotions/editor_plugin_src.js
  • js/tiny_mce/plugins/emotions/emotions.htm
  • js/tiny_mce/plugins/emotions/js/emotions.js
  • js/tiny_mce/plugins/fullpage/editor_plugin_src.js
  • js/tiny_mce/plugins/fullpage/fullpage.htm
  • js/tiny_mce/plugins/fullpage/css/fullpage.css
  • js/tiny_mce/plugins/fullpage/js/fullpage.js
  • js/tiny_mce/plugins/fullscreen/editor_plugin_src.js
  • js/tiny_mce/plugins/fullscreen/fullscreen.htm
  • js/tiny_mce/plugins/iespell/editor_plugin_src.js
  • js/tiny_mce/plugins/inlinepopups/editor_plugin_src.js
  • js/tiny_mce/plugins/inlinepopups/template.htm
  • js/tiny_mce/plugins/insertdatetime/editor_plugin_src.js
  • js/tiny_mce/plugins/layer/editor_plugin_src.js
  • js/tiny_mce/plugins/legacyoutput/editor_plugin_src.js
  • js/tiny_mce/plugins/media/editor_plugin_src.js
  • js/tiny_mce/plugins/media/media.htm
  • js/tiny_mce/plugins/media/css/media.css
  • js/tiny_mce/plugins/media/js/embed.js
  • js/tiny_mce/plugins/media/js/media.js
  • js/tiny_mce/plugins/nonbreaking/editor_plugin_src.js
  • js/tiny_mce/plugins/noneditable/editor_plugin_src.js
  • js/tiny_mce/plugins/pagebreak/editor_plugin_src.js
  • js/tiny_mce/plugins/paste/editor_plugin_src.js
  • js/tiny_mce/plugins/paste/pastetext.htm
  • js/tiny_mce/plugins/paste/pasteword.htm
  • js/tiny_mce/plugins/paste/js/pastetext.js
  • js/tiny_mce/plugins/paste/js/pasteword.js
  • js/tiny_mce/plugins/preview/example.html
  • js/tiny_mce/plugins/preview/preview.html
  • js/tiny_mce/plugins/preview/jscripts/embed.js
  • js/tiny_mce/plugins/print/editor_plugin_src.js
  • js/tiny_mce/plugins/save/editor_plugin_src.js
  • js/tiny_mce/plugins/searchreplace/editor_plugin_src.js
  • js/tiny_mce/plugins/searchreplace/searchreplace.htm
  • js/tiny_mce/plugins/searchreplace/css/searchreplace.css
  • js/tiny_mce/plugins/searchreplace/js/searchreplace.js
  • js/tiny_mce/plugins/spellchecker/editor_plugin_src.js
  • js/tiny_mce/plugins/spellchecker/css/content.css
  • js/tiny_mce/plugins/style/editor_plugin_src.js
  • js/tiny_mce/plugins/style/css/props.css
  • js/tiny_mce/plugins/style/js/props.js
  • js/tiny_mce/plugins/table/cell.htm
  • js/tiny_mce/plugins/table/merge_cells.htm
  • js/tiny_mce/plugins/table/row.htm
  • js/tiny_mce/plugins/table/table.htm
  • js/tiny_mce/plugins/table/css/cell.css
  • js/tiny_mce/plugins/table/css/row.css
  • js/tiny_mce/plugins/table/css/table.css
  • js/tiny_mce/plugins/table/js/cell.js
  • js/tiny_mce/plugins/table/js/merge_cells.js
  • js/tiny_mce/plugins/table/js/row.js
  • js/tiny_mce/plugins/table/js/table.js
  • js/tiny_mce/plugins/template/blank.htm
  • js/tiny_mce/plugins/template/editor_plugin_src.js
  • js/tiny_mce/plugins/template/template.htm
  • js/tiny_mce/plugins/template/css/template.css
  • js/tiny_mce/plugins/template/js/template.js
  • js/tiny_mce/plugins/visualchars/editor_plugin_src.js
  • js/tiny_mce/plugins/wordcount/editor_plugin_src.js
  • js/tiny_mce/plugins/xhtmlxtras/abbr.htm
  • js/tiny_mce/plugins/xhtmlxtras/acronym.htm
  • js/tiny_mce/plugins/xhtmlxtras/attributes.htm
  • js/tiny_mce/plugins/xhtmlxtras/cite.htm
  • js/tiny_mce/plugins/xhtmlxtras/del.htm
  • js/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js
  • js/tiny_mce/plugins/xhtmlxtras/ins.htm
  • js/tiny_mce/plugins/xhtmlxtras/css/attributes.css
  • js/tiny_mce/plugins/xhtmlxtras/css/popup.css
  • js/tiny_mce/plugins/xhtmlxtras/js/abbr.js
  • js/tiny_mce/plugins/xhtmlxtras/js/acronym.js
  • js/tiny_mce/plugins/xhtmlxtras/js/attributes.js
  • js/tiny_mce/plugins/xhtmlxtras/js/cite.js
  • js/tiny_mce/plugins/xhtmlxtras/js/del.js
  • js/tiny_mce/plugins/xhtmlxtras/js/element_common.js
  • js/tiny_mce/plugins/xhtmlxtras/js/ins.js
  • js/tiny_mce/themes/advanced/about.htm
  • js/tiny_mce/themes/advanced/anchor.htm
  • js/tiny_mce/themes/advanced/charmap.htm
  • js/tiny_mce/themes/advanced/color_picker.htm
  • js/tiny_mce/themes/advanced/editor_template_src.js
  • js/tiny_mce/themes/advanced/image.htm
  • js/tiny_mce/themes/advanced/link.htm
  • js/tiny_mce/themes/advanced/shortcuts.htm
  • js/tiny_mce/themes/advanced/source_editor.htm
  • js/tiny_mce/themes/advanced/js/about.js
  • js/tiny_mce/themes/advanced/js/anchor.js
  • js/tiny_mce/themes/advanced/js/charmap.js
  • js/tiny_mce/themes/advanced/js/color_picker.js
  • js/tiny_mce/themes/advanced/js/image.js
  • js/tiny_mce/themes/advanced/js/link.js
  • js/tiny_mce/themes/advanced/js/source_editor.js
  • js/tiny_mce/themes/advanced/skins/default/content.css
  • js/tiny_mce/themes/advanced/skins/default/dialog.css
  • js/tiny_mce/themes/advanced/skins/default/ui.css
  • js/tiny_mce/themes/advanced/skins/highcontrast/content.css
  • js/tiny_mce/themes/advanced/skins/highcontrast/dialog.css
  • js/tiny_mce/themes/advanced/skins/highcontrast/ui.css
  • js/tiny_mce/themes/advanced/skins/o2k7/abbr.js
  • js/tiny_mce/themes/advanced/skins/o2k7/about.js
  • js/tiny_mce/themes/advanced/skins/o2k7/acronym.js
  • js/tiny_mce/themes/advanced/skins/o2k7/advhr.css
  • js/tiny_mce/themes/advanced/skins/o2k7/advimage.css
  • js/tiny_mce/themes/advanced/skins/o2k7/advlink.css
  • js/tiny_mce/themes/advanced/skins/o2k7/advlink.js
  • js/tiny_mce/themes/advanced/skins/o2k7/anchor.js
  • js/tiny_mce/themes/advanced/skins/o2k7/attributes.css
  • js/tiny_mce/themes/advanced/skins/o2k7/attributes.js
  • js/tiny_mce/themes/advanced/skins/o2k7/cell.css
  • js/tiny_mce/themes/advanced/skins/o2k7/cell.js
  • js/tiny_mce/themes/advanced/skins/o2k7/charmap.js
  • js/tiny_mce/themes/advanced/skins/o2k7/cite.js
  • js/tiny_mce/themes/advanced/skins/o2k7/color_picker.js
  • js/tiny_mce/themes/advanced/skins/o2k7/content.css
  • js/tiny_mce/themes/advanced/skins/o2k7/del.js
  • js/tiny_mce/themes/advanced/skins/o2k7/dialog.css
  • js/tiny_mce/themes/advanced/skins/o2k7/dialog.js
  • js/tiny_mce/themes/advanced/skins/o2k7/element_common.js
  • js/tiny_mce/themes/advanced/skins/o2k7/embed.js
  • js/tiny_mce/themes/advanced/skins/o2k7/emotions.js
  • js/tiny_mce/themes/advanced/skins/o2k7/en.js
  • js/tiny_mce/themes/advanced/skins/o2k7/fullpage.css
  • js/tiny_mce/themes/advanced/skins/o2k7/fullpage.js
  • js/tiny_mce/themes/advanced/skins/o2k7/image.js
  • js/tiny_mce/themes/advanced/skins/o2k7/ins.js
  • js/tiny_mce/themes/advanced/skins/o2k7/link.js
  • js/tiny_mce/themes/advanced/skins/o2k7/media.css
  • js/tiny_mce/themes/advanced/skins/o2k7/media.js
  • js/tiny_mce/themes/advanced/skins/o2k7/merge_cells.js
  • js/tiny_mce/themes/advanced/skins/o2k7/pastetext.js
  • js/tiny_mce/themes/advanced/skins/o2k7/pasteword.js
  • js/tiny_mce/themes/advanced/skins/o2k7/popup.css
  • js/tiny_mce/themes/advanced/skins/o2k7/props.css
  • js/tiny_mce/themes/advanced/skins/o2k7/props.js
  • js/tiny_mce/themes/advanced/skins/o2k7/row.css
  • js/tiny_mce/themes/advanced/skins/o2k7/row.js
  • js/tiny_mce/themes/advanced/skins/o2k7/rule.js
  • js/tiny_mce/themes/advanced/skins/o2k7/searchreplace.css
  • js/tiny_mce/themes/advanced/skins/o2k7/searchreplace.js
  • js/tiny_mce/themes/advanced/skins/o2k7/source_editor.js
  • js/tiny_mce/themes/advanced/skins/o2k7/table.css
  • js/tiny_mce/themes/advanced/skins/o2k7/table.js
  • js/tiny_mce/themes/advanced/skins/o2k7/template.css
  • js/tiny_mce/themes/advanced/skins/o2k7/template.js
  • js/tiny_mce/themes/advanced/skins/o2k7/ui.css
  • js/tiny_mce/themes/advanced/skins/o2k7/ui_black.css
  • js/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css
  • js/tiny_mce/utils/editable_selects.js
  • js/tiny_mce/utils/form_utils.js
  • js/tiny_mce/utils/mctabs.js
  • js/tiny_mce/utils/validate.js
  • modules/bankwire/controllers/index.php
  • modules/bankwire/controllers/front/index.php
  • modules/bankwire/views/index.php
  • modules/bankwire/views/templates/index.php
  • modules/bankwire/views/templates/front/index.php
  • modules/bankwire/views/templates/hook/index.php
  • modules/blockbestsellers/blockbestsellers.tpl
  • modules/blockcart/blockcart-json.tpl
  • modules/blockcategories/img/index.php
  • modules/blockcategories/img/icon/index.php
  • modules/blockcms/blockcms.tpl
  • modules/blockcontact/blockcontact.css
  • modules/blockcontact/blockcontact.php
  • modules/blockcontact/index.php
  • modules/blockcontactinfos/blockcontactinfos.php
  • modules/blockcontactinfos/blockcontactinfos.tpl
  • modules/blockcontactinfos/index.php
  • modules/blockcustomerprivacy/blockcustomerprivacy.php
  • modules/blocklayered/blocklayered-ajax-back.php
  • modules/blocknewsletter/mails/en/newsletter_conf.html
  • modules/blocknewsletter/mails/en/newsletter_verif.html
  • modules/blockpermanentlinks/img/index.php
  • modules/blockreinsurance/blockreinsurance.php
  • modules/blockreinsurance/index.php
  • modules/blockrss/img/index.php
  • modules/blocksharefb/blocksharefb.php
  • modules/blocksharefb/blocksharefb.tpl
  • modules/blocksharefb/index.php
  • modules/blocksocial/blocksocial.php
  • modules/blocksocial/blocksocial.tpl
  • modules/blocksocial/index.php
  • modules/blocktags/blocktags.css
  • modules/graphartichow/artichow/cache/Abel
  • modules/graphartichow/artichow/cache/Albert
  • modules/graphartichow/artichow/cache/Example-006
  • modules/homefeatured/homefeatured.css
  • modules/mailalerts/mails/en/new_order.html
  • modules/mailalerts/mails/en/new_order.txt
  • modules/productcomments/js/jquery.textareaCounter.plugin.js
  • modules/sendtoafriend/sendtoafriend.css
  • modules/shopimporter/ajax.php
  • modules/shopimporter/shopimporter.js
  • modules/shopimporter/shopimporter.php
  • pdf/footer.tpl
  • pdf/invoice.tpl
Link to comment
Share on other sites

I am unable to replicate on live as it's so random as you could see from screenshots of orders and carts.

I have been trying on the local version but that doesn't have the same problem, despite being a copy of prod , confused here.

Slightly scared of upgrading as every time I did it before going live I had problems and had to restore and do a fresh install instead of upgrade.

Stuck :(

Link to comment
Share on other sites

Hi Jbond,

 

Even though it appears random to us there is no such thing as random behavior in programming unless it has artificial intelligence. We need to try and reproduce the bug and zero in on the common factors. 

 

Your problem looks critical and it is difficult to help without actually looking into the code, putting in break points, debugging, etc. Otherwise all of us can only keep suggesting based on our past experiences.

 

If you wish I am glad to help you via skype.

 

Thanks.

Link to comment
Share on other sites

No cache is defined in the BO. see attached. Also this options are same as in local without the problem.

 

i.e. local, different hosting...so moot

 

please take the time to contact your hosting provider to see if there is a cache turned on underneath your hosting account, i.e. something like varnish.

 

also taking up ibndawood offer may prove fruitful.

Link to comment
Share on other sites

Hi Jbond,

 

Even though it appears random to us there is no such thing as random behavior in programming unless it has artificial intelligence. We need to try and reproduce the bug and zero in on the common factors. 

 

Your problem looks critical and it is difficult to help without actually looking into the code, putting in break points, debugging, etc. Otherwise all of us can only keep suggesting based on our past experiences.

 

If you wish I am glad to help you via skype.

 

Thanks.

Thank you so much that would be great. I do agree there must be something there causing the issue and it's in quite a fundamental part. It is a tricky one for me as I am not a developer or am able to debug etc.

I've sent you a pm with my Skypeid . Many thanks for the offer, speak soon.

 

Cheers

Link to comment
Share on other sites

  • 2 months later...

I'm also having this problem.. I had an order last night that showed up 3 times.. Did you find a fix?

Hi, in short no fix found. But the problem only happens to me when I set free shipping to start from £1 for example. So hasn't happened again as I haven't been doing free shipping. I do get many carts created for same customer and sometimes get 3 or 4 carts with same order number ??? Weird. I don't trust carts that much anymore as they act a bit random.

Link to comment
Share on other sites

  • 3 weeks later...

Here comes the rain again....

 

Please have a brief look at the products in the given (splitted) orders.

Fact is, our shop started doing the same xxx since we are on 1.5.6.2.

Well, of course, many other things were changed in the shop but nothing I would relate to this behaviour.

 

But

on scrutiny, I noticed that Presta not only splits orders but also started sorting the articles in a certain way!

More to the point, in each order I have only articles that derive from the old conventional manuall stock management

and in each other one (we only happened to have doubled orders /splitted ones) articles that are managed by

the advanced stock mangagement!

 

So, this might be the origin of all these problems.

We have articles in our shop that are managed manually and some that are mangaged by the advanced stock management.

If an order consists of articles belong to a) and othders to B) Prestashop splits the order and sorts articles accordingly. What a shame.

 

I bet if you got several stock houses you might get more than doubled/tripled oders and invoices :)

 

If I am right I would be so happy to find a SOLUTION since we already made appointments for the upcoming weekend to migrate the shop! And I really would like to do sth else than that.

 

cheers

Boris

  • post-402975-0-47126700-1393954742_thumb.
Link to comment
Share on other sites

Actually I did also have this problem. 

 

You should disable the shopping cart module in pages header, but only for the step in the order process where you see the double cart content (actually called order).

 

I did that, and not it is not showing. This means though, that at this step, the trashcan icon doesnt work at this point, but I guess you can live with that.

 

I you at this step try to delete from your cart, you will go back to the summary page.

 

Try it out and see if that works.

Link to comment
Share on other sites

Ehm

 

can you tell me whether this occured for you in 1.5.6.2 only and do you have any overrides installed

that may interfere with the order process?

 

I am aksing since I do not really understand the idea behind your solution but I am goint to try it. Anyway,

I wonder really why only very few people have this problem.

 

And moreover, I wonder where the official support is :)

Link to comment
Share on other sites

I found this thread today because this just happened today on my live shop.

 

A customer placed one order and paid via Paypal but two orders have been generated in the shop BO with the same Paypal ID but two difference order numbers and invoice numbers.  This has never happened before and nothing has been changed.  I am still on 1.5.6.1 but as I said this has never happened before so I don't think that is the issue.

 

I am more inclined to wonder if it is a bug associated with advanced stock management as it has also affected the stock ie there was an item with stock quantity of 2 but now there is 0 due to two orders being generated.  Customer only placed one order for quantity 1 so stock is wrong now

 

Or the shopping carts.  I have looked at Customers > shopping carts and there are 6 shopping carts listed for this one customer - two for each of the three items purchased - and all with the exact same time stamp 16:30:26 and then a 7th shopping cart for $0 with time stamp 17:25:05 which is 20 mins after payment.

Edited by alwaysperplexed (see edit history)
  • Like 1
Link to comment
Share on other sites

I do not know how we can get some one to look at this. I heard about ticket system but never use one.

 

I cloned today my shop and created a sandbox paypal acc in order to run this culprit down. But it becomes clear now that ASM plays a role here.

If so, then it might be a bug and then..... Prestashop we got a problem!

Link to comment
Share on other sites

Today someone placed an order on the shop and there is only one Paypal payment, one order, and one shopping cart ie a regular order with no problems.

 

I also checked the shopping carts from the duplicate order yesterday,and as I said above there were 6 shopping carts for that order yesterday but now there are only 3 remaining!  One for each instance of the "order" and one for $0.00 after checkout.

 

I have ASM switched off for some months now as I did not like what it was doing in other areas (there was a problem with ASM where it was causing free shipping!) So I'm not sure how it can still be affecting my shop, but the stock is still being altered incorrectly ie for the duplicate order.  

 

Or why it was just that one order yesterday.

 

Could something be happening if a customer keeps items in a shopping cart for  long time?  The timestamp on the shopping cart yesterday was 16:30 but they didn't actually checkout and pay until 17:05.

 

Edit:  one more thing I just noticed.

 

The order numbers that were generated for the duplicate orders.  All the orders now have random 9 character numbers generated by PS ok.  But for the duplicate orders yesterday, one has 9 character number as normal but the other only has an 8 character number.   Could something have gone wrong with the order generation process that caused the duplication to occur?

Edited by alwaysperplexed (see edit history)
Link to comment
Share on other sites

  • 2 months later...

Hello,

 

I have or had the exact same problem as you. I did some debugging myself and after that the first two orders went trough how they should, no duplicates. This is what I did:

 

I entered debugging mode by setting define('_PS_MODE_DEV_', false); to true in config>defini.inc.php and I got the same error messages as in this thread: http://www.prestashop.com/forums/topic/297351-error-rijndael-key-assumed-rijndael-key/ I solved this error by adding the comma's like El Patron suggested in the second post.

 

Since the problem started with me after installing a dutch iDeal payment module I first uninstalled it through the backoffice in PS. Then I also went into phpmyadmin an deleted all the data of this module I could find in the ps_configuration table. I turned cache off  and freshly installed the module again. 

 

Like I said, the first two orders after this went through how they should, but this is a very small sample size. Hopefully this info will either help you (then it will be solved) or brings the both of us a step further in solving the issue.

 

Cheers

Link to comment
Share on other sites

Sadly I was to soon to judge. The problem definitely got better, because now some of the orders are duplicate instead of everyone.

 

I noticed that my database is getting quite big and polacing an order will give a lot of queries end data writing isn't that correct? The last two orders where there went something wrong, the first I was busy adding a manual order and with the second there was another customer ordering at the same time. Can it be that the server s too busy and giving a database time-out?

 

That might explain why sometimes the first of the duplicates doesn'thave an orderstatus and sometimes it goed to 'pending' (wich is a status that comes with the module)

 

Anyone who can help with this?

Link to comment
Share on other sites

  • 3 months later...

All of a sudden today I have the same issue. Found this post. So just my two cents

 

ASM is not in use.

iDeal (Dutch Payment) is installed quite a while ago

Random double carts. Some create a duplicate ID, some don´t

One order actually thinks that twice the amount of the order has to be payed

 

Upgrade to 1.6 will not work as my theme is currently not working under 1.6, which is odd also cause a duplicate of default theme.

Link to comment
Share on other sites

In regards to this cart issue I think it may have something to do with Cart ID and Order ID in php admin.., if the ps_cart ID is less than the ps_orders ID it does not synchronise correctly..., in previous prestashop versions I could change these in your MySQL database at the php admin:see below

 

ALTER TABLE ps_orders AUTO_INCREMENT 145;

ALTER TABLE ps_cart AUTO_INCREMENT = 244;

 

 

I used to do the above in my previous presta installation and it would continue on from those ID numbers but now in 1.5.4 it does it to start with..., i.e.  the first cart ID then becomes 245 but then after a while reverts back to the previous cart ID before I altered table.

 

Does anyone know how to reset entire Cart ID and Orders ID to synchronise correctly?

Thanks in advance.

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

same problem ps 1.6.0.11

I am getting orders duplicated at random. This is going on for various shipping and payments methods

I have this problem since 1.6.0.4 updated to 1.6.0.9 now updated to 1.6.0.11 and still have this issue.

 

Duplicated shopping carts creates duplicated orders. Creation time is same for those orders...

Link to comment
Share on other sites

  • 4 months later...
  • 4 months later...

I experienced this first time yesterday while developing a new payment module, and I'm pretty sure I figured it out.

 

In the BO, it seemed I had two carts with the same ID, and two equivalent orders with different ID's, but the database showed only one cart so the second was probably just the result of sql joining. But there were two orders on the cart, with the same items and carrier etc, but different order id and reference. I checked my web logs (IIS on my test system), and there were two requests made to the payment-success url, as I was browser (302) redirected back from the payment processor in the browser. Both had status 200, substatus 0, but the one that took the longest time had a win32 status of 64 - which indicates my browser (chrome) closed this one. The first request to finish had win32 status 0 as well, indicating successful return of the data.

 

A quick google search reveals that this is a deliberate strategy by chrome (and maybe other browsers as well), to sometimes (don't know the exact algorithm it decides when) send two requests in parallel, with the intent of only keeping the result of the one that finish first, and closing the other connection. This fit my scenario. So when I'm redirected back to my shop from the payment provider, chrome decides to execute two GET requests simultaneously, and unless there is some way to avoid duplication two orders will be the result. Often (as I do in my payment module) you will do a CAPTURE of the amount, and second thread to attempt this will fail. This will prohibit the creation of two orders if such a mechanism exist - but it has another problem - the request that fails don't have more work to do, and will return with an error message. At least if it returns with a 200 status, chrome will be happy and display the result of the error request as it returned first, and not the other request which in the mean time is actually creating the valid order.

 

When you don't have this mechanism in place to stop order number two, and the module just relay on PrestaShops validateOrder() function to preserve integrity , there seem to be a race condition that in some portion of the cases will not stop the second order from completing and linking to the same cart as the first one. This has probably very rearly been a problem before chrome started doing the double request trick in order to return requests quicker and thus enhance users browsing experience. To make matters worse, it seems that waiting for something like a web service or other IO when the module is completing the transaction and order sometimes can act as a synchronizer between the two competing requests, so that after the IO resource is available both requests continue very close in time, in almost parallel execution of the same code, thus increasing the risk of any race condition in the module or PrestaShop core to occur.

 

If this seems to start to happen suddenly, it may be because chrome is pushing out a new version, a change in the browsers algorithm on when to start duplicate requests, or in the conditions the algorithm depends on (maybe it experienced the site as slow above some threashold in the past, multithreaded client on multiprocessor client computer, or whatever) or maybe something like IO scheduling changes in some OS, server, API or whatever is in use somewhere in the stack now has started to behave differently and the requests, waiting for access to the same resource or triggered by the same event, are more synchronized than before. These aspects can also explain why, for some, it seems to happen on just some systems.

 

I can see that this would be a huge problem for any payment module that depend on redirects to a page which completes the order without having any external mutex like construct, something like a banks CAPTURE operation, to stop duplicate orders from being created...I haven't researched the PrestaShop code for the race condition that must be there, but hopefully someone will - I'm quite pressed for time at the moment...

Edited by eriknuds (see edit history)
  • Like 5
Link to comment
Share on other sites

  • 3 weeks later...

You should check to make sure you actually got TWO payments, check the log or entries at your payment provider, _BEFORE_ you refund anything. You might have gotten just one payment - depending on the payment module in use. I don't know Stripe, but you should log in and check that you actually received two payments before refunding one (I think you actually got ONLY ONE payment!!!).

 

Regards,

Erik Knudsen

Edited by eriknuds (see edit history)
Link to comment
Share on other sites

Ok. I don't know how the Stripe module handles the duplicate parallel redirect/request problem, and what you describe is one possible way it could fail, so you are probably right. You should report this to Stripe as well, perhaps, if they developed that payment module. Stripe too can implement their module in a way that the error won't occur, even though the prestashop ValidateOrder() race condition is probably also at fault here.

Link to comment
Share on other sites

I contacted the module developer, here the answer... what do you suggest ?

 

Hi,

Thanks for contacting us.
Yes I understand this issue. Its related with browser (only Chrome from major browsers) get request performance on any redirection. So its not a bug from Stripe module. But if you want to use new version of this module with latest stripe libraries and features, its here:
https://addons.prestashop.com/en/product.php?id_product=17856
I hope Prestashop will take it as a major bug and resolve it asap for their newer versions.

But if you want us to fix this on PS core files then we can put some hack in the validate order function to prevent the duplicate orders with an extra cost. (Not applicable for PS cloud)
Let me know if you need any other support.

Link to comment
Share on other sites

So the module developer thinks he doesn't have to handle perfectly legal http behavior that cause his module to create duplicate orders because it is almost only the most popular browser in the world that does this...interesting view. If the module is on addons I would give it the lowest rating possible as it is unusable and claim a refund and report it to prestashop so they can ban his module and preferably him as well. Even if prestashop fixes ValidateOrder() I'm not sure the module can be trusted as I suspect he doesn't properly check the validity of the payment after the redirect...

 

Regards,

Erik Knudsen

Link to comment
Share on other sites

However if prestashop fixes the issue in ValidateOrder() his module might not create duplicate orders anymoe, though that doesn't mean it is safe from fraudulent attacks, and he would at least have to set PS compatibility for the module to after the PS version that solves the ValidateOrder() problem in any case.

Edited by eriknuds (see edit history)
Link to comment
Share on other sites

  • 1 month later...

Hi everyone

 

We got exactly the same problem as many of you. Randomly we got 2 orders from the same customer with the same amount, the same product and exactly the same date/time!

 

In our case, the issue concerned only one paiement method with saferpay module. After many search and contact with the developer, we finally found in the access logs from server that our shop got 2 links to the confirmation page from the saferpay server. One with GET data and the other with POST data.

 

So we put a delay on the confirmation module page for 2 seconde if the data came with the GET method.

 

Maybe you will not have the same issue as us, but it could be a clue of why you get 2 orders with the same date/time!

Link to comment
Share on other sites

  • 2 months later...
  • 4 weeks later...

Where do i find this  Validation.php file ?

Under the payment module that is causing the problems. I guess the precise position depends on the payment module, mine was here:

/NAME-OF-SITE.COM/modules/[NAME OF PAYMENT MODULE]/controllers/front

Link to comment
Share on other sites

  • 4 weeks later...

RESOLVED Hello everyone, I had this error in my PS 1.6 I have noticed that the problem is coming from the SMARTY pages...  in order to avoid have duplicate order, I have disabled the SMARTY CACHE from  

 

Advanced Settings -> Performance ->  Smarty -> Cache -> No

 

 

I have tested before disable the smarty cache and my orders were being processed once.

 

I hope this help you guys...

 

Thanks

 

 

  • Thanks 1
Link to comment
Share on other sites

×
×
  • Create New...