| 开发者 |
yoohw
baonguyen0310 |
|---|---|
| 更新时间 | 2026年7月5日 14:11 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
state and ward codes in WooCommerce city.state stores the official city/province code.city stores the official ward/commune/special-zone code.postcode is hidden because most Vietnam checkout flows do not need it.first_name is used as Full name.last_name and company fields are hidden on the customer checkout flow.address_2 remains available as an optional extra address line.01. Ward/commune/special-zone codes are stored as five-character strings, such as 00070. Keeping these values as strings preserves leading zeroes and avoids duplicate-name ambiguity.
Admin address support
Vietnam Store Toolkit for WooCommerce also improves address handling inside wp-admin:
bacs) instead of creating a separate gateway.
Store owners can configure bank accounts in the existing WooCommerce Direct bank transfer settings. For Vietnam bank accounts, the plugin adds a bank selector and stores the VietQR/NAPAS bank BIN needed to generate VietQR payment images.
For eligible bank transfer orders, the plugin can display:
{order_id}{order_number}{site_name}ORDER-{order_number}.
VietQR details can appear on:
0987654321098 765 4321+849876543210084 98765432184 9876543210987654321. The plugin also stores useful metadata for orders and customers:
+84987654321.mobile or landline.yoohw_vietnam_store_tools_shipping_providers filter.vck_* shipping-rate metadata from the admin order line-item display.data/SOURCES.md are build-time data sources for bundled static data files. The plugin does not call those data source APIs at runtime.
When VietQR display is enabled for WooCommerce Direct bank transfer, the plugin uses the VietQR QR image service to generate payment QR images for bank transfer orders. The service is contacted by the shopper's browser, the store admin's browser, or the email client when a page or email containing the QR image is displayed.
Service provider: VietQR.io by CASSO.
Service website: https://vietqr.io/
Quick Link documentation: https://vietqr.io/danh-sach-api/link-tao-ma-nhanh/
CASSO terms: https://casso.vn/thoa-thuan-su-dung-phan-mem/
CASSO privacy policy: https://casso.vn/chinh-sach-bao-mat-thong-tin/
Data sent to the service can include the receiving bank BIN, bank account number, QR template, order amount, transfer content, and account holder name. These values are placed in the QR image URL only when VietQR display is enabled and a bank transfer order has enough configured bank account data to show a QR code.
The plugin does not use VietQR to process payments, confirm payments, store customer card data, or move money.
Privacy
Vietnam Store Toolkit for WooCommerce stores checkout, address, phone, tax invoice, and shipment metadata in the site's own WordPress/WooCommerce database.
The plugin does not add analytics tracking, advertising pixels, or a remote telemetry service.
If VietQR display is enabled, QR images are loaded from the VietQR image service as described in the External services section. Store owners should mention this in their privacy policy if they display VietQR payment QR images to customers.
/wp-content/plugins/yoohw-vietnam-store-tools.Yes. The plugin adapts WooCommerce checkout, My Account address forms, cart shipping calculator, customer profiles, store address settings, and admin order address editing for Vietnam address data.
It stores the city/province code in WooCommerce state and the ward/commune/special-zone code in WooCommerce city. This keeps WooCommerce compatibility while avoiding ambiguous text-only address values.
Yes. The bundled address data uses the 2026-07 two-level Vietnam structure with 34 provinces/cities and 3,321 wards/communes/special zones.
No. VietQR is added to WooCommerce Direct bank transfer. Customers still choose the built-in bank transfer payment method.
No. The plugin displays payment QR information. It does not connect to bank transaction APIs or automatically mark orders as paid.
Yes, when amount inclusion is enabled and the order currency is VND. For non-VND orders, the QR can still show transfer information without an embedded amount.
Go to WooCommerce payment settings and edit Direct bank transfer. The plugin enhances the existing bank account settings with Vietnam bank and VietQR options.
Yes. Enable WooCommerce taxes, then enable Vietnam tax invoice requests in WooCommerce tax settings. Customers can request an invoice and enter company details during checkout.
The plugin accepts 10 digits, optionally followed by a hyphen and 3 digits, such as 0312345678 or 0312345678-001.
No. New and edited order/customer phone data is normalized when saved. Existing phone data is not backfilled automatically.
Yes. The plugin declares compatibility with WooCommerce High-Performance Order Storage.
No. The public plugin includes the shared shipping framework and admin order tools. Carrier-specific integrations should be provided by a separate private, internal, or SaaS connector.
Yes. The plugin includes WooCommerce Status Tools that can scan and sync safely mappable legacy address rows and GHTK shipment metadata. Run the scan tool first and review the report before syncing.
Address data and bank list data are bundled. The only runtime external service is the VietQR image service when VietQR display is enabled and a QR image is shown.
Yes. The plugin includes Vietnamese translation files for labels, validation messages, admin UI text, and administrative unit names.
_vck_shipping_* order metadata.