# WooCommerce Plugin Changelog

import { ChangelogBadge } from '/snippets/ChangelogBadge.jsx';

## v1.0.1
*April 13, 2026*

**Configuration**

- <ChangelogBadge type="added" /> **Hide payment selection when WHITELABEL is the only gateway**  
  Adds a Hide Payment Selection setting so the payment method radio buttons are hidden at checkout when WHITELABEL is the only active gateway, presenting a cleaner one-method checkout experience. Applies to both legacy and block-based checkouts.

## v1.0.0
*April 7, 2026*

- <ChangelogBadge type="added" /> **Initial WordPress Plugin Directory release**  
  First public release of the WHITELABEL WooCommerce payment gateway on the WordPress Plugin Directory, integrating WHITELABEL's payment orchestration platform with WooCommerce through the WHITELABEL Web SDK and a PHP REST API layer.

**Card Payments**

- <ChangelogBadge type="added" /> **Card payments, wallets, and local payment methods**  
  Accepts cards, digital wallets, and local payment methods through WHITELABEL's payment orchestration platform from a single integration, with intelligent payment routing across multiple providers.

- <ChangelogBadge type="added" /> **3D Secure and additional authentication support**  
  Handles 3D Secure challenges and additional authentication flows during payment, including a return-from-3DS detection that prevents accidental order duplication.

**Block Checkout**

- <ChangelogBadge type="added" /> **WooCommerce block-based checkout support**  
  Supports both the legacy shortcode checkout and the WooCommerce block-based checkout (default since WooCommerce 8.3). Both flows converge at the order-pay page so the SDK orchestration is shared.

**Webhooks**

- <ChangelogBadge type="added" /> **Webhook receiver for asynchronous payment status**  
  Receives WHITELABEL payment events (succeeded, pending, failed, chargeback, refund) with three-layer HMAC verification and idempotent processing through transient locks.

**Marketplace**

- <ChangelogBadge type="added" /> **Marketplace split payments**  
  Splits the order total between a seller recipient and a platform commission, configurable as a percentage or a fixed minor-unit amount.

**Reliability**

- <ChangelogBadge type="added" /> **In-place retry on failed payments**  
  Lets the customer retry a failed payment in place by remounting the SDK, instead of creating a new duplicate order on each retry attempt.

- <ChangelogBadge type="added" /> **Server-side payment verification**  
  Verifies every reported payment status against the WHITELABEL API before updating the WooCommerce order, never trusting client-reported status.

**Order Management**

- <ChangelogBadge type="added" /> **Auto-complete for virtual and downloadable orders**  
  Orders that contain only virtual or downloadable products skip the processing state and go straight to completed after payment.

- <ChangelogBadge type="added" /> **HPOS compatibility**  
  Declares compatibility with WooCommerce High-Performance Order Storage (custom order tables) and uses HPOS-safe order queries throughout.

**Customer & Address**

- <ChangelogBadge type="added" /> **Per-order WHITELABEL customer strategy**  
  Creates a fresh WHITELABEL customer per WooCommerce order, with automatic recovery from duplicate-customer and customer-not-found errors so payments are never blocked by stale customer state.

**Configuration**

- <ChangelogBadge type="added" /> **Multi-environment support**  
  Auto-detects the WHITELABEL API environment (development, staging, sandbox, production) from the Public API Key prefix.

- <ChangelogBadge type="added" /> **Configurable debug logging with PII redaction**  
  Optional WooCommerce-integrated logging for troubleshooting payments and webhooks. Phone numbers, email addresses, and full API payloads are never logged.