# Tích hợp AlePay

## 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 AlePay ở 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 AlePay

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

1. [Đăng ký AlePay](https://alepay.vn/user#/register)
2. Kích hoạt tài khoản AlePay qua email đã đăng ký
3. [Liên hệ AlePay](https://alepay.vn/index#/alepay) xác thực tài khoản và ký hợp đồng
4. AlePay sẽ cung cấp thông tin
   * Token Key
   * Encrypt Key
   * Checksum Key

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

![](/files/-MfIAdIIXc2AKODnJa-C)

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

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

![](/files/-MfIBrhMX8k0Ytu05udb)

### Bước 4: Chọn Phương thức thanh toán&#x20;

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

![](/files/-MfIEBrjS4YZQR3i4TJ9)

### 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
* Token Key
* Encrypt Key
* Checksum Key

![](/files/-Mg5kCPzgZLXiAQtC5Ld)

### 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 AlePay

![](/files/-Mg5l1nlH5DS49o12tw2)

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

![](/files/-Mg5kj4gbH7QB0RI8LGv)


---

# 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://huongdan.cnvloyalty.com/tinh-nang/cau-hinh/thanh-toan/tich-hop-alepay.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.
