Adding and Renewing a License (Web)

Tencent Effect offers various beauty filters and effects. To use the Tencent Effect SDK, you need to purchase a Tencent Effect package. For the billing details, see Pricing Overview.
After buying a package, you can use it to create a new license or extend the validity of an existing license in the Tencent Effect console. A web license can be bound to one domain and one Weixin Mini Program. This document shows you how to add an official web license, as well as how to renew an existing license.
You can apply for free trial licenses to try out Beauty AR Web features. For details, see Free Trial License.

Creating an official license

You get an official license by purchasing a package. The validity period of a license starts immediately after successful payment. To learn about the capabilities of different package editions, see Pricing Overview.
The detailed directions are as follows:
1. Go to Web Licenses of the Tencent Effect SDK console and click Create official license.



2. Select the package edition, enter the Project name, Domain, and Mini Program AppID, and click Next.
Note:
A Standard package can be bound to a single domain, while an Advanced package can be bound to a wildcard domain (if you bind a license to the wildcard domain *.tencent.com, Tencent Effect will be available to any domain that ends with .tencent.com, such as a.tencent.com and b.tencent.com).



3. Enter the Create official license interface, click Bind. Select the unbound Tencent Effect package, and click Create can then generate official license. If you don't have any packages to bind, go to the Purchase Page to buy a package.



Note:
Before you click Confirm, double-check the domain and Weixin Mini Program AppID. For official licenses, modifications are not allowed after binding.
4. Upon successful creation of an official license, the page will display the generated official license information. During the SDK initialization configuration, the License URL and License token must be entered. Please store the following information carefully.




Update official license valid period

You can log in to the Tencent Cloud's Tencent Effect SDK Console > Web License Management page to view the validity of the Tencent Effect official license. You can also subscribe to the audio-video terminal SDK under Message Subscription, and select Message Center/Email/SMS as the message receipt channel to get notified when the license is about to expire. Notifications will be sent out 32, 7, 3, and 1 days before the license expires, reminding you to renew it in time to ensure business continuity. If your Tencent Effect official license has expired, you can follow the steps below to renew it:
1. Select the license you want to renew and click Update validity in the Tencent Effect capability.



2. The acquisition method of the current license is Acquired through direct purchase. The validity can be extended through two methods: Renew the current license or Select another license resource to replace. The detailed steps are described as follows:
Note:
Resources with auto-renewal enabled do not support the license resource replacement method for renewal. If you want to change the validity period to that of another license, disable the auto-renewal function.



Renew the current license
Select another license resource to replace
1. Click Renew the current license, and click Update validity.



Note:
If you select Renew the current license:
When the license resource is within the valid period or has expired for less than seven days, according to Tencent Cloud's billing regulations, renewing for the current license is supported. After renewal, the valid period wil be refreshed to: current validity period + renewal duration.
When the license resource has expired for more than seven days, the original resource has been destroyed, and we wil purchase the same type of resource for you and automatically complete the replacement binding, After renewal, the valid period will be refreshed to: payment date + renewal duration.
2. On the renewal screen, set the Renewal period for your Tencent Effect license. Renewals are available with annual subscriptions. Click Confirm to extend the validity of the license.



1. Click Select another license resource to replace, and click Update validity.



2. On the Update validity page, click Bind, select an unbound Tencent Effect package (if no packages are available for binding, proceed to the Tencent Effect SDK purchase page to purchase a package), and click Confirm.
Note:
Currently, the valid period of the renewal package only supports the renewal of the same type of package. That is, if the bound license package type is Standard, then the renewal can only choose the Standard package for renewal. If you want to change the bound package type, you need to submit a service ticket or contact the business for processing.



3. Check the renewed validity period.
Note:
You cannot modify the information of an official license. If you want to use a package you purchased for a new application, click Create official license to bind it to a new application.

Auto-renewal

You can manage auto-renewal through Console and Billing center in 2 methods. The details are as follows.
Console
Billing center
A license acquired through the direct purchase mode supports the enabling of automatic renewal. License resources with automatic renewal enabled will be automatically renewed on an annual basis 3 days before expiration. Make sure your account has sufficient available balance before enabling automatic renewal. Otherwise, it may lead to a renewal failure and affect your usage.
Log in to the Tencent Cloud's Tencent Effect SDK Console > Web License Management management page and locate the license you wish to manage for automatic renewal:
1. Enable Auto-renewal.
1.1 In the Disabled status of the license Auto-renewal, click to Enable auto-renewal, and it will be automatically deducted and renewed annually three days before expiration.






1.2 Auto-renewal status changed to Enabled.



2. Disable Auto-renewal. The Auto-renewal of the license can be turned off in the Enabled status by click Disable. After it expires, it will no longer be automatically renewed.






You can navigate to Renewal Management to set resources to automatic renewal.
In the search box on the right, search for a Tencent Effect package, locate the target resource, and click Set to Auto-Renewal.