Tích hợp thanh toán ZaloPay - Payment Provider: ZaloPay
by ndd https://duong-odoo-apps.odoo.com$ 92.55
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Community Apps Dependencies | Show |
Lines of code | 937 |
Technical Name |
d_payment_zalopay |
License | OPL-1 |
Website | https://duong-odoo-apps.odoo.com |
Versions | 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Community Apps Dependencies | Show |
Lines of code | 937 |
Technical Name |
d_payment_zalopay |
License | OPL-1 |
Website | https://duong-odoo-apps.odoo.com |
Versions | 17.0 18.0 |
# Tích hợp thanh toán ZaloPay cho Website Odoo
Giải pháp thanh toán đa phương thức cho website Odoo, hỗ trợ VietQR, ZaloPay App, thẻ nội địa NAPAS và thẻ quốc tế Visa/Master/JCB.
## Phương thức thanh toán hỗ trợ Khách hàng có thể lựa chọn một trong bốn phương thức thanh toán hiện đại, tiện lợi:
- VietQR: Quét mã QR bằng app ngân hàng, chuyển khoản trực tiếp.
- Ví ZaloPay: Quét mã QR bằng app ZaloPay, thanh toán từ ví điện tử.
- Thẻ nội địa NAPAS: Thanh toán qua thẻ ATM nội địa, xác thực OTP.
- Thẻ quốc tế (Visa/Master/JCB): Thanh toán qua thẻ tín dụng/ghi nợ quốc tế.

## Cổng thanh toán ZaloPay Giao diện thân thiện, hiển thị rõ ràng các lựa chọn thanh toán, thông tin đơn hàng và hướng dẫn thao tác.
- Hiển thị mã QR động cho từng đơn hàng (VietQR, ZaloPay App)
- Hỗ trợ nhập thông tin thẻ NAPAS, Visa/Master/JCB trực tiếp trên giao diện

## Xác nhận thanh toán & cập nhật trạng thái Trạng thái đơn hàng được cập nhật tự động, khách hàng nhận thông báo ngay khi thanh toán thành công.
- Xác nhận thanh toán tự động qua webhook
- Trạng thái đơn hàng cập nhật theo thời gian thực trên website
- Khách hàng nhận thông báo khi thanh toán thành công

## Hỗ trợ hoàn tiền (Refund) Quản lý hoàn tiền dễ dàng, đồng bộ trạng thái với ZaloPay, minh bạch và an toàn cho cả hai bên.
- Cho phép hoàn tiền trực tiếp từ Odoo
- Trạng thái hoàn tiền được đồng bộ tự động với ZaloPay
- Quản lý lịch sử hoàn tiền, tra cứu trạng thái hoàn tiền dễ dàng

## Hỗ trợ kỹ thuật Liên hệ: duongodooapps@gmail.com
# ZaloPay Integration for Odoo Website
Comprehensive payment solution for Odoo websites, supporting VietQR, ZaloPay App, NAPAS domestic cards, and international cards (Visa/Master/JCB).
## Supported Payment Methods Customers can choose from four modern and convenient payment methods:
- VietQR: Scan QR code using a banking app for instant bank transfer.
- ZaloPay Wallet: Scan QR code with the ZaloPay app and pay from your e-wallet.
- NAPAS Domestic Card: Pay with a local ATM card and OTP authentication.
- International Card (Visa/Master/JCB): Pay with international credit or debit cards.

## ZaloPay Payment Gateway User-friendly interface with clear payment options, order details, and step-by-step instructions.
- Dynamic QR code for each order (VietQR, ZaloPay App)
- Directly enter NAPAS, Visa/Master/JCB card information on the payment page

## Payment Confirmation & Status Update Order status is updated automatically and customers are notified immediately after successful payment.
- Automatic payment confirmation via webhook
- Order status updated in real-time on the website
- Customers receive instant notification upon successful payment

## Refund Support Easy refund management, automatic status synchronization with ZaloPay, transparent and secure for both parties.
- Allow refunds directly from Odoo
- Refund status is automatically synchronized with ZaloPay
- Manage refund history and easily check refund status

## Technical Features - API integration with ZaloPay merchant platform - Support for payment links and QR code generation - Automatic payment status synchronization - Comprehensive transaction logging and error handling - Configurable payment success/cancel URLs - Support for buyer information and order details - Multiple payment methods in one provider
## Technical Support Contact: duongodooapps@gmail.com
Hướng dẫn sử dụng cổng thanh toán ZaloPay cho Website Odoo
Hướng dẫn này giúp bạn thiết lập và sử dụng module d_payment_zalopay trong Odoo để tích hợp cổng thanh toán ZaloPay cho website (bán hàng online, hóa đơn điện tử...).
1. Tổng quan
- Hỗ trợ nhiều phương thức thanh toán: VietQR, ZaloPay App, thẻ nội địa NAPAS, thẻ quốc tế Visa/Master/JCB
- Tích hợp liền mạch với cổng thanh toán ZaloPay cho website
- Xác nhận thanh toán tự động qua webhook
- Quản lý hoàn tiền, cập nhật trạng thái theo thời gian thực
2. Yêu cầu trước khi cài đặt
- Đã cài đặt d_payment_zalopay và cấu hình merchant (App ID, Key1, Key2)
- Có tài khoản ZaloPay Merchant đã xác thực
- Đọc thêm tại https://docs.zalopay.vn/v2/
3. Cài đặt & Cấu hình
3.1. Cài đặt module
- Cài đặt d_payment_zalopay
- Đảm bảo các module phụ thuộc đã được cài đặt
3.2. Cấu hình ZaloPay
- Đăng ký tài khoản ZaloPay Merchant tại https://mc.zalopay.vn/
- Lấy App ID, Key1, Key2 từ trang quản lý merchant
- Trong Odoo, vào Cấu hình > Các nhà cung cấp thanh toán, kích hoạt ZaloPay
- Nhập thông tin App ID, Key1, Key2 vào cấu hình

4. Các phương thức thanh toán hỗ trợ
- VietQR: Quét mã QR bằng app ngân hàng, chuyển khoản trực tiếp
- ZaloPay App: Quét mã QR bằng app ZaloPay, thanh toán từ ví điện tử
- Thẻ nội địa NAPAS: Thanh toán qua thẻ ATM nội địa, xác thực OTP
- Thẻ quốc tế (Visa/Master/JCB): Thanh toán qua thẻ tín dụng/ghi nợ quốc tế

5. Quy trình thanh toán
- Khách hàng chọn ZaloPay làm phương thức thanh toán trên website
- Chọn một trong các phương thức hỗ trợ (VietQR, ZaloPay App, Thẻ nội địa, Thẻ quốc tế)
- Thực hiện thanh toán qua cổng ZaloPay
- Trạng thái thanh toán được cập nhật tự động trong Odoo
- Khách hàng nhận xác nhận trên website


6. Quản lý hoàn tiền
- Truy cập vào đơn hàng cần hoàn tiền trong Odoo
- Tìm đến phiếu thanh toán và Nhấn nút "Hoàn tiền" trong phần thanh toán
- Nhập số tiền hoàn tiền (có thể hoàn tiền một phần)
- Hệ thống tự động gửi yêu cầu hoàn tiền đến ZaloPay
- Trạng thái hoàn tiền được cập nhật theo thời gian thực

7. Xử lý lỗi & Hỗ trợ
- Nếu thanh toán không thành công: kiểm tra cấu hình ZaloPay, kết nối internet, log lỗi
- Nếu trạng thái thanh toán không cập nhật: kiểm tra webhook, callback URL, log lỗi
8. Hỗ trợ kỹ thuật
- Email: duongodooapps@gmail.com
- Tài liệu API ZaloPay: https://docs.zalopay.vn/
9. Lưu ý bảo mật
- Giữ thông tin xác thực API an toàn
- Thường xuyên kiểm tra quyền ứng dụng
- Tuân thủ điều khoản dịch vụ của ZaloPay
ZaloPay Payment Provider Usage Guide
This guide helps you set up and use the d_payment_zalopay module in Odoo to integrate ZaloPay as a payment provider for your Odoo website (eCommerce, online invoice, etc).
1. Overview
- Supports multiple payment methods: VietQR, ZaloPay App, NAPAS domestic cards, Visa/Master/JCB
- Seamless integration with ZaloPay payment gateway for online payments
- Automatic payment confirmation via webhook
- Refund management and real-time status update
2. Prerequisites
- Install d_payment_zalopay and configure merchant info (App ID, Key1, Key2)
- Have a verified ZaloPay Merchant account
3. Installation & Configuration
3.1. Install the module
- Install d_payment_zalopay
- Ensure all dependencies are installed
3.2. Configure ZaloPay
- Register a ZaloPay Merchant account at https://mc.zalopay.vn/
- Obtain App ID, Key1, Key2 from the merchant management page
- In Odoo, go to Configuration > Payment Providers, activate ZaloPay
- Enter App ID, Key1, Key2 information in the configuration

4. Supported Payment Methods
- VietQR: Scan QR code with banking app, direct bank transfer
- ZaloPay App: Scan QR code with ZaloPay app, pay from e-wallet
- NAPAS Domestic Card: Pay with local ATM card, OTP authentication
- International Card (Visa/Master/JCB): Pay with international credit/debit card

5. Payment Flow
- Customer selects ZaloPay as payment method on website
- Choose from supported payment methods (VietQR, ZaloPay App, Domestic Card, International Card)
- Complete payment through ZaloPay gateway
- Payment status is automatically updated in Odoo
- Customer receives confirmation on the website

6. Refund Management
- Access the order requiring refund in Odoo
- Click "Refund" button in the payment section
- Enter refund amount (partial refunds supported)
- System automatically sends refund request to ZaloPay
- Refund status is updated in real-time

7. Troubleshooting & Support
- If payment is not completed: check ZaloPay config, internet connection, error logs
- If payment status is not updated: check webhook, callback URL, error logs
8. Technical Support
- Email: duongodooapps@gmail.com
- ZaloPay API docs: https://docs.zalopay.vn/
9. Security Notes
- Keep API credentials safe
- Regularly check app permissions
- Comply with ZaloPay service terms
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module