How to make a payment with Zalopay

Requirements

This tutorial requires the installation of the following applications/modules:

Install the ZaloPay module

Viindoo Enterprise Management Software provides an online payment solution via ZaloPay. To install the module, go to Apps, and enter the keyword “zalo” in the search bar. Select the ZaloPay Online Payment module and click Install.

install Zalopay module

After completing the installation, ZaloPay will appear in the Payment Acquirer list and you can set payment information (ID, Secret Key, etc.).

Zalopay online payment

Note

This article uses the Test mode to take steps in payment.

Configure the payment information

To make an online payment via ZaloPay, the seller has to register an account with ZaloPay before setting Viindoo system.

Go to Accounting > Configuration > Payment Acquirers, select ZaloPay to set up information.

Details:

  • ZaloPay App ID: the identifier of the ZaloPay app during the payment.

  • Secret key 1: this is used to generate authentication data for sales orders.

  • Secret key 2: this is used to authenticate data sent by the Zalo server.

Note

You can refer to how to create and configure a Zalo account at How to configure your ZaloPay account? in the Credentials tab.

configuration of ZaloPay payment

Click Save to complete setting up the link between ZaloPay payment and the Viindoo system.

Payment via ZaloPay

As a customer , to purchase goods and pay online via ZaloPay, the customer has to install the ZaloPay application on his/her device. Then create an account and top up the wallet.

For example, you create an sales order and proceed to checkout. At the Payment step, select ZaloPay. The system redirects you to the payment page of ZaloPay.

Customer process the payment

Choose to pay via ZaloPay.

Choose to pay via ZaloPay

Use your device (smartphone) with ZaloPay installed and scan the QR code to pay.

Scan QR code in Zalo

After the operation is completed, the system will display a successful payment message.

Payment successful

As a seller, now you will check the payment information by going to Accounting > Configuration > Payment Transactions. Next, confirm the payment, create an invoice and deliver the goods to your customer.

Check payment transaction

Order details will also show payment transaction history.

Check order information

Note

You have to turn on the :doc:`developer mode to see this information.