# Payment Gateway

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2F0XdcG6lOwbQdgzdaoHdA%2Fimage.png?alt=media&#x26;token=0bda33a1-8719-4d6d-9244-3d0f7e15d479" alt=""><figcaption></figcaption></figure>

* **Enable –** Enable/Disable extra fees on payment methods.
* **Payment Methods –** Select the payment methods to apply extra fees.
* **Payment Extra Fee Type –** Select the type of extra fee for payment methods from fixed, percentage, combined, or fixed minimum.
* **Payment Cost –** Set the extra fee amount depending on the type selected in the above field.
* **Payment Extra Fee Title –** Set custom title for payment method extra fee.
* **Apply Group Filter –** Set Yes if you want to charge payment method extra fee only from specific customer groups.
* **Only for Customer Groups –** Select the customer groups for payment method extra fee.

You can see that the payment method extra fee is applicable in the front end as per your backend settings.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FKwr9sXrrmH7OR4kOBjmW%2Fimage.png?alt=media&#x26;token=4494b645-1ebe-4f41-832c-a9943abb4c84" alt=""><figcaption></figcaption></figure>


---

# 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://docs.magecomp.com/magento-2-extra-fee-extension-pro/payment-gateway.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.
