Using PayPal Payouts you can pay your instructor their commissions directly from your website instantly.
Creating a new API Application
We are making use of PayPal’s Payouts API to send money to your instructors and to do that you will need to first create an API Application.
Login to PayPal using your normal credentials and then visit My Apps of the PayPal Developer portal to create a new API Application.
Don’t worry, you do not need to be a developer to create the application. It is simply a set of credentials which will help the plugin send payment requests to PayPal on your behalf.
When you visit the My Apps & Credentials screen you will see the following screen
Click on Create App under the REST API apps section to create a new app. You can start with a Sandbox account to test how the application works.
Enter WISDM Instructor Role Payouts as the App name and either keep the default sandbox account selected or select another one if you have and then click on Create App.
Once you have created the App you can click on its name anytime to view its details.
Once you are done with your sandbox testing you can follow the same procedure for creating a live API application. Simply toggle to Live instead of Sandbox in the first step.
As a last step you will need to enable Live Payouts permission from the My Account page on your PayPal Developer Dashboard.
Configuring Instructor Payout Settings
Now that the API application is set up on your PayPal account, login to your website as admin and visit LearnDash LMS ➔ Instructor ➔ PayPal Payouts
Configure all the necessary settings and click on save to save them.
Instructors need to save their PayPal email addresses from the Instructor Dashboard by accessing the Profile section.
Pay Instructor Commissions using Payouts
Once all the settings are configured and saved, the admin can pay instructor commissions using PayPal payouts from the LearnDash LMS ➔ Instructor ➔ Commission Report Page.
Select an instructor and click on submit to view their commission report.
If there are any commissions to be paid, you will see a Pay button next to the unpaid earnings section.
Click on the Pay button to open the transaction popup box. You will see there is a new Payment method setting added which can be used to select the type of the commission transaction.
Select Paypal Payout as the Payout Method and you will see the PayPal Payout email address of the instructor to whom the payment will be sent.
The Payout email address is fetched from the configuration saved by the instructor.
Enter the amount you wish to pay and then click on Pay to complete the transaction.
You will get a success message if the payout completes successfully and an error if there are any problems while making the transaction.
Note: For sandbox transactions, the actual commission details will not be updated.
To send payouts, you’ll need:
- A PayPal business account
- Access to PayPal Payouts
- A confirmed identity, email, and bank account linked to your PayPal business account
- Sufficient funds in your PayPal business account
- Every payout carries a transaction fee which you will have to pay in order to make the payouts
so please go through the PayPal Payouts documentation once before starting