# In Frontend

Once you have successfully configured HDFC Payment Gateway, you can see it enabled in the frontend.

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

* When you click on place order, it will redirect you to the HDFC SmartGATEWAY, where you are asked to enter payment details.

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

* Once you fill up the details, it will open a pop-up asking you to select a channel to receive OTP.

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

* Enter OTP and confirm the payment.

<figure><img src="/files/abBcDBocM8SnYY7nQO5W" 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-hdfc-payment-gateway-extension/in-frontend.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.
