12 Comments

  1. Nice One!

    It’s funny thought, that duplicate transactions are just as usual as the above mentioned data discrepancies, so a lot of times the ecommerce tracking is screwed in all directions without a carefull setup.

    Cheers,

    1. Transactions are de-duplicated on the transaction level, thus if you send in the same transaction ID with the exactly same transaction content (revenue, item details, etc) – it should not count twice in your reports

  2. After the payment is completed, the service will redirect me to the site back, but the transactions are not included in the analysis.
    What should I do if the “Thanks” page was created by us?

          1. In that case you should create a new function in your PHP files and use the add_filter() WordPress function to hook into the woocommerce_is_order_received_page filter. You need to check whether the user is on your own thankyou page. This could be done using the is_page() WordPress function using the post ID of your thankyou page.

            You will also need to ensure that the order key is present in the URL of the custom thankyou page like on the default page.

            Rules of thumb: you need to exactly mimic the background behavior of the default order received page.

          2. Thank you for your reply. However, I do not have enough skills to do this without the developer’s participation. Maybe there is a solution without the participation of a programmer?

          3. Unfortunately this can not be solved without a programmer.
            I plan to review a custom thankyou page plugin this weekend, it might work with my plugin as well. I will let you know if the test worked

          4. Hey, did you end up finding a plugin? I have a custom thank you page as well and I am having the same problem! I have added the woocommerce_is_order_received_page filter but the URL of my thank you page does not append any order ID.

Leave a Reply

Your email address will not be published. Required fields are marked *

For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.