---
title: "OnePay Vietnam for HBook"
canonical: "https://maestrel-resource-center.refined.site/space/PGD/71336073/OnePay%20Vietnam%20for%20HBook"
format: markdown
---
## 1. Activate OnePay  as payment gateway

- Once you have activated OnePay  plugin, you need to **validate the licence** in **HBook > Licence**.
  
  
- Set OnePay as active payment gateways in **HBook > Payment > Active payment gateways.**

## 2. In HBook, add OnePay credentials

Set if you are in "Test" or "Live" mode in **HBook > Payment > OnePay Vietnam settings**.

- If you are in **Test** environment, there is no other settings needed

![onepayvn-test-settings.png](media://9d7b8d97-f08c-4ebf-b805-ab5a8dd42986)

- If you are in **Live **environment, you will need to add the following information that is communicated by OnePay: Merchant ID, Access code and Hash key.

![onepayvn-settings.png](media://15a3b6c6-a611-4908-a959-b686ddecabb1)

- You will need to set these for each **Domestic** and **International** payments.