> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-razorpay-payment-gateway/configuration.md).

# Configuration

Once you have successfully installed the extension and received keys from Razorpay, go to **Stores -> Configuration -> Sales -> Payment Methods -> Razorpay Payment Gateway** to configure the extension for use. Here you can find various settings for the Razorpay payment method to configure.

<figure><img src="/files/GNvDuGxBaA4ZTPEk5qJ8" alt=""><figcaption></figcaption></figure>

* **Enabled -** Set Yes to enable Razorpay Payment Gateway extension.
* **Select Checkout Type -** Select the Razorpay checkout type as redirect or pop-up.
* **Title -** Enter the Razorpay payment method title to show in the front end.&#x20;
* **Merchant Name -** Enter the Merchant Name from the Razorpay Payment account dashboard.
* **API Key -** Enter the API Key generated from the Razorpay Payment account.
* **API Secret Key -** Enter the API Secret Key generated from the Razorpay Payment account.
* **Redirection Page Title -** Enter the page title when redirected to the Razorpay payment page. (For redirect checkout type)
* **Redirection Page Description -** Enter the page description when redirected to the Razorpay payment page. (For redirect checkout type)
* **Popup Theme Color -** Set the color of the Razorpay payment popup. (For popup checkout type)
* **Webhook Enabled -** Select Yes to enable Webhook for Razorpay.
* **Webhook Secret -** Enter the Webhook secret that you entered while setting up the Webhook from the Razorpay dashboard.
* **Payment from Applicable Countries -** Select all or specific countries for Razorpay payment.
* **Payment from Specific Countries -** If you have selected the Specific Countries option in the above field, here you need to select one or more countries for Razorpay payment.
* **Sort Order -** Set the order of the Razorpay payment method in the frontend.
* **Enable Debug Mode -** Enable or Disable debug mode from here.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.magecomp.com/magento-2-razorpay-payment-gateway/configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
