Commerce Payment NganLuong
Categories
Component ID
1458280
Component name
Commerce Payment NganLuong
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Commerce Payment NganLuong integrates Ngan Luong payment method with Drupal Commerce.
Features
- Pay a order via nganluong.vn.
- Create payment transaction if payment is success.
- Go back to previous pane if there are errors with the payment.
Installation
- Download class NL_Checkout from https://www.nganluong.vn/data/document/NganLuong_PHP.rar
- Extract this file and copy file nganluong.php to folder includes/ (the path will be commerce_nganluong/includes/nganluong.php).
- Edit file nganluong.php to match your NganLuong account
-
- Change $nganluong_url. Use 'https://www.nganluong.vn/checkout.php' for your live account.
- Use 'http://beta.nganluong.vn/checkout.php' for your sandbox account.
- Change $merchant_site_code: this code is provided by Nganluong.vn
- Change $secure_pass: this pass is provided by Nganluong.vn
- Change other variables to match your requirement.
- Enable this module as usual.
- Go to URL admin/commerce/config/payment-methods to config for this payment method. Enter NganLuong receiver e-mail address and press Save button.
- Check out and select NganLuong payment method.
- Done!
Limitations
- Only support currency VND
- Your order total must greater than 2000Ä‘
Sanbox account (provided by NganLuong)
For seller
- Checkout url = http://beta.nganluong.vn/checkout.php
- Merchant site code = "15873"
- Receiver = "phuonglh@peacesoft.net"
- Merchant pass = "12345678"
For buyer
- Email = hoantx@nganluong.vn
- Password = 111111
- OTP = 123456
