We have a store where users can purchase/register for webinar places for both themselves and for colleagues.
We programmatically send registrations to G2W via a custom function that hooks into the woocommerce_order_status_completed filter.
If the booking is for the person completing the transaction the registration is sent upon ordering to G2W. If the purchase is for a colleague the registration is not sent until the purchaser goes to their account dashboard and selects the colleague to register on a dedicated dashboard screen.
Whilst this largely works we’ve started seeing the purchaser automatically being sent as a registrant, at purchase point, on orders that are for colleagues.
So my question is does the plugin automatically fire a registration event at purchase point and is there a hook or filter to prevent this from happening?
When this happens the source in the G2W registrants screen is set to false, if that helps at all. Screengrab attached to show what I mean.1 Comment