This video is made for the WordPress plugin, which helps PaidMebershipPro admins to set up the plugin.

  • Create an application inside your discord account: URL: https://discord.com/developers/applications
  • Click the `OAuth2` link at your left-hand side navigation panel
  • Copy the client-id
  • Copy the secret
  • If the paidmembershippro plugin is already installed and pages are created you will see `Redirect URL` in the plugin settings, copy the profile URL and paste in the `Redirect URL` setting of the discord account.
  • Save your details at this stage.
  • Again see your Left hand side navigation panel and see `Bot`
  • Upon creating the bot copy the `Bot Token` and paste it inside WP plugin settings.
  • Now you need to get the Guild ID of your server, for this, you need to go under `User Settings` -> `Advanced` -> `Enable Developer Mode`.
  • Now you can right-click on the left-hand side of your screen and see at the bottom of the panel you will see `Copy ID`, this is your Guild ID
  • When all settings are provided, a button with the text `Connect Your Bot` will appear.
  • Click on it and you will be redirected to the Discord page.
  • Remember you need to select only that server on this page of which guild ID you copied in the above stage.
  • Click connect and you are connected !! Hurray.

This plugin provides the following features:

  1. Allow any member to connect their discord account with their PaidMebershipPro membership account.
  2. Members will be assigned roles in discord as per their membership level.
  3. Member’s roles can be changed/remove from the admin of the site.
  4. Member’s roles will be updated when membership expires.
  5. Member’s roles will be updated when membership canceled.
  6. Admin can decide what default role to be given to all members upon connecting their discord to their membership account.
  7. Admin can decide if membership should stay in their discord server when membership expires or is canceled.
  8. Admin can decide what default role to be assigned when membership is canceled or expire.