Setup
1. Install the module
Upload the EnvatoIntegration folder to your modules/ directory, then activate it from Admin → Modules.
Running migrations is handled automatically on activation.
2. Create an Envato Personal Token
A personal token lets ChargePanda verify purchase codes on your behalf.
- Go to build.envato.com.
- Give the token a name (e.g. "ChargePanda").
- Under Permissions, enable:
- "View your items' sales history" — required to verify purchase codes.
- Click Create Token and copy the token.
Paste it into Admin → Envato Integration → Personal API Token.
3. Create an Envato OAuth App (optional — for "Sign in with Envato")
Only needed if you want the OAuth login button.
- Go to build.envato.com/my-apps.
- Click Create a new app.
- Set Redirect URI to exactly:
https://yourdomain.com/auth/envato/callback- Under Permissions, enable all of the following:
- View and search Envato sites
- View the user's Envato Account username
- View the user's email address
- View the user's account profile details
- List purchases the user has made — required for the auto-claim feature; without it, automatic license issuance after OAuth login will not work.
- Copy the App ID (client ID) and Secret Key (client secret).
- In ChargePanda, go to Admin → Settings → Social Logins → Envato and enter the App ID and Secret Key.
4. Enable the module
In Admin → Envato Integration:
- Set Enable Envato Integration → Yes.
- Choose which entry points to enable (OAuth login, auto-claim, and/or the account-page section).
Customers must be logged in to claim licenses. There is no anonymous/guest claim page.
5. Map your items
Go to Admin → Envato Items and create mappings so the system knows which ChargePanda product each Envato item corresponds to.