This article is also available in:

How to integrate DRM with Hotmart?

Learn How to Integrate Our DRM into Your Courses on the Hotmart Platform



In this article, we will explain the necessary steps to set up our DRM functionality on the Hotmart platform. If you are not yet familiar with our DRM, how to create groups, and the possibilities it offers, we recommend reading this article about DRM and its basic functionalities. Once you're aware of the possibilities we offer with DRM, let's move on to the step-by-step guide.

How to Set Up DRM with the Hotmart Members Platform



First, you need to create a group and include the videos or lessons where you want DRM enabled. Groups are created with default settings, allowing immediate use, but you have full customization options.

Note: The cost of DRM is R$2.90/GB. In this article, we explain in detail how the DRM charges work. The amount billed depends on the percentage set in your Screen Time configuration, as explained here.

Here you will find the main settings for integration. Feel free to name the group as you wish. After that, select the platform, which for this tutorial will be Hotmart.

We recommend opening a new tab in your browser while keeping the Panda Video page open. The following steps will require you to switch back and forth between the Panda Video configuration page and the Hotmart platform.

Next, go to the Hotmart platform and log in. Once logged in, find the Tools option in the left-hand menu. On the page that loads, scroll down and select Webhook.

On the Webhook page, find the Authentication tab. Here, locate the Verification Hottok field. Copy the secret key from this field and return to the configuration page on Panda. Paste this value into the Verification Token field in the DRM group configuration modal.

After that, return to the Webhook configuration page on Hotmart, find the Register Webhook** button at the top right, and click on it. A modal will open asking for: "Configuration Name," "Product," "URL for Data Submission," "Version," and "Events to Send." Fill these fields according to your needs by entering a name for this webhook and selecting the products registered on the platform where you want DRM security enabled.**

The URL requested by this modal can be found on the Panda Video DRM configuration page. Return to the Panda Video page, locate the Integration URL field in the DRM group configuration modal, and copy it (use the copy icon or copy manually).

Return to the configuration page on the Hotmart platform and paste the URL into the URL for Data Submission field. You can leave the Version as recommended by the platform. For Events to Send, select: Complete Purchase, Canceled Purchase, and Expired Purchase.

Save and wait for confirmation from the platform. Once saved, a new modal for test submissions will open automatically. Keep this modal open to run verification tests to ensure the platforms are communicating and the webhook is functional.

Now you can return to Panda Video and finalize the default configuration adjustments if necessary. Otherwise, click Save. Wait for the process to complete. A session will now open indicating the success of the configuration and prompting you to run a verification test.

If you left the modal open on the Hotmart platform, go back to the Hotmart page and click Send Test—a new modal will open. Click Send Test again.

If you closed the verification test modal on Hotmart, you can reopen it by clicking Send Test from the webhooks list.

Wait for the confirmation of submission on the Hotmart platform. Afterward, return to Panda and click Confirm Webhook. If everything is correct, you will receive a success message. Since this is a server-to-server request, there might be a slight delay between submission and receipt. If you notice an unusual delay, contact support for assistance.

At this point, your DRM is configured. To activate the group definitively, go to the Advanced tab and click Activate Feature, and you're done! The group is now protected with DRM and ready to use. If you have any questions about the configurations available for your group, read this article.

Did you enjoy this tutorial? Any questions?



Feel free to contact our support chat, and our team will do their best to assist you. Already using Panda Video? If not, know that both our player and our prices are unbeatable. Check out our plans—you might find one that fits your product, and as a bonus, you’ll join the Panda family. 🐼

Updated on: 11/26/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!