Payout

Statistics and Payout addon is required.

The website owner can use the PayPal payment for automated payout. Click to the Gear icon to configure PayPal settings.

In the PayPal payout settings, you need to fill up the needed fields by creating a new Application from the PayPal developers page. You need to get Client ID and Secret key to add it to the PayPal settings.

Also, you need to add a webhook by adding the webhook URL like below:

https://yoursite.com/payment/paypal/web-hook/

In order to automate Payouts, you can use Cron Jobs on your server/site. First, you need to edit the wp-config.php file and paste the following line of code anywhere above the line that says "That’s all, stop editing! Happy blogging":

define(‘ALLOW_UNFILTERED_UPLOADS’, true);

After that, you need to add a cron job from the cron tab in your hosting.

Example: Cron At 00:00 on day-of-month 1. 0 0 1 * * wget -O /dev/null https://yoursite.com/wp-cron.php?doing_wp_cron

Here are some manuals for adding cron jobs: cPanel - https://www.youtube.com/watch?v=YwpUjz1tMbA Vesta CP - https://www.plothost.com/kb/create-delete-cron-jobs-vesta/ Kinsta Hosting - https://kinsta.com/knowledgebase/how-to-write-a-cron-job/