[WordPress] 外掛分享: KSA National Address Validator

首頁外掛目錄 › KSA National Address Validator
10+
安裝啟用
尚無評分
13 天前
最後更新
0%
問題解決
WordPress 5.0+ PHP 7.2+ v1.2.2 上架:2026-01-28

內容簡介

KSA National Address Validator 外掛透過在 WooCommerce 結帳頁面新增「國家地址短碼」欄位,提升顧客的結帳體驗。顧客輸入 8 位數短碼後,外掛會與 OTO National Address API 連接,自動填入地址資訊。

【主要功能】
• 新增國家地址短碼欄位至 WooCommerce 結帳頁面
• 僅在選擇沙烏地阿拉伯作為帳單國家時顯示
• 驗證短碼格式(4 字母 + 4 數字)
• 從 OTO API 獲取並自動填充地址欄位
• 支援電子郵件及密碼登入,並可啟用 2FA/TOTP
• 與 WooCommerce 高效能訂單儲存(HPOS)相容

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「KSA National Address Validator」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin enhances the WooCommerce checkout experience by adding a “National Address Short Code” field. When a customer enters their 8-character short code, the plugin communicates with the OTO National Address API to fetch and automatically populate the checkout address fields (City, District, Street Address, etc.).
Features

Adds a National Address Short Code field to the WooCommerce checkout page (Classic and Blocks).
Field is shown only when Saudi Arabia is selected as the billing country.
Validates the format of the short code (4 letters followed by 4 digits, e.g. ABCD1234).
Fetches address details from the OTO API and auto-fills City, District, Street, Postcode fields.
Optional: mark the field as required for Saudi Arabia orders only (non-SA orders are never blocked).
Connect/disconnect via email and password login (supports 2FA/TOTP).
Caches the API access token (55 minutes) to minimise API calls.
Compatible with WooCommerce High-Performance Order Storage (HPOS).
Fully compatible with both Classic checkout and WooCommerce Blocks checkout.

External services
This plugin connects to the OTO API to validate Saudi Arabian National Address short codes and retrieve address details during WooCommerce checkout.
What this service does
The OTO National Address API validates 8-character Saudi National Address short codes (e.g., ABCD1234) and returns the corresponding address information including city, district, street name, building number, and postal code. This data is used to automatically populate checkout address fields for customers in Saudi Arabia.
Data transmitted
During plugin authentication (admin settings page):
– Email address and password are sent to authenticate with the OTO API
– If 2FA is enabled, the one-time password (OTP) code is also sent
– A refresh token is returned and stored to maintain the connection
During checkout validation (when customer enters a short code):
– The National Address short code entered by the customer is sent to the API
– An access token (obtained via the stored refresh token) is sent for authentication
– Address data is returned and used to populate checkout fields
Service provider
This service is provided by OTO Global.

Service website: https://tryoto.com/
Terms and Conditions: https://www.tryoto.com/terms-and-conditions
Privacy Policy: https://www.tryoto.com/privacy-policy

延伸相關外掛

文章
Filter
Apply Filters
Mastodon