How can I do with paypal and paypal plugin to share the payment of each course from the student to the teacher contributor (90% of the price of the course) and e-learning moodle platform (10% of the price of the course) ?
I really hacky way to do this is to swap out the account receiving the payment, every 10th payment. You would still need to clone->edit the stripe or paypal plugins.
Personally I would just accept all payments and do a monthly payout to teachers though. Then you would not have to code anything at all.