How to make a payment with NganLuong

Requirements

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

NganLuong payment installation

After registering the payment account with NganLuong, you need to integrate with NganLuong in Viindoo Enterprise Management Software . First, you install the module by navigating to the Apps, typing the keyword nganluong on the search bar. Next, select Ngan Luong Payment Provider module and then hit on Activate.

Install NganLuong module

Once the installation is complete, navigate to Accounting > Configuration > Online Payments > Payment Providers, the system will display the NganLuong payment option and you can set up the payment information.

NganLuong on the payment providers list

Note

The Viindoo screens in this article are captured with a test payment provider (Demo) in Test Mode, so that a payment can be completed without a real NganLuong account. Once NganLuong is enabled, it appears in the same payment method list. The NganLuong pages are shown as NganLuong displays them.

Payment information configuration

On the NganLuong configuration view, enter the information at the Credentials tab which include:

  • NganLuong Merchant ID: The merchant’s website code is provided by NganLuong.

  • NganLuong Merchant Password: The password is provided by NganLuong.

  • NganLuong Receiver Email: Receiver email registered with NganLuong.

NganLuong credentials on the payment provider form

The system saves the information automatically. Then, set State to Test Mode to try the payment, or to Enabled to accept real payments. NganLuong only charges in Vietnamese dong (VND) and is offered to customers in Vietnam; these restrictions are set on the Configuration tab (Currencies and Countries).

Detained Payments

Detained payments is a secure payment method provided by Ngan Luong. With this method, when a payment is confirmed, the payment amount will be detained for a certain amount of time. During this period, money is not yet transferred to the vendor’s account. Both the vendor and the customer can’t withdraw money or use this amount in any other transaction. The payment value is transferred to the vendor only when the customer press Validate.

To set how Viindoo treats a detained payment, open the NganLuong payment provider, go to the Configuration tab and use the Accept Detained Payments option in the Payment Form section.

Accept Detained Payments option on the Configuration tab
  • Checked: When a payment is made by the customer via Ngan Luong, the payment is accepted as valid and the invoice status is automatically changed to Paid even though the money has not arrived at your Ngan Luong account yet.

  • Unchecked: The payment stays pending until Ngan Luong reports that the money has been released to your Ngan Luong account. Then the invoice status is changed to Paid.

Payment via NganLuong

You have received a payment request from the seller. You open that link and press Pay Now. At the payment step, select NganLuong to proceed with the payment.

Payment step of an invoice with the NganLuong payment method

The system will redirect to NganLuong’s payment view. Select the payment method you want.

Select a payment method

For instance, select a payment method as INSTANT Bank Transfer. Entering the information to proceed with the payment.

Enter the payment information

After the operation is completed, NganLuong displays a successful payment notification and sends you back to the invoice.

Successful payment notification of NganLuong

The invoice now shows the Paid status.

Paid invoice on the customer portal

Your payment is recorded on the merchant’s system. On the invoice, the Payments and Payment Transaction buttons lead to the payment and to the transaction.

Invoice paid with a payment transaction

Clicking Payment Transaction, the system will display the payment’s detailed information.

Transaction information