# Payment Gateway

<figure><img src="https://2641250035-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgaBspD43q4t10IJ2CD8%2Fuploads%2Fx3AkPpovnkBEzKvwdmyA%2F2025-06-03%2014.05.52.jpg?alt=media&#x26;token=d2365429-84fa-47da-b01b-e42831858a8f" alt="" width="375"><figcaption></figcaption></figure>

1. Customer makes a purchase on the E-commerce Website and makes an Online Payment for the Order
2. E-commerce website establishes a payment request to GALAXY PAY and redirects customers to GALAXY PAY Secure Page with endpoint URL.
3. GALAXY PAY processes Payment requests sent by e-commerce website. Customers proceed to enter the required information to make payment.
4. The customer enters information to verify the customer's account and authenticate the transaction.
5. Successful transaction at the Service Provider, GALAXY PAY proceed:
   * Redirect customers to e-commerce website (Result URL)
   * Notify the E-commerce website of the customer's payment results through the IPN URL. Merchant updates GALAXY PAY payment results sent at this URL
6. Merchant displays transaction results to customers


---

# 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.galaxypay.vn/upc/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.
