> For the complete documentation index, see [llms.txt](https://drsoft.gitbook.io/affiliates/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://drsoft.gitbook.io/affiliates/white-label/payment-gateways-set-up/avangate.md).

# Avangate

## Enable Avangate

Gateway URL: <https://www.2checkout.com>

### Enable IPN

Got to **Integrations** -> **IPN settings** ->**Add IPN URL** -> **Url will be** <https://ipn.YourDomain/ipn/avangate/> -> **Add IPN**, and check all the checkboxes in **Triggers** and **Response tags**

### **Enable LCN**

Got to **Integrations** -> **LCN settings** ->**Add LCN URL** -> **Url will be** <https://ipn.YourDomain/lcn/avangate/> -> **Add LCN**, and check licenses changes in **Triggers** and all checkboxes in **Notification details**

## **REQUIRED FIELDS**

### Avangate Checkout Receiver ID

Got to **Integrations** -> **API** -> **Merchant Code**

### **Avangate Checkout Secret Key**

Got to **Integrations** -> **API** -> **Secret Key** -> **Reveal it and copy**

### **Avangate Product ID 1 Month**

Go to **Setup** -> **Products** -> **Add product**\
**Product name** -> Billing cycle: 1 Month\
**Product code** -> empty\
**Product group** -> General\
**Product external reference** -> empty\
**Quantity** -> uncheck Customers can purchase more than 1 unit of this product.\
**Product type** -> Regular\
**Price** -> check This product does not have a base price\
**Billing cycle** -> select Months and write 1\
**Category** -> select from Internet -> Tools & Utilities\
**Platforms** -> Check all platforms\
**Download trial version** -> empty\
**On the redirected page** -> check Renewal price equal to initial purchase price -> click Update prices\
Go to **Fulfillment tab** -> check Fulfillment made by you -> click Save\
The **Product ID:** is the id you need

### **Avangate Product ID 3 Months**

Go to **Setup** -> **Products** -> **Add product**\
**Product name** -> Billing cycle: 3 Months\
**Product code** -> empty\
**Product group** -> General\
**Product external reference** -> empty\
**Quantity** -> uncheck Customers can purchase more than 1 unit of this product.\
**Product type** -> Regular\
**Price** -> check This product does not have a base price\
**Billing cycle** -> select Months and write 3\
**Category** -> select from Internet -> Tools & Utilities\
**Platforms** -> Check all platforms\
**Download trial version** -> empty\
**On the redirected page** -> check Renewal price equal to initial purchase price -> click Update prices\
Go to **Fulfillment tab** -> check Fulfillment made by you -> click Save\
The **Product ID:** is the id you need

### **Avangate Product ID 6 Months**

Go to **Setup** -> **Products** -> **Add product**\
**Product name** -> Billing cycle: 6 Months\
**Product code** -> empty\
**Product group** -> General\
**Product external reference** -> empty\
**Quantity** -> uncheck Customers can purchase more than 1 unit of this product.\
**Product type** -> Regular\
**Price** -> check This product does not have a base price\
**Billing cycle** -> select Months and write 6\
**Category** -> select from Internet -> Tools & Utilities\
**Platforms** -> Check all platforms\
**Download trial version** -> empty\
**On the redirected page** -> check Renewal price equal to initial purchase price -> click Update prices\
Go to **Fulfillment tab** -> check Fulfillment made by you -> click Save\
The **Product ID:** is the id you need

### **Avangate Product ID 12 Months**

Go to **Setup** -> **Products** -> **Add product**\
**Product name** -> Billing cycle: 12 Months\
**Product code** -> empty\
**Product group** -> General\
**Product external reference** -> empty\
**Quantity** -> uncheck Customers can purchase more than 1 unit of this product.\
**Product type** -> Regular\
**Price** -> check This product does not have a base price\
**Billing cycle** -> select Months and write 12\
**Category** -> select from Internet -> Tools & Utilities\
**Platforms** -> Check all platforms\
**Download trial version** -> empty\
**On the redirected page** -> check Renewal price equal to initial purchase price -> click Update prices\
Go to **Fulfillment tab** -> check Fulfillment made by you -> click Save\
The **Product ID:** is the id you need
