• Resolved joncon62

    (@joncon62)


    I am getting failed orders since 3.7.1

    I’m not running a standard install, I have other processes running after an order is made but I’m finding my orders are now failing as you’ve added a line to delete the cart in mep_functions.php line 740.

    $woocommerce->cart->empty_cart();

    Now I know the problem I can fix it but I’m interested in why you added this line, is it needed? If I comment it out then all my orders complete correctly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Md. Abdullah Al Mahim

    (@aamahin)

    Hello @joncon62

    Thanks for your message. Recently, we faced some duplicate attendee issues. If someone starts the payment process and goes to the Payment Gateway page (Paypal or others), hits the back button, and returns to the Checkout page, Woocommerce allows again to process the same order. Its created delicate attendee in the same order.

    So after the Woocommerce Checkout Processed hook is called, we cleared the cart to eliminate this issue. I hope you understand the issue.

    Thanks for your understanding.

    Regards.

    Thread Starter joncon62

    (@joncon62)

    Thanks for the explanation. I do think this is going to cause issues for anyone using their own woocommerce routines or plugins for post-processing orders. Fortunately I use my own order management so can remove the mep_event_booking_management action.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Oders failing’ is closed to new replies.