Woocommerce payment complete not working with p2p
-
Hi,
I want to get all connected posts during a woocommerce_payment_complete but I keep getting this message: ‘Call to a member function get_connected() on boolean’ or ‘Can’t determine direction for ‘multiple_authors’ type’. It seems like the payment_complete fires before the p2p_init hook.
Does anyone have any solutions for this?
- The topic ‘Woocommerce payment complete not working with p2p’ is closed to new replies.