• Resolved ilovebarushka

    (@ilovebarushka)


    Purchase event fires twice – once in order-pay page (not the right page) and second on order-received page (the right page) which causes double purchase value and count on Facebook campaign data.

    When the plugin is off the problem doesn’t happen.

    Will appreciate help in fixing that.

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

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author PixelYourSite

    (@pixelyoursite)

    How is the order-pay page generated? I assume a payment plugin, right?

    Thread Starter ilovebarushka

    (@ilovebarushka)

    Hi, yes

    Thread Starter ilovebarushka

    (@ilovebarushka)

    Does the event fire on a page with url containing the word “order” and if i would change the name of the pay page instead of “order-pay” to “pay-page” would it help?

    Plugin Author PixelYourSite

    (@pixelyoursite)

    1. What payment plugin do you use?

    2. Changing the name will most likely not help, we use WooCommerce hooks/filters to capture transactions.

    Thread Starter ilovebarushka

    (@ilovebarushka)

    The payment plugin is called Yaad Sarig Payment Gateway For WC

    Plugin Author PixelYourSite

    (@pixelyoursite)

    This plugin is not available on WordPress anymore, this is what I get on their page:

    This plugin has been closed as of March 24, 2023 and is not available for download. Reason: Guideline Violation.

    So we are not able to do a quick test. It’s best you contact us on our website so you can send me the plugin files and some more information about your environment.

    Thread Starter ilovebarushka

    (@ilovebarushka)

    Its not available for download but it is working on my website.

    Thank you, sent the question on your website

    Plugin Author PixelYourSite

    (@pixelyoursite)

    Not sure it’s safe to use a payment plugin that was removed for violations, but it’s your call.

    Thread Starter ilovebarushka

    (@ilovebarushka)

    its my payment company, they are alright I don’t what’s the specific problem with the plugin but its my plugin for 3 years and everything is alright.

    my problem is that my purchase fires twice ??

    Plugin Author PixelYourSite

    (@pixelyoursite)

    Yes, the purchase fires twice because this plugin creates an intermediary page that simulates the order confirmation page behaviour before the payment is processed. Once we can actually check how the plugin works, we might find a solution.

    Thread Starter ilovebarushka

    (@ilovebarushka)

    O.K I sent the plugin on mail. Do I need to do anything else or you could check it on your side?

    Thread Starter ilovebarushka

    (@ilovebarushka)

    Finally Facebook decided to agree with me ??

    order-pay is the wrong page

    order-received is the right page

    the question is how I can fix it from sending wrong purchase event from the order-pay page

    image

    Plugin Author PixelYourSite

    (@pixelyoursite)

    Replying to my emails with the info I asked would be a good start ??

    Thread Starter ilovebarushka

    (@ilovebarushka)

    I am not sure how to make an ftp user. I sent all I could – the pages url and the payment plugin

    Plugin Author PixelYourSite

    (@pixelyoursite)

    No, I am still waiting for the exact URLs where the purchase events are sent. And please answer the emails for now. We can resume the discussion here once there is a conclusion/solution.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Purchase event fires twice – in order-pay and order-received page’ is closed to new replies.