Home Forums WC Vendors Free Support Mass Pay schedule doesn't run

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #46789
    Dan Young
    Participant

    Hello,

    I’m having trouble automatically paying commission with Mass Pay. If I select the NOW option and click save then all due commissions get paid with no issues, so fairly sure all is set up correctly on the Paypal side of things but if I set it to daily and wait nothing happens. Ive also tried to run the cron job manually using WP Crontrol and receive the message “Successfully executed the cron event pv_schedule_mass_payments” but no commission actually gets paid. I have other cron jobs schedule successfully so cron seems to be working. Has anyone else had this issue? Am I overlooking something really obvious? (instant pay is unchecked!).

    Any help would be greatly appreciated.

    Cheers

    #47899
    Dan Young
    Participant

    Ok, so ive installed a fresh copy of WordPress, Woocommerce & WC-vendors and im running the 2016 theme- no other plugins are active (im also on a different server than before) but still have the same issue with Mass Pay not automating commission payments. Has anyone else had this issue trying to pay vendors on a schedule? Any insight to this would be greatly received.

    #70677
    Louie
    Participant

    Did you figured this out?
    I’m facing exactly same problem. Please help.

    Thanks!

    #70679
    Louie
    Participant

    Okay. I found the solution.
    Inside class-cron.php, try to move

    add_action( 'pv_schedule_mass_payments', array( 'WCV_Cron', 'pay_now' ) );

    from schedule_cron() into function __construct()

    The Action hook was not reachable inside schedule_cron() function. Once we move it to function constructor, the Crontrol plugin recognise the Action hook and it works.

    Maybe someone from WC Vendors can give a better explanation.
    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WC Vendors Free Support’ is closed to new topics and replies.