# 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


---

# 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://drsoft.gitbook.io/affiliates/white-label/payment-gateways-set-up/avangate.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.
