# In Frontend

Once you have successfully configured UBI Payment, you can see it enabled in frontend.

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

* Once you place order, it will redirect you to UBI Payment gateway where you are asked to enter payment details. Click next to go further.

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

* Once you have paid, you get success message.

<figure><img src="/files/CWWBuPDckvKZUQgUQzhf" 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-ubi-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.
