> For the complete documentation index, see [llms.txt](https://docs.goaffpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goaffpro.com/affiliate-commissions/advanced-settings/commission-for-recurring-payments/setup-connection-validity.md).

# Setup Connection Validity

**GoAffPro** provides you with the option to set up the customer-affiliate connection validity.

To set up the customer-affiliate connection validity, go to the **Extras** section in the **Settings** tab of the GoAffPro admin panel.

<figure><img src="/files/IHZtLm3TKGfROiXF1FN9" alt=""><figcaption><p>Settings > Extras</p></figcaption></figure>

Here, go to the Customer-Affiliate Connect section.

<figure><img src="/files/lX5O4czJEltvcq2WXejQ" alt=""><figcaption><p>Customer-Affiliate Connect</p></figcaption></figure>

Now, enable the "**Set connection expiration (in days)?**" option.&#x20;

<figure><img src="/files/Nd6f9pV1b1eQC4zCwWTV" alt=""><figcaption><p>Enable the "Set connection expiration (in days)?" option</p></figcaption></figure>

Next, set the connection validity.

{% hint style="info" %}
Leaving the "Connection expires after" field empty will set the connection validity to lifetime.
{% endhint %}

<figure><img src="/files/Wmc12DJQlzCLzVdPIFVy" alt=""><figcaption><p>Set the validity</p></figcaption></figure>

You also have the option to refresh the expiration time with the next order.&#x20;

<figure><img src="/files/r4r9K3xGZGevnUmFjYt9" alt=""><figcaption><p>Refresh expiration time with next order</p></figcaption></figure>

Finally, click on **Submit**.

<figure><img src="/files/7n2Duq1qHwSWIAJrZX3H" alt=""><figcaption><p>Click on Submit</p></figcaption></figure>

After this, the connections will automatically expire once the validity period ends.

<figure><img src="/files/39b2Meyv0td8hSTDsJ1L" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/a2x5tPG7MJA>" %}
Setup Connection Validity
{% endembed %}
