=== Changelog ===

*** WooCommerce ***
2026.05.21 - version 2.1.0
    * Fix: Cart/Checkout Blocks payment method registration race condition removed.
    * Fix: Payment method now appears in Block Checkout when settings have not yet been saved (defaults applied).
    * Fix: `woocommerce_rest_checkout_missing_payment_method` error resolved by returning paymentMethodData and bridging payment_data to $_POST through `woocommerce_rest_checkout_process_payment_with_context`.
    * Fix: Removed unreliable `is_block_based_checkout()` page detection; SDK is now enqueued via both the shortcode and the Blocks checkout enqueue hooks.
    * Fix: Removed duplicate registration on `woocommerce_payment_gateways` (gateway no longer added twice).
    * Fix: Subscription hooks no longer registered multiple times per request.
    * Feat: React-based card form for `direct` mode inside Cart/Checkout Blocks.
    * Feat: Declared HPOS (`custom_order_tables`) and `cart_checkout_blocks` compatibility.
    * Feat: Block script now uses canonical `onPaymentSetup` API with `emitResponse.responseTypes`, decoded HTML entities for title/description and `Pay.Popup` guard for `window` mode.
    * Chore: Tested up to WordPress 6.8 and WooCommerce 10.7.

2024.07.23 - version 2.0.0
    * Initial release.
