Duplicate Entry when used with WooCommerce Subscription
-
Hello !
Thank you for the great plugin
There is an issue when using your plugin with WooCommerce Subscription where a subscriber buying a subscription product will be registered as two rows in wp_pmpro_memberships_users table.
A workaround I am using now is this check to prevent code from running two times
// if the order has sub order, the do not run so we do not end up with registering channel owner two times to a single membership ????if ( true == get_post_meta( $order_id, 'has_wcmp_sub_order', true ) ) { ????????return; ????}
This applies in these two functions: pmprowoo_add_membership_from_order & pmprowoo_activated_subscription
So can you please update your plugin to solve this issue ?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Duplicate Entry when used with WooCommerce Subscription’ is closed to new replies.