• Resolved ARCangelGIRL

    (@arcangelgirl)


    Hello,

    I would like to hook after successful payment was made, when going to thank you page of the order.

    Hook “woocommerce_thankyou” looks like that is working, but if the user will close his browser tab without returning to our website, the hook will not be fired.

    Hook “woocommerce_payment_complete” looks like that it is not working as much as I tried.

    I’m wondering if there is any kind of hook in this plugin, that I can use and be sure that it will be fired after user pays successfully?

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Support gibeladakis

    (@gibeladakis)

    Hello,

    If customer doesnt return to the site, the order status will not change.

    So, we suggest to ask the bank to rmove the middle page after the transaction is completed (assuming that you have an active SSL) so, customer will be auto redirected back to the site and then you will be able to fire the woocommerce_thankyou hook

    Best Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Hook after successful payment’ is closed to new replies.