-
Notifications
You must be signed in to change notification settings - Fork 10
Description
I need to refactor the ways the affiliates feature works by instead using stripe connect so that I don't have to actually pay people myself. Use some of the same logic we already have in the system, but refactor to allow a user to connect their stripe account with their affiliate link and then when users purchase the course with their affiliate code, still give that 10% discount but also give the commission of the sale to the connected user. Make sure you handle how refunds might work so that a user can just keep doing referrals and then asking for refunds. If that's something i manually need to handle, then add functionality to allow an admin to disable a user and block them from being affiliates, revoke their code, and if a user tries to use the revoked code give them an error.