# Connect Payoo

Accept cards, bank accounts, QR and the Payoo wallet in Vietnam: sign a Payoo contract, add your shop details and checksum key, and choose which methods to offer.

Source: https://support.rework.com/article/commerce-connect-payoo

> **In plain words:** **Payoo** is a Vietnamese payment gateway that offers several methods on one page: international and domestic cards, the Payoo wallet, QR codes, installments and paying at a store. Payoo gives you shop details and a **checksum key** that signs every message. You give Payoo a **notification URL** where it reports each payment. New to the payment words used here? See [Payment accounts](https://support.rework.com/article/commerce-payment-accounts) and [Commerce basics](https://support.rework.com/article/commerce-basics).

**Where to find it:** Commerce > left icon rail > **Settings** > **Accounts & integrations** > **Payment accounts**. **Who can use it:** workspace admins.

## Before you start

- A signed contract with Payoo. There is no self-service sign-up: contact Payoo Business through [payoo.vn](https://www.payoo.vn/).
  
- The web domain your customers pay from, registered with Payoo.
  
- A payment service in Commerce. See [Services](https://support.rework.com/article/commerce-services).
  
- Records priced in VND.
  

## Give Payoo your notification URL

1. In Commerce, open **New account** > **Payoo** and click **View guideline**.
   
2. Copy the **Notification URL (IPN)**.
   
3. Send it to Payoo and ask them to allow it, so their servers can reach it.
   

## Get your credentials

Payoo sends you:

- your **business wallet username** (for example `SB_Shop_Demo` in testing),
  
- a **Shop ID** for each registered website,
  
- a **checksum key**,
  
- optionally a **Business API** username, password and signature. These turn on **Sync** and remote **Cancel** in Commerce. Payments work without them.
  

## Add the account in Commerce

1. In Commerce, click **Settings** at the bottom of the left icon rail. Under **Accounts & integrations**, click **Payment accounts**.
   
2. Click **New account**. The **New payment account** dialog opens.
   
3. Under **Payment gateways**, click **Payoo**. The form **New Payoo account** opens.
   
4. Type a **Name** your team will recognise, for example "Payoo main".
   
5. Fill in the fields from the steps above. For Payoo these are **Business wallet username**, **Shop ID**, **Shop domain** (it must match the domain registered with Payoo, for example https://shop.example.com) and **Checksum key**, all required. **Shop title**, the three **Business API** fields and **Payment methods** are optional.
   
6. Optionally add **Owners**: people who are not admins but may manage this account.
   
7. Click **Create account**. The account appears in the table with the status **Enabled**.
   

![The New Payoo account form](https://storage.googleapis.com/reworkv3-public/success/261011/HqUoD9B9xTYTmsasJZIZyZMOEAs6SQyhZWaAdqLNaGuWKluZzPEHpwO5rx4Fymwm/img.hkHeoP3WKseWrSsQYPtHQVCo3pWlxb3S8wfMteVSiKbAkwL7QmaJgaUjuoxnzi2f.png)

Secret fields are hidden after saving. The table shows only their last four characters. To change one later, open the account with **Edit** and type the new value. Leave a secret blank to keep the stored one.

> **Note:** The subtitle at the top of **Payment accounts** says **Live environment** or **Sandbox environment**. Use the provider's live keys in a live workspace and its test keys in a sandbox workspace.

## Let customers pay with it

An account does nothing until a **Payment service** uses it. A payment service is the folder of payments that your quotes, orders and invoices collect through. See [Payment accounts](https://support.rework.com/article/commerce-payment-accounts) for how the pieces fit.

1. Click **Payment** in the left icon rail, then the payment service in the sidebar.
   
2. Click **Service settings** at the bottom of the sidebar.
   
3. Under **Operations**, click **Payment accounts**.
   
4. Turn on **Online gateways** if it is off, then tick your **Payoo** account.
   
5. Click **Save payment accounts**.
   

## What your customer sees

When a customer clicks **Pay** on a quote, invoice or payment link, they see **Pay with Payoo** and a **Pay** button with the amount. A note explains that they are taken to Payoo's own secure page, so their card or wallet details never reach your workspace.

After paying they return to a page that says "Waiting for the payment result" and then **Payment received**. Payoo confirms the payment to Commerce in the background, and the invoice or quote shows as paid. Each attempt is listed under **Payment** > **Checkouts**. See [Online checkouts](https://support.rework.com/article/commerce-checkouts).

### Choose which methods to offer

In the account form, **Payment methods** lets you limit what Payoo shows: **International cards**, **Domestic cards**, **Payoo wallet**, **Installments**, **QR code** and **Pay at store**. With none selected, every method enabled on your Payoo account is offered. A method also has to be enabled on your Payoo account to appear.

## Limits to know

- VND only.
  
- Payoo checks that payments come from the **Shop domain** you registered. A different domain is refused.
  
- Test and live credentials are separate. To go live, Payoo sends go-live details; ask your Rework administrator to switch the workspace to live with them.
  

## Troubleshooting

| 
Problem

 | 

Why it happens

 | 

What to do

 |
| --- | --- | --- |
| 

Payoo refuses the payment with a domain error

 | 

The **Shop domain** does not match the one registered with Payoo

 | 

Correct **Shop domain**, or ask Payoo to register your domain

 |
| 

A method is missing on the Payoo page

 | 

It is not enabled on your Payoo account, or not ticked in **Payment methods**

 | 

Check both

 |
| 

The provider is not offered at checkout

 | 

The account is not attached to the payment service, or it is **Disabled**

 | 

Tick it under **Online gateways** in the service's **Payment accounts** settings, and check its status is **Enabled**

 |
| 

A field shows "Stored ••1234, leave blank to keep."

 | 

The secret is saved and hidden on purpose

 | 

Leave it blank to keep it, or type a new value to replace it

 |
