# 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="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FxeFogDVmMobsW1YMauul%2FConfiguration.png?alt=media&#x26;token=f58bb02a-a8c6-4cb3-85e2-09e42a77250a" 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.
