WooCommerce plugin docs / Checkout

Checkout

Overview

The plugin does not replace WooCommerce Checkout. It passes the shopper to the store’s checkout URL (wc_get_checkout_url()).

How It Works

The cart payload includes checkout_url. The widget renders a primary Checkout button that navigates to that URL (or the cart URL as fallback). After click, WooCommerce classic checkout or Checkout Blocks takes over.

Cart recovery consent can register a checkbox on classic checkout and on Checkout Blocks / Store API (woocommerce_store_api_* hooks). That is the only checkout field this plugin adds.

How to Enable It

No extra “enable checkout” toggle. Enable cart tools and WooCommerce checkout as usual.

Configuration

None beyond cart tools and Cart Recovery consent.

Frontend Usage

In-chat Checkout → WooCommerce checkout page → pay with whatever gateways you already use.

Example

Mini-cart with two items → Checkout → /checkout/ (or your Blocks checkout page).

Behavior

SituationWhat happens
Empty cartCheckout button not shown
Classic checkoutStandard WC checkout
Checkout BlocksShopper uses Blocks; plugin declared cart_checkout_blocks compatibility
Recovery consent onOptional reminder checkbox

Compatibility (honest)

  • Declared: cart_checkout_blocks via FeaturesUtil (positive).
  • Verified in this documentation pass: code hooks Store API customer update and registers a blocks checkout field for consent. Independent QA of every Blocks version is not claimed here.
  • Plugin does not implement a custom Blocks checkout inner block for the chatbot.

Limitations

  • No in-chat payment.
  • No express pay buttons inside the widget.

Troubleshooting

Checkout button missing: empty cart or missing checkout_url. Wrong page: set WooCommerce → Settings → Advanced checkout endpoints.