Odoo 19 app

WeChat Pay Payment Gateway

WeChat Pay for Odoo 19: QR code on computers, H5 in mobile browsers and JSAPI inside WeChat, with signed notifications, refunds and daily bill reconciliation.

WeChat Pay API v3Native QRH5JSAPIRefundsTrade Bill ReconciliationCNY

What it does

A WeChat Pay payment provider built on the WeChat Pay API v3 for direct merchants. Odoo creates the WeChat Pay order, the customer pays in WeChat, and Odoo confirms the payment from the signed, encrypted notification and by querying the order.

Features

The right payment for every devicecomputers get a Native QR code to scan with WeChat; phones in a mobile browser are sent to WeChat with H5; customers who open your shop inside the WeChat app pay with JSAPI without leaving WeChat (Odoo gets their OpenID through WeChat OAuth).
Live QR pagethe QR code page shows the amount and expiry time and moves on by itself as soon as the payment is confirmed.
Signed and encrypted notificationsevery notification signature is checked (WeChat Pay public key or platform certificates), old timestamps and signature probes are refused, and the resource is decrypted with your APIv3 key (AEAD_AES_256_GCM).
Every answer verifiedanswers from WeChat Pay are signature-checked too, and every request is signed with your merchant API private key.
Order query and closeOdoo queries unpaid orders, closes expired ones, and closes the previous order when a customer switches from computer to phone, so one payment can never be paid twice.
Refunds from Odoofull or partial refunds with the standard Refund button; refunds still processing are followed until WeChat Pay reports them done, and refunds made in the merchant platform are recorded in Odoo from the refund notification.
Daily trade bill reconciliationdownload the WeChat Pay trade bill, check its SHA1 hash and match every line with the Odoo transactions: matched, amount or state differs, or not in Odoo. Fees and totals included. A daily job fetches yesterday's bill.