> For the complete documentation index, see [llms.txt](https://docs.tip4serv.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tip4serv.com/product-setup/subscriptions.md).

# Subscriptions

Create auto-renewing or one-time subscriptions with expiration commands

## 1. My products

Go to [MY PRODUCTS](https://tip4serv.com/dashboard/my-products) and **ADD** or **EDIT** a product

<figure><img src="https://2187496599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrJFlpzFF4M0XjvFfIMsk%2Fuploads%2Fz2DYrxOk1MZRchVrz5PQ%2FeSxffIpq0k.png?alt=media&amp;token=b69b8257-c661-4123-8eb5-2b6db1ccd6a6" alt="Products page"><figcaption><p>Products page</p></figcaption></figure>

## 2. Enable subscription&#x20;

Click on **Subscription** then choose **Charge every** or **Expire after**.

Choose the duration of the cycle between each payment, for example every 3 days, every 3 months, every 1 month.

<figure><img src="https://2187496599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrJFlpzFF4M0XjvFfIMsk%2Fuploads%2FWMQthgnQwTgwAeSBWj3X%2Fbrave_Q6IwPe0utL.png?alt=media&amp;token=00a0f3d2-e7eb-4fc3-909b-0979812c7184" alt="Subscriptions category"><figcaption><p>Subscriptions category</p></figcaption></figure>

### Subscription type

{% tabs %}
{% tab title="Charge every" %}
The subscription will automatically renew according to the cycle you have configured.

**Example:** If you have chosen a 3 month cycle and the customer subscribes and makes their first payment on April 5th, his next payment will be on June 5th.
{% endtab %}

{% tab title="Expire after" %}
It is no longer a subscription but a one-time payment. This option allows you to set up expiration commands without the customer being charged each cycle.&#x20;

Expiration commands will be executed at the end of the first cycle.

[Learn more](/product-setup/product-expiration.md)
{% endtab %}
{% endtabs %}

## 2. Product editor

Click on **Add Discord or game server** button and click on a server

<figure><img src="https://2187496599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrJFlpzFF4M0XjvFfIMsk%2Fuploads%2FoWWjykKzSuKGj46V9JKe%2FOUKkZETSx6.png?alt=media&amp;token=40a11f74-653b-4ffc-92cc-b7a70668348e" alt="Adding a discord/game server"><figcaption><p>Adding a discord/game server</p></figcaption></figure>

## 3. Commands editor

**For a game server:**&#x20;

Enter the commands that should run on your server after first payment, after each renewal payment and when subscription expire.

<figure><img src="https://2187496599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrJFlpzFF4M0XjvFfIMsk%2Fuploads%2FaSqNacPFaNLXRKPsTzL4%2Fbrave_OjxEgJooll.png?alt=media&amp;token=41f68676-9a8b-4f8c-8c04-5e813f5e3db3" alt="Product editor for game server"><figcaption><p>Product editor for game server</p></figcaption></figure>

**For a Discord server:** Choose the roles to give after first payment. Enter a private message or disable it. You can also add a channel message.

Then you can add a channel message after each renewal payment.

Finally, you can delete the role when subscription expire.

<figure><img src="https://2187496599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrJFlpzFF4M0XjvFfIMsk%2Fuploads%2FEl9SZO7R5AjYpTtDC1JK%2Fbrave_XD9WRq3r2l.png?alt=media&amp;token=112e5e89-ed35-413d-9aaa-f2cddd1d4a9e" alt="Product editor for discord"><figcaption><p>Product editor for game server</p></figcaption></figure>
