Hi,
I have an issue with some orders sending order email and doing order integration multiple times.
DW is v8.9.2.15. Order integreation is standard eConomic. Payment gateway is DIBS Flexwin.
Highlights from orderlog:
First order is completed succesfully - checkout done is logged twice and then i also see a dibs cancel entry.
lø, 02 dec 2017 19:01:27 | Order Passing order to checkout handler: Dynamicweb.eCommerce.Cart.CheckoutHandlers.Dibs (ORDER2138 Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:01:27 | Dynamicweb.eCommerce.Cart.CheckoutHandlers.Dibs Checkout started (OrderID:ORDER2138 (IsCart:True) Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:01:27 | Dynamicweb.eCommerce.Cart.CheckoutHandlers.Dibs Render template (OrderID:ORDER2138 (IsCart:True) Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:02:37 | Dynamicweb.eCommerce.Cart.CheckoutHandler Redirecting to checkout handler: Dynamicweb.eCommerce.Cart.CheckoutHandlers.Dibs (OrderID:ORDER2138 (IsCart:True) Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:02:37 | Dynamicweb.eCommerce.Cart.CheckoutHandlers.Dibs Callback started (OrderID:ORDER2138 (IsCart:False) Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:02:37 | Dynamicweb.eCommerce.Cart.CheckoutHandlers.Dibs Payment succeeded with transaction number xxxxxxxxx (OrderID:ORDER2138 (IsCart:False) Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) |
lø, 02 dec 2017 19:02:37 | Dynamicweb.eCommerce.Cart.CheckoutHandlers.Dibs Order is kept in context - upgrading to order (OrderID:ORDER2138 (IsCart:False) Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:02:37 | Dynamicweb.eCommerce.Cart.CheckoutHandlers.Dibs Order was upgraded successfully (OrderID:ORDER2138 (IsCart:False) Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:02:37 | Order Called CheckoutDone (pageID:0) (ORDER2138 Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:02:37 | Order Order is complete (ORDER2138 Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:02:39 | Order Adding user to newsletter (ORDER2138 Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:02:43 | Order Inside mail loop (ORDER2138 Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:02:43 | Order Customer mail (ORDER2138 Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:03:27 | Order Inside mail loop (ORDER2138 Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:03:27 | Order Customer mail (ORDER2138 Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:03:50 | Dynamicweb.eCommerce.Cart.CheckoutHandler Redirecting to checkout handler: Dynamicweb.eCommerce.Cart.CheckoutHandlers.Dibs (OrderID:ORDER2138 (IsCart:False) Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:03:50 | Dynamicweb.eCommerce.Cart.CheckoutHandlers.Dibs State cancel (OrderID:ORDER2138 (IsCart:False) Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:03:50 | Order Called CheckoutDone (pageID:0) (ORDER2138 Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:03:50 | Order Order is complete (ORDER2138 Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) |
lø, 02 dec 2017 19:03:52 | Order Adding user to newsletter (ORDER2138 Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:03:55 | Order Inside mail loop (ORDER2138 Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:03:55 | Order Customer mail (ORDER2138 Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:03:57 | Order Inside mail loop (ORDER2138 Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) | |
lø, 02 dec 2017 19:03:57 | Order Customer mail (ORDER2138 Total:949, orderline total:949,00 DKK; Orderlines:1 - Products:1, Discounts:0, Taxes:0, BOM:0.) |
Is there any way to prevent the order is complete event to be fired twice?
Please let me know if you want other examples or more details.
Best regards,
Martin