WP Manifestindependent plugin directory
manifest / ecommerce / woocommerce-for-webvouch

WebVouch for WooCommerce self-updates

Official open-source WebVouch integration for WooCommerce: automated review invitations, past-order imports, storefront widgets, and verified plugin updates.

by WebVouch · github.com/webvouch/woocommerce-for-webvouch · website

0stars
2release downloads
0forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/webvouch/woocommerce-for-webvouch/releases/download/v0.3.0/webvouch-for-woocommerce-0.3.0.zip

Ships its own WordPress updater (Update URI header), so new versions show up under Dashboard → Updates.

Readme

WebVouch for WooCommerce

The official open-source WooCommerce plugin for WebVouch. It sends service-review invitations from eligible WooCommerce orders, supports controlled past-order imports, and makes WebVouch widgets available in the WordPress editor and storefront.

Features

  • Automatically create an invitation when an order reaches Processing or Completed.
  • Run invitation delivery in WooCommerce Action Scheduler instead of blocking checkout.
  • Preserve one idempotency key across bounded retries.
  • Import orders from the 7, 14, 30, 60, or 90 days before connection.
  • Synchronize WebVouch widgets and place them with a Gutenberg block or shortcode.
  • Support High-Performance Order Storage (HPOS).
  • Show invitation state on each WooCommerce order and write redacted operational logs.
  • Verify update packages with a published SHA-256 checksum.

Requirements

  • WordPress 6.4 or newer
  • WooCommerce 8.6 or newer
  • PHP 8.1 or newer
  • HTTPS access to the WebVouch Customer API
  • A WebVouch API client with templates:read, invitations:write, widgets:read, and widgets:write

Installation

  1. Download webvouch-for-woocommerce-<version>.zip from the repository's Releases page.
  2. In WordPress, open Plugins → Add New → Upload Plugin.
  3. Upload the ZIP, install it, and activate WebVouch for WooCommerce.
  4. Open WooCommerce → WebVouch.
  5. Enter the client ID and one-time client secret created in the WebVouch business dashboard.
  6. Test the connection, select an invitation template and order trigger, then enable automation.
  7. Open the Widgets tab to synchronize and place storefront widgets.

For production stores, define credentials in wp-config.php so the client secret is not stored in WordPress options:

define( 'WEBVOUCH_WC_CLIENT_ID', 'wv_client_...' );
define( 'WEBVOUCH_WC_CLIENT_SECRET', 'wv_secret_...' );

WEBVOUCH_WC_API_BASE_URL may also be defined for an approved WebVouch endpoint. Production installations should use the default endpoint.

Invitation behavior

The Order confirmed trigger captures the Processing status and safely handles an order already reaching Completed. The Order completed trigger captures only Completed and is recommended for virtual or downloadable stores that may skip Processing.

The selected WebVouch template owns the email content, sender, reply-to address, and delivery delay. Paused templates cannot be selected and are revalidated before an invitation is created.

Transient failures retry after approximately 1 minute, 5 minutes, 30 minutes, 2 hours, and 12 hours. WebVouch deduplicates invitations according to the organization policy, and the plugin displays terminal skipped or failed outcomes on the order.

Widgets

Insert the WebVouch widget block in the WordPress editor or use:

[webvouch_widget type="badge"]

Supported inline types are carousel, badge, text-badge, and text-combo. The side-drawer widget is enabled globally from the Widgets tab.

Updates

The plugin checks WebVouch's checksum-verified release metadata endpoint and verifies the SHA-256 digest before WordPress installs an update. GitHub Releases provide an independent manual download location; the release ZIP published on GitHub must be byte-for-byte identical to the package mirrored on webvouch.com.

Automatic updates are not enabled by default. Store owners retain control through the standard WordPress update screen.

Privacy and security

For an eligible order, the plugin sends the billing email, billing name when present, a non-personal order reference, and the order event timestamp to WebVouch. Credentials, access tokens, names, and email addresses are excluded from Action Scheduler arguments, persistent plugin order state, and WooCommerce logs.

Disconnecting asks WebVouch to disconnect the installation, clears local credentials and cached tokens, and stops new automation. Actions already scheduled at disconnect time remain queued but exit without calling WebVouch after credentials are cleared. Uninstalling removes plugin settings, cached tokens, transients, and pending actions. Historical non-personal outcome metadata remains attached to existing WooCommerce orders.

Please report vulnerabilities privately as described in SECURITY.md and do not open public security issues.

Development

Run the dependency-free PHP tests:

php tests/run.php

Lint all PHP files:

find . -type f -name '*.php' -not -path './dist/*' -exec php -l {} \;

Build a deterministic WordPress package:

./scripts/build-plugin.sh

The build produces the versioned ZIP, a stable-name ZIP, latest.json, and SHA256SUMS under dist/.

Community contributions

Community improvements are welcome. You can open an issue to propose a feature or report a reproducible problem, and submit a pull request with fixes, compatibility updates, tests, translations, or documentation improvements.

Please read CONTRIBUTING.md before starting a larger change. Pull requests should keep the plugin compatible with its documented minimum WordPress, WooCommerce, and PHP versions, preserve secure credential handling, and include tests for changed behavior. Maintainers may ask for changes before merging so releases remain safe for existing stores.

Security vulnerabilities must be reported privately through the process in SECURITY.md, not through a public issue.

Releasing

  1. Update the version in webvouch-for-woocommerce.php and the stable tag and changelog in readme.txt.
  2. Run the tests and deterministic build locally.
  3. Commit the release and create a matching tag, for example v0.3.0.
  4. Push the tag. The release workflow verifies the version, rebuilds the package, and creates the GitHub Release.
  5. The tag-only release workflow publishes the exact versioned and stable ZIPs, SHA256SUMS, and finally latest.json to the public WebVouch downloads bucket. The manifest is published last so it never advertises a missing package. Versioned objects are immutable: a retry may reuse identical bytes, but the workflow refuses to replace a released version with different bytes.

The workflow uses the tag-restricted GitHub environment release. It requires the environment secrets S3_ACCESS_KEY_ID and S3_SECRET_ACCESS_KEY, plus the environment variables S3_ENDPOINT, S3_BUCKET, S3_REGION, and S3_PUBLIC_BASE_URL. These credentials are available only to release jobs and must never be exposed to pull request workflows.

Support

License

WebVouch for WooCommerce is licensed under the GNU General Public License v2.0 or later. See LICENSE.

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v0.3.0 Aug 12, 2026 latest.json 1
v0.3.0 Aug 12, 2026 SHA256SUMS 1
v0.3.0 Aug 12, 2026 webvouch-for-woocommerce-0.3.0.zip 2