HI,
Please add this code to your site to your site and set “Periodic Withdrawal => Every Hour” ->
add_filter( 'wcfm_withdrawal_schedule_periods', function( $schedule_periods ) {
$schedule_periods['hour'] = 'Every Hour';
return $schedule_periods;
});
add_filter( 'wcfm_schedule_period_interval', function( $period_interval, $withdrawal_schedule ) {
if( $withdrawal_schedule == 'hour' ) {
$period_interval = 1/24;
}
return $period_interval;
}, 50, 2 );
Add this code to your child theme’s functions.php
In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
Thank You
Hello,
Thanks. Now it sets every hour.
But I’ve noticed that withdrawals don’t work with Stripe. They are never approved automatically.Aand manually when I go to approve the withdrawal request it gives me the error “Withdrawal Requests partially processed, check log for more details.” I have checked the vendor payment information and I still receive this error. I have Woocommerce Stripe payment installed and I have reviewed API keys. I have followed your configuration guide but I don’t get it to work. What’s wrong?
Thanks
-
This reply was modified 6 years, 5 months ago by
fesaponet.
Please check at wp-admin -> WooCommerce -> Status -> Logs -> wcfm stripe log -> is any error generated during withdrawal process?
hello,
I checked it and I found the next message:
2020-01-05T00:13:24+00:00 ERROR #000017 – Stripe payment processing failed: Insufficient funds in Stripe account. In test mode, you can add funds to your available balance (bypassing your pending balance) by creating a charge with 4000 0000 0000 0077 as the card number. You can use the the /v1/balance endpoint to view your Stripe balance (for more details, see stripe.com/docs/api#balance).
I’ll do it and I’ll tell you if it fixes.
Thanks
Sure, please let me know.
Thanks for the update 🙂
Hi,
I added funds to stripe balance and it’s all rigth now.
Thanks
Great … Thanks for the update 😊