> 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/set-connection-validity-with-sales.md).

# Set Connection Validity with Sales

**GoAffPro** provides you with the option to set the customer-affiliate connection validity with sales.&#x20;

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

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F1e56gaJqJPCQqdQa8OY7%2Fimage.png?alt=media&amp;token=064a5ec6-731c-4326-8047-1f52bcb7d358" alt=""><figcaption><p>Settings > Extras</p></figcaption></figure>

Here, go to the Customer-Affiliate Connect section.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FFBoknROJcTRwTdIGiuyS%2Fimage.png?alt=media&amp;token=38e3c7ec-bd54-49ef-b0f4-98181b24e5fc" alt=""><figcaption><p>Customer-Affiliate Connect</p></figcaption></figure>

Now, enable the "**Set connection expiration based on number of orders?**" option.&#x20;

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FJuDsb0g8zPrNTamMRiDK%2FScreenshot%202026-05-19%20000831.png?alt=media&amp;token=195dd6bc-a58a-4e92-b658-b3c4c8e47268" alt=""><figcaption><p>Enable the "Set connection expiration based on number of orders?" option</p></figcaption></figure>

Next, set the connection validity with sales.

{% hint style="info" %}
For example, if you set the validity as five sales, then the customer-affiliate connection will expire after five sales of the connected customer.&#x20;
{% endhint %}

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FLGHlik3VMnNXe0URIuF1%2FScreenshot%202026-05-19%200008352.png?alt=media&amp;token=235c7676-4d09-42ec-8cc7-c92af73f4b1e" alt=""><figcaption><p>Set the connection validity with sales</p></figcaption></figure>

Finally, click on **Submit**.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FALHOcdEfICj6yUWDkXiS%2FScreenshot%202026-05-19%200008392.png?alt=media&amp;token=6d60c90d-fe30-4ffc-8e6f-4652ad439f86" alt=""><figcaption><p>Click on Submit</p></figcaption></figure>

After this, the connection will automatically expire after the set number of sales is reached.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2Fe2MhSQYqQeGKib5rLLcD%2Fimage.png?alt=media&amp;token=33ee2332-e0dd-4324-ae62-c4ccad5bfd69" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/wkNyHJdAWH0>" %}
Set Connection Validity with Sales
{% endembed %}
