# Frontend display of payment restriction based on Shipping

Store frontend display of payment method restriction with flat rate shipping method in your Magento 2 store.

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

Frontend display where the restricted payment methods will not be displayed on the frontend of your Magento 2 store.

<figure><img src="/files/6UoML9Tef6WbYuRAGmKo" alt=""><figcaption></figcaption></figure>

Frontend display example of not restricted payment method.

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

**If anything goes wrong, please contact us at** [**support@magecomp.com**](mailto:support@magecomp.com)


---

# 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-restrict-payment-based-on-shipping/frontend-display-of-payment-restriction-based-on-shipping.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.
