How it works
Tebex does not support inserting placeholders into downloadable files, so the delivery flow works differently to BuiltByBit and Voxel Shop (Polymart). When a user completes a purchase on your Tebex store, Tebex tells MC License. MC License then creates a license key for that user and emails it directly to the email address they used at checkout. The license becomes an MC License managed license, meaning you can view, modify, and revoke it from your dashboard at any time. This means that no intervention is required on your part to manage licenses, nor on the user’s part to request their license key. From the moment a user purchases your resource, they will have a license key ready to use in their email inbox.Setup
Firstly, head to https://creator.tebex.io/webhooks, copy your webhook secret key, and paste it into the Keys page on the dashboard. It will look like this: Next, copy the Endpoint generated by MC License. It will look like this:https://api.mclicense.org/tebex/[userid]
In the same webhooks page, click Add Endpoint. Paste the URL and ensure Payment Completed is type is checked.
Integration
Create a plugin using your intended Tebex Package ID in the dashboard.Integration into your code is the exact same as the standard license check.

