# Subscriptions

## 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%2F5kAHthlol1tvXQa8ONHU%2F0af680f0333b2cd458fdf286aa1898a6.png?alt=media&#x26;token=30811dcf-b42b-42fb-bd74-b3922117d5c6" alt=""><figcaption><p>Screenshot from My Products</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%2FOPxxF1kKArIO6Q1j8e4q%2F4c0ad65012d584586626ea80e61a2356.png?alt=media&#x26;token=feeedfe5-0feb-4eb4-adda-85fe990acf8c" alt=""><figcaption><p>Screenshot from product editor</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](https://docs.tip4serv.com/store-setup/product-expiration)
{% 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%2Ftaf42nlquytpBtJnIuXV%2F1f65d581f75b20c67bf3e888fec06031.png?alt=media&#x26;token=4d27d19e-7afe-4663-babb-a8915bff43f7" alt=""><figcaption><p>Screenshot from product editor</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%2F6bK4pUpkGLB2SVNkGGY5%2F200d5f1052d27bc11c57573c88541ab0.png?alt=media&#x26;token=c6c6bea1-6ef7-4b26-b0de-07b5cd248f8b" alt=""><figcaption><p>Screenshot from product editor</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%2FSWiBeEmpC6LjhKu4sRBA%2Feaafae600ba143925718982b40dc3951.png?alt=media&#x26;token=425d8b49-3cdd-47d2-b78a-053649f83772" alt=""><figcaption><p>Screenshot from product editor</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tip4serv.com/store-setup/subscriptions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
