> For the complete documentation index, see [llms.txt](https://huongdan.cnvloyalty.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://huongdan.cnvloyalty.com/tinh-nang/cau-hinh/thanh-toan/tich-hop-payon.md).

# Tích hợp PayOn

## Những điều cần lưu ý

1. Cần **kiểm tra kỹ** và **nhập đúng** các thông tin kết nối PayOn ở Loyalty Hub
2. Sau khi kết nối, vui lòng **không thay đổi thông tin** trong quá trình CNV đồng bộ dữ liệu
3. Tài khoản kết nối phải là Admin của Loyalty Hub

## Kết nối với PayOn

### Bước 1: Lấy thông tin kết nối ở PayOn

### 1. Doanh nghiệp chưa có tài khoản PayOn

1. Doanh nghiệp [đăng ký sử dụng dịch vụ PayOn](https://forms.gle/RCFRm5EEgWCVieS37)
2. NextPay tư vấn: thủ tục, phí, phương thức thanh toán,...
3. PayOn tiến hành ký hợp đồng với doanh nghiệp

### 2. Doanh nghiệp đã có tài khoản PayOn

* [Đăng nhập PayOn](https://payon.vn/user/login)

![](/files/-MfCUHEsOC0pvo0o_HcZ)

* Đọc và đồng ý với các điều khoản dịch vụ/chính sách
* Chọn *Tôi đồng ý sử dụng dịch vụ*

![](/files/-MfCWHCxhAr30ouR41UI)

* Cài đặt đường dẫn (link) nhận thanh toán ➝ Tạo link

![](/files/-MfC_P8LmsHtlprRsnaj)

{% hint style="success" %}
Tạo link thật đơn giản dễ nhớ và gửi cho người mua để nhận thanh toán
{% endhint %}

* Cài đặt link shop
  * Tên cửa hàng **(bắt buộc)**
  * Hotline: số điện thoại đường dây nóng
  * Mô tả doanh nghiệp của bạn
* Chọn Cập nhật

![](/files/-MfCg8a1xKAqmWK2w7af)

### 3. Lấy thông tin kết nối

* [Truy cập PayOn](https://payon.vn/dashboard)
* Chọn Menu

![](/files/-Mg9OA8PDBGNOu7DMB1S)

* Chọn Tích hợp thanh toán

![](/files/-MflyzizTD-Amsy2DIfx)

* Chọn Thông tin kết nối

![](/files/-MflzD_tIf_34XOcPG1D)

* Lấy thông tin
  * ID Merchant
  * Application ID: App ID
  * Secret Key: Mc Secret Key

![](/files/-MfvTjLu6UTO5BRm_eb7)

### Bước 2: Vào Cấu hình ➝ Thanh toán

![](/files/-MfIAgKfepFWOkFsUPcI)

### Bước 3: Thêm PayOn

1. Chọn *+ Thêm cổng thanh toán* ➝ chọn :heavy\_plus\_sign:

![](/files/-MfCkHUUq_SLbTBKF37o)

### Bước 4: Chọn phương thức thanh toán

1. Chọn Kết nối
2. Chọn phương thức thanh toán ➝ Thanh toán online qua cổng PayOn

![](/files/-MfI34xa_6XahSqYP0Pr)

### Bước 5: Nhập thông tin đã lấy ở bước 1

* Tên phương thức: tên phương thức thanh toán
* Merchant ID
* App ID: Application ID
* Mc Secret Key: Secret Key

![](/files/-MfvXwvd3-0tlSvD9lAk)

### Bước 6: Chọn Môi trường thử nghiệm (nếu có)

* Nhập địa chỉ Email để kiểm tra kết nối giữa Loyalty Hub với PayOn

![](/files/-Mg5jeA7NEBFTLhO2tCj)

### Bước 7: Kích hoạt PayOn

![](/files/-Mg5jIjdrYPIKkH9i8jo)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://huongdan.cnvloyalty.com/tinh-nang/cau-hinh/thanh-toan/tich-hop-payon.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
