Documentation WooCommerce Plugin | PHP SDK → WHMCS →

WooCommerce Payment Gateway

Non-custodial USDT payment integration for WordPress and WooCommerce stores. Payments settle directly into your self-custody wallet on TRON (TRC-20) or Ethereum (ERC-20) with 0% gateway commission.

paycow-crypto-payment-gateway.zip
WordPress plugin archive for manual or admin dashboard upload.
Version 1.0.0 28 KB PHP 7.4+ WooCommerce 5.0+ HPOS Compatible Blocks Compatible Includes PayCow PHP SDK

1 Installation

  1. Download the plugin package: paycow-crypto-payment-gateway.zip
  2. In your WordPress admin panel, navigate to Plugins → Add New → Upload Plugin.
  3. Choose the downloaded file and click Install Now.
  4. Click Activate Plugin.
Manual SFTP alternative: Extract the ZIP file and upload the paycow-crypto-payment-gateway directory into your WordPress server at /wp-content/plugins/.

2 Configuration

Navigate to WooCommerce → Settings → Payments and select PayCow Non-Custodial Crypto Gateway.

Parameter Status Description
Enable/Disable Required Enable or disable the gateway on checkout.
Title Required Payment method label shown to customers during checkout.
Merchant API Key Required Public API key obtained from your PayCow dashboard (Developer → API Keys).
Merchant API Secret Required Private API secret. Stored securely on the server and never exposed to the client.
Webhook Signing Secret Required Secret string (starts with whsec_) generated in your PayCow dashboard for HMAC-SHA256 signature verification.
Supported Network Mode Required Select settlement network: Customer Choice (TRC-20 / ERC-20), TRC-20 Only, or ERC-20 Only.
Wallet Serial ID Optional Target wallet serial (e.g. WAL-1001). Leave empty to use your default primary wallet.
Debug Logging Optional Logs API requests and webhook deliveries to WooCommerce → Status → Logs.

3 Webhook Setup

Webhooks deliver real-time payment notifications directly from blockchain listeners to your store.

  1. Copy your store webhook URL from the bottom of the PayCow WooCommerce settings screen. Format:
    https://example.com/?wc-api=paycow_webhook
  2. Log into your PayCow dashboard (paycow.net/dashboard) and open Developer → Webhooks.
  3. Paste your Store Webhook URL and click Save Changes.
  4. Copy your generated HMAC-SHA256 secret (whsec_...) into the WooCommerce Webhook Signing Secret setting and save.
  5. Click Send Test Webhook in your PayCow dashboard to verify the handshake.

4 Technical Details

Non-Custodial Settlement: All customer payments route directly to your designated on-chain wallet address. PayCow does not hold customer funds or custody private keys.

HPOS Support: Fully compatible with High-Performance Order Storage (custom order tables). All order operations utilize official WooCommerce CRUD interfaces without raw SQL queries.

Checkout Blocks & Classic: Native integration with WooCommerce Cart & Checkout Blocks (Gutenberg) and classic shortcode checkout.

Security: All incoming webhooks verify HMAC-SHA256 signatures with a 300-second timestamp tolerance window. Order status polling on the confirmation page uses server-side AJAX with WordPress nonces; API keys are never exposed in browser JavaScript.