• Resolved Ricardo Franco

    (@chefpanda123)


    Hi,

    I′m getting duplicated transaction ID. This may happen for one of the following reasons:

    1) Returning to the page via emailed link or bookmark
    2) Refreshing the page
    3) Navigating to a different page, and returning via back button
    4) Page restoring from a closed browser session or on a smartphone

    How can we avoid this?

    Best regards,
    Ricardo Franco

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Ricardo

    There is specific code in the plugin that marks orders as sent after the plugin sends them a single time to Google Analytics. There should be an entry in the post meta table for the order called ‘_ga_tracked’ and it should be set to 1.

    Can you check your database and see that it’s being set correctly?

    If it is, are you using caching on the order confirmation page? That could cause the web server to keep serving the same JS snippet on the page thus causing the duplicates even though the DB has been updated.

    Does this help?

    Thread Starter Ricardo Franco

    (@chefpanda123)

    Hi smallfishes,

    Again, I′m sorry for the late reply.Regarding your questions:

    Can you check your database and see that it’s being set correctly?

    I′m afraid I dont know how to check what you asked me. Can you please tell me how I can do that?

    If it is, are you using caching on the order confirmation page?
    As far as I know, I′m not caching anything.

    Best regards,
    Ricardo

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @chefpanda123

    Your host can help with checking the database; however, does this issue happen when a specific payment gateway is used? Can you try enabling Cash on delivery as a payment option and try to complete the checkout process to see if you still get duplicate transaction IDs?

    Thread Starter Ricardo Franco

    (@chefpanda123)

    hi @johndcoy

    Yes, this happens when I use a specific payment gateway.

    I just recorded this video: https://screencast-o-matic.com/u/jcPf/Order_using_cash_on_delivery

    On Google Analytics I see only one transaction, against what I expected. So this is related to this specific payment gateway: https://www.ads-software.com/plugins/eupago-for-woocommerce/

    What should I do?

    Best regards,
    Ricardo

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi Ricardo,

    Thanks for that. In this case it’s difficult to know what that payment gateway is doing that records multiple transactions in Google Analytics. In this case you may want to contact them to let them know what’s happening, incase it’s happening to others using their plugin.

    Thread Starter Ricardo Franco

    (@chefpanda123)

    hi @johndcoy,

    I′ll do that!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘avoid duplicate transaction ID’ is closed to new replies.