• Resolved Daniele

    (@dabesa)


    Dear support,

    I have 2 questions regarding the Purchase event:

    1. Is the event fired if we use a custom thank-you page? (on a separate URL, not the default WooCommerce endpoint)
    2. When a customer pays via bank transfer, is the event generated after the order is placed, or when the order is marked as paid in the backend?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    The Facebook for WooCommerce plugin ties directly into WooCommerce’s core functionality. So, typically, events are triggered based on WooCommerce actions.

    1. Regarding your first question, if you use a custom thank you page (on a separate URL, not the default WooCommerce endpoint), the purchase event may not fire as it would traditionally trigger on the default WooCommerce “Thank You” page unless you’ve specifically added pixel tracking code to your custom thank you page.
    2. For your second question, if a customer pays via bank transfer (or any other similar method where payment isn’t instant), the event will typically trigger when the order is placed, rather than when the payment is marked as complete in the backend. This is because the plugin tracks order confirmations rather than payment confirmations.
      Remember, these are standard behaviors and may vary based on your specific configurations or any additional plugins being used. For a more detailed understanding specific to your setup, you may want to reach out to Facebook or WooCommerce support, or consider consulting a developer.

    If you are interested in hiring a developer to add that capability check out our customizations page.

    Hope this helps.

    Thread Starter Daniele

    (@dabesa)

    Hello @c3zh ,

    Regarding question 1, can I configure the plugin (or call a hook) to fire the purchase event from the custom thank-you page?

    Thanks

    Hi @dabesa,

    Purchase event is triggered either when:

    • WooCommerce signals a payment transaction complete (most gateways)
    • Customer reaches Thank You page skipping payment (for gateways that do not require payment, e.g. Cheque, BACS, Cash on delivery…)

    We bind the trigger to the woocommerce_thankyou action hook. So, depending on how you customize your thank-you page, it will either work as expected, or you will need to call the hook manually.

    .

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Questions on Purchase event’ is closed to new replies.