| 开发者 | vsptech |
|---|---|
| 更新时间 | 2026年11月5日 03:57 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[vsptech_domain_search] shortcode displays a search bar. Visitors type a domain name and see whether it is available, with the sale price from your VSP TECH reseller catalogue, in CFA francs (FCFA).
Order from the search (needs WooCommerce). Once you designate a WooCommerce product, an "Order now" button adds an available domain to the cart at your sale price. The price is read from the API on your server, and availability is checked again at that moment.
Automatic registration (needs WooCommerce). When an order is paid, the plugin registers the domain carried by each order line and adds the result to the order notes.
Connection status. The settings page shows whether the connection works, your VSP TECH wallet balance and your reseller tier.
What you need
vsptech-reseller folder to /wp-content/plugins/.vsprk_...), available in your VSP TECH Reseller area.[vsptech_domain_search] shortcode to a page or post.Yes. The settings page and the domain search shortcode work without WooCommerce. The "Order now" button and automatic registration need it, and the settings page tells you when WooCommerce is not active.
The button only appears when the order can really go through: WooCommerce is active, the "Domain product" setting points to a published, in-stock product with a price, the store currency is XAF, and your catalogue has a sale price for that extension.
Your sale price for one year, read from the VSP TECH API by your server when the domain is added to the cart. Nothing sent by the browser can change it, and your purchase price is never sent to the browser. No currency conversion is applied.
It reads the domain order item meta, or _domain if the first is empty. The "Order now" button adds domain to the order line for you. Another plugin can set it too. Lines without it are ignored.
Each domain is registered for one year and paid immediately from your VSP TECH wallet, at your reseller price. What your customer paid you is not used. Automatic renewal is turned on, so VSP TECH charges one more year to your wallet when the domain expires. If your balance is too low, or the domain was taken after the customer ordered, nothing is charged and the failure is added to the order notes. With cash on delivery, registration starts when you mark the order Completed.
No. A transfer needs an authorization code, which the plugin does not send, so the API refuses it and the refusal is added to the order notes.
In the WordPress options table, without encryption. It is never displayed again after saving, and it is deleted when you click "Remove the saved key" or uninstall the plugin. We recommend limiting the key to your server's IP addresses in your Reseller area.
The search form uses a WordPress security token that lasts 12 to 24 hours. If a page cache keeps the page longer, exclude that page from the cache or shorten the cache lifetime.
No. Since version 1.0.3, use [vsptech_domain_search]. Pages that still contain [vsp_domain_search] show the shortcode as plain text until you replace it.
vsptech prefix: the old [vsp_domain_search] shortcode is removed (use [vsptech_domain_search]) and order lines carry a vsptech_domain meta. Orders placed with earlier versions are still processed.domain meta used by automatic registration.[vsptech_domain_search] shortcode name. [vsp_domain_search] still works.