I’ve a form that leads to WooCommerce carts with specific products based on conditional logic.
Currently, in the last step the user needs to fill a form with personal details (registration to our group) and then gets redirected to the desired cart pays and the flow is done.
But I noticed that some people don’t buy the product and I still get the email notification with the personal details so I need to go and check if the user successfully paid or not.
Is there any way to hold the notification email until a successful purchase occurs?
I dived into the hooks of GF and WooCommerce and I found the “woocommerce_payment_complete” hook but I’m not sure how to integrate it with GF hooks.