• Resolved kavitharamar

    (@kavitharamar)


    Hi,

    We are developing a hotel booking site using woocommerce. We are about to finish the development, now the problem is the orders are duplicated with different order id and have receiving 2 emails and 2 sms notifications for the same order. Also the payments are asking to pay twice for the already partially paid order. Seeing the logs on Woocommerrce> status>logs, we received “Transactional email triggered fatal error for callback woocommerce_email_order_meta”. Sometimes, the orders appeared to be 1 time, most of the times , the orders are duplicated. Also when we see the orders on Woocommerce>orders , the duplicate orders with different order id appears to be completed and when we see the orders on pending payments, the duplicate orders with different order id appears to be in pending payment.

Viewing 1 replies (of 1 total)
  • Plugin Support EastOfWest a11n

    (@eastofwest)

    Hi @kavitharamar! Sorry to hear about your troubles, let’s see how to get you sorted.

    If you’re creating custom code for your project, you may inadvertently have hooked into a process that re-triggers what WooCommerce already did, or causes an error that makes it redo something, hence the duplication. If you are creating custom code, and haven’t yet, visit our Developer Resources where the correct approaches are outlined, or join the WooCommerce Community Slack to chat to other devs about the approaches you used.

    If the error log is anyting to go by, I would investigate any modifications that kick in around the time the order tries to complete, in particular any code hooked to woocommerce_email_order_meta.

    If you’re not using custom code, but rather relying on plugins and extensions, then you can isolate which plugin or extension (or maybe theme) is causing the issue by doing a conflict test.

    Let us know what you find. If it’s one of our extensions then we’ll point you in the right direction for where to get help, or otherwise, reach out to the developer of the plugin you’re using to hear how they can help.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.