[WordPress] 外掛分享: Strainovic UID Check Schweiz

首頁 › 外掛目錄 › Strainovic UID Check Schweiz
WordPress 外掛 Strainovic UID Check Schweiz 的封面圖片
全新外掛
安裝啟用
—
尚無評分
7 天前
最後更新
—
問題解決
WordPress 6.4+ PHP 8.1+ v0.3.0 上架:2026-09-28

內容簡介

Strainovic UID Check Schweiz 外掛可在結帳或報價表單中驗證瑞士商業識別號碼(UID)。它能即時檢查格式及檢查碼,並確認該號碼在瑞士聯邦統計局的UID登記冊中是否存在,確保商業交易的有效性與準確性。

【主要功能】
• 即時格式及檢查碼驗證
• 驗證UID在瑞士登記冊中的存在性
• 清晰顯示刪除或未知公司的訊息
• WooCommerce結帳新增UID欄位
• Contact Form 7支援UID驗證
• 結果快取一天,減少重複請求

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.3.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Strainovic UID Check Schweiz」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Business customers enter their Swiss business identification number (UID, in German “Unternehmens-Identifikationsnummer”) in the checkout or in a quote form. Strainovic UID Check Schweiz validates it before the order or request goes through:

Format and check digit instantly, without a network request (CHE-123.456.789, also without separators or with the suffix MWST/TVA/IVA)
Existence in the UID register of the Swiss Federal Statistical Office
Status: deleted or unknown companies are rejected with a clear message in the form
Consistent format in the order (CHE-123.456.789)
If the UID register is unreachable, the order is not blocked as long as the check digit is correct
Results are cached for one day in the checkout, so each UID is requested at most once per day there

WooCommerce: the plugin adds an optional “UID” field to the checkout, both to the Checkout block (default since WooCommerce 8.3, contact section, saved to the customer account) and to the classic shortcode checkout (after the company name). If filled in, it is validated.
Contact Form 7: every text field named uid is validated, for example [text uid placeholder "CHE-123.456.789"], or [text* uid] for a required field.
For developers: during a Contact Form 7 submission, other plugins (for example a connector that sends the inquiry to a CRM) get the check result with apply_filters( 'strainovic_uid_check_schweiz_cf7_report', null ). It returns null (no or empty UID field) or an array with the keys uid (CHE-123.456.789), status (active, deleted, not_listed or unverified when the register was unreachable), register_reached, checked_at (ISO 8601, UTC) and company (null or name, legal_form as eCH-0097 code, street, postcode, city, canton, vat_registered), taken from the register at the time of the submission.
Languages: English, German (Germany and Switzerland), French and Italian are included. The field label and the error messages follow the language of the site, with the Swiss terms UID, IDE (French) and IDI (Italian). German variants such as de_CH_informal or de_AT, and French or Italian variants such as fr_CA or it_CH, use the matching bundled translation.
Pro version (in preparation): fill in company name, legal form and address automatically from the register, show the VAT status, allow invoice payment only for valid companies, alert when a customer company is deleted. More at https://www.strainovic-it.ch/uid-check/
External services
This plugin connects to the public UID web service of the Swiss Federal Statistical Office (FSO, in German “Bundesamt für Statistik”, BFS). The service gives access to the official Swiss UID register (https://www.uid.admin.ch/).
What it is used for: to check whether a Swiss business identification number (UID) entered by a customer exists in the UID register and whether the company is still active. Unknown and deleted UIDs are rejected with an error message.
When data is sent: only when a filled-in UID field is validated: when a checkout or a Contact Form 7 form is submitted, when the WooCommerce Checkout block saves the entered UID while the customer fills in the checkout, or when a customer saves the UID in the account details. In every case only after the UID has passed the local format and check digit validation. Invalid input never leaves the website. In the checkout the answer is cached for one day, so the same UID is sent at most once per day; a Contact Form 7 submission always asks the register, so that the check result passed on with the submission is current. Nothing is sent when the UID field is empty, and nothing is sent in the background.
What data is sent: only the nine digits of the entered UID (for example 353272857 for CHE-353.272.857), in a SOAP request to the “GetByUID” operation. No name, address, email or other customer data is sent. The request is made by the website’s server, not by the visitor’s browser, so the visitor’s IP address is not transmitted; like every WordPress HTTP request, it carries the server’s IP address and WordPress’s default user agent (WordPress version and site address).

Service provider: Swiss Federal Statistical Office (FSO), Espace de l’Europe 10, 2010 Neuchâtel, Switzerland
Endpoint: https://www.uid-wse.admin.ch/V5.0/PublicServices.svc
Service description: https://www.bfs.admin.ch/bfs/en/home/registers/enterprise-register/enterprise-identification/uid-register/uid-interfaces.html
Terms of use: https://www.admin.ch/en/terms-and-conditions
Privacy policy: https://www.admin.ch/en/terms-and-conditions#Privacy-Notice
UID register legal basis and data protection: https://www.bfs.admin.ch/bfs/en/home/registers/enterprise-register/enterprise-identification/uid-general/legal-basis-data-protection.html

延伸相關外掛

文章
Filter
Mastodon