Title: VouchLinks for WooCommerce
Author: vouchlinkssupport
Published: <strong>2026 年 6 月 23 日</strong>
Last modified: 2026 年 9 月 22 日

---

搜索插件

![](https://ps.w.org/vouchlink-for-woocommerce/assets/banner-772x250.png?rev=3707726)

![](https://ps.w.org/vouchlink-for-woocommerce/assets/icon-256x256.png?rev=3707836)

# VouchLinks for WooCommerce

 作者：[vouchlinkssupport](https://profiles.wordpress.org/vouchlinkssupport/)

[下载](https://downloads.wordpress.org/plugin/vouchlink-for-woocommerce.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/vouchlink-for-woocommerce/#description)
 * [评价](https://cn.wordpress.org/plugins/vouchlink-for-woocommerce/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/vouchlink-for-woocommerce/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/vouchlink-for-woocommerce/#developers)

 [支持](https://wordpress.org/support/plugin/vouchlink-for-woocommerce/)

## 描述

VouchLinks for WooCommerce connects a merchant’s WooCommerce store to their VouchLinks
advertiser account.

After connection, the plugin captures VouchLinks referral identifiers from visitor
URLs, stores attribution on WooCommerce orders, and sends configured order events
to VouchLinks. VouchLinks event settings decide which WooCommerce events are tracked
and which events trigger conversion rewards.

This plugin requires a VouchLinks advertiser account, advertiser email, and API 
key.

#### Features

 * Connect a WooCommerce store using VouchLinks advertiser email and API key.
 * Automatically sends the WordPress store URL to VouchLinks during connection.
 * Captures `ref_id`, `refId`, `referral_id`, `link_id`, `Link_id`, `tracking_code`,
   and `code`.
 * Stores attribution in browser cookies, WooCommerce sessions, and order metadata.
 * Sends WooCommerce event monitoring records to VouchLinks.
 * Sends conversion postbacks when VouchLinks marks an event as rewarded.
 * Sends refund/cancellation postbacks for enabled reversal events.
 * Declares compatibility with WooCommerce High-Performance Order Storage.

#### Supported WooCommerce Events

 * Order Paid: `woocommerce_payment_complete`
 * Order Completed: `woocommerce_order_status_completed`
 * Cancelled/Refunded: `woocommerce_order_status_cancelled`, `woocommerce_order_status_refunded`,`
   woocommerce_order_fully_refunded`
 * Chargeback/Failed: `woocommerce_order_status_failed`

#### External Service

This plugin relies on VouchLinks, an external service operated by VouchLinks, to
connect a WooCommerce store to a merchant’s VouchLinks advertiser account, load 
VouchLinks event settings, record WooCommerce order events, and send conversion 
or refund postbacks for attribution and reward processing.

Service endpoints:

Production API endpoint:
 https://api.vouchlinks.com/api/v1

Development API endpoint:
 https://dev.api.vouchlinks.com/api/v1

Service website:
 https://vouchlinks.com

Advertiser account portal linked from the settings screen:
 https://app.vouchlinks.
com

Data sent to VouchLinks:

 * When a merchant connects the store, the plugin sends the merchant’s VouchLinks
   advertiser email, VouchLinks API key, WordPress store URL, and plugin version.
 * When event settings are synced or loaded, the plugin sends the saved VouchLinks
   advertiser email and API key in request headers.
 * When a shopper visits with VouchLinks attribution parameters, the plugin stores
   the attribution identifiers locally in browser cookies, the WooCommerce session,
   and order metadata. These identifiers are sent to VouchLinks only when a tracked
   WooCommerce order event is processed.
 * When an enabled WooCommerce order event is processed, the plugin sends the event
   type, order ID, order amount, currency, store URL, VouchLinks attribution identifiers,
   billing email, and line item details such as product name, product category, 
   price, and quantity.
 * When an enabled cancellation, refund, or failed order event is processed, the
   plugin also sends the order ID, VouchLinks link ID, reversal reason, and related
   order payload so VouchLinks can reverse or record the conversion status.

Data is sent only after the merchant has connected the plugin with VouchLinks credentials.
Production is used by default. The development endpoint is used only when the site
owner explicitly configures the plugin for development testing with `VOUCHLINK_WC_API_ENV`
or `VOUCHLINK_WC_API_BASE_URL`.

Terms of Service:
 https://www.vouchlinks.com/terms

Privacy Policy:
 https://www.vouchlinks.com/privacy

## 屏幕截图

[⌊Connect your WooCommerce store to VouchLinks and start tracking referrals, rewarding
customers, and growing your business.⌉⌊Connect your WooCommerce store to VouchLinks
and start tracking referrals, rewarding customers, and growing your business.⌉[

Connect your WooCommerce store to VouchLinks and start tracking referrals, rewarding
customers, and growing your business.

## 安装

 1. Upload the `vouchlink-woocommerce` folder to `/wp-content/plugins/`, or upload 
    the plugin zip through `Plugins > Add New > Upload Plugin`.
 2. Activate the plugin in WordPress.
 3. Go to `WooCommerce > VouchLinks`.
 4. Enter the advertiser’s VouchLinks email and API key.
 5. Click `Connect Store`.
 6. Click `Sync Event Settings`.

Production is used by default. For development testing, define this constant in `
wp-config.php`:

    ```
    define('VOUCHLINK_WC_API_ENV', 'dev');
    ```

## 常见问题

### Does this plugin show anything to shoppers?

No. The plugin works in the background. It captures attribution from URLs and sends
order events to VouchLinks.

### Does this plugin require a VouchLinks account?

Yes. The merchant needs a VouchLinks advertiser account, email, and API key.

### Can I test against the dev backend?

Yes. Add `define('VOUCHLINK_WC_API_ENV', 'dev');` to `wp-config.php`.

### What personal data does this plugin process?

When connected, the plugin stores VouchLinks referral identifiers from visitor URLs
in browser cookies, WooCommerce session data, and WooCommerce order metadata. For
tracked WooCommerce order events, it sends order event data to VouchLinks, including
order ID, order amount, currency, store URL, VouchLinks attribution identifiers,
billing email, and line item details such as product name, product category, price,
and quantity.

### Is this plugin compatible with WooCommerce HPOS?

Yes. The plugin uses WooCommerce order APIs and declares compatibility with custom
order tables.

## 评价

此插件暂无评价。

## 贡献者及开发者

「VouchLinks for WooCommerce」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ vouchlinkssupport ](https://profiles.wordpress.org/vouchlinkssupport/)

[帮助将「VouchLinks for WooCommerce」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/vouchlink-for-woocommerce)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/vouchlink-for-woocommerce/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/vouchlink-for-woocommerce/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/vouchlink-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/vouchlink-for-woocommerce/)。

## 更新日志

#### 1.0.0

 * Initial release.
 * Store connection with VouchLinks email and API key.
 * Referral attribution capture.
 * VouchLinks event settings sync.
 * Conversion and refund postbacks.

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**2 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.5 或更高版本 **
 *  已测试的最高版本为 **7.0.7**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/vouchlink-for-woocommerce/)
 * 标签
 * [affiliate](https://cn.wordpress.org/plugins/tags/affiliate/)[conversion tracking](https://cn.wordpress.org/plugins/tags/conversion-tracking/)
   [referrals](https://cn.wordpress.org/plugins/tags/referrals/)[Rewards](https://cn.wordpress.org/plugins/tags/rewards/)
   [woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/vouchlink-for-woocommerce/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/vouchlink-for-woocommerce/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/vouchlink-for-woocommerce/reviews/)

## 贡献者

 *   [ vouchlinkssupport ](https://profiles.wordpress.org/vouchlinkssupport/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/vouchlink-for-woocommerce/)