Linux 软件免费装
Banner图

VSPTECH Reseller

开发者 vsptech
更新时间 2026年11月5日 03:57
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce cameroon domain search domain reseller domain registration

下载

1.0.3

详情介绍:

VSPTECH Reseller connects your WordPress site to the Reseller API of VSP TECH, a hosting and domain provider based in Cameroon. Domain search. The [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 What this plugin does not do

安装:

  1. Install the plugin from Plugins > Add New, or upload the vsptech-reseller folder to /wp-content/plugins/.
  2. Activate the plugin.
  3. Go to Settings > VSP TECH API and paste your Reseller API key (vsprk_...), available in your VSP TECH Reseller area.
  4. Set your default name servers (2 to 4), or leave the field empty to use those of your white label, otherwise those of VSP TECH.
  5. Keep "Automatic activation" ticked if paid WooCommerce orders should register domains, and untick it otherwise.
  6. Add the [vsptech_domain_search] shortcode to a page or post.
  7. To sell from the search: create one simple, virtual WooCommerce product with any price, set its catalog visibility to Hidden, and enter its ID in "Domain product" on the settings page. The store currency must be CFA francs (XAF). Your sale price replaces the product price in the cart, and the product can only be bought through the search form.

屏幕截图:

  • The domain search bar added with the `[vsptech_domain_search]` shortcode.

升级注意事项:

1.0.3 Replace [vsp_domain_search] with [vsptech_domain_search] in your pages: the old shortcode name is removed. 1.0.2 The "Order now" button now really adds the domain to the cart. To use it, set a domain product in the settings: until then the button stays hidden.

常见问题:

Does it work without WooCommerce?

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.

Why is there no "Order now" button?

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.

Which price does the customer pay?

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.

How does the plugin know which domain to register?

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.

What is charged when an order is paid?

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.

Are domain transfers supported?

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.

Where is my API key stored?

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.

Visitors see "This page has expired"

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.

Does the older shortcode still work?

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.

更新日志:

1.0.3 1.0.2 1.0.1 1.0.0