Hi WCMP team,
We recently upgraded one of our sites to the latest version of WCMP, and noticed that commission auto-payments aren’t working for some reason. We’ve been using this code to only payout the orders that are Complete:
// restrict processing order to paid commission
add_filter( ‘wcmp_cron_mass_payment_exclude_order_statuses’, function( $order_status_disable ) {
array_push($order_status_disable, “processing”, “on-hold”);
return $order_status_disable;
} );
The attached shows the setting for hourly payouts. If we pay the commission manually, it works, so it’s not an issue with the PayPal/Stripe connection. It’s just not doing the mass pay after upgrading. We tried running the masspay_cron_start cron job but it doesn’t do it either.
I wanted to bring this up in so you can test and hopefully replicate. Perhaps the code (provided by you in earlier version) I’m using will no longer work with the latest version and it’s causing an issue? Thanks for looking into it!