WooCommerce Checkout plugin

WordPress plugin that connects WooCommerce to LicenseChain Pay using Mirror Payload strict mode. Repository: LicenseChain-WC-Checkout.

Requirements: WordPress 5.8+, WooCommerce 5.0+, PHP 7.4+ (OpenSSL AES-256-GCM). Setup guide in repo: docs/SETUP-GUIDE.md.

Flow

  1. Customer selects LicenseChain Pay at WooCommerce checkout.
  2. Plugin creates a pending order and redirects to pay.licensechain.app/checkout/{productId}?payload=....
  3. Customer pays on Pay (Stripe embedded; crypto when enabled).
  4. Pay redirects back with licensechain_pay_return=1, status, LCG, signature.
  5. Plugin verifies signature, calls POST /api/checkout/mirror/validate, completes order on verified: true.

WooCommerce Subscriptions

Supports WooCommerce Subscriptions and Subscriptions For WooCommerce for recurring billing:

Subscription cancellation: The gateway does not declare customer-facing cancellation until Pay/Core API cancel routes are wired. Cancel subscriptions in Stripe/Pay Dashboard or via POST /v1/subscriptions/:id/cancel when available โ€” see Subscriptions API.

Configuration

  • Pay base URL โ€” usually https://pay.licensechain.app.
  • Pay product ID โ€” from Dashboard โ†’ Seller โ†’ Products.
  • Callback secret โ€” product secret for signature verification (server-side only).
  • WC product mapping โ€” map WooCommerce SKUs/variations to Pay products for multi-plan stores.

Related