Founder deal: 75% off the lifetime licence. Unlimited sites, one payment, every update.See the founder plan
Home / Blog / Setup and compatibility

Block Checkout vs Classic Checkout for Payment Plugins: What Differs

How the block and classic checkouts differ for a payment gateway, how to tell which you run, and a seven-step staging test to run on both before you choose.

The block checkout and the classic checkout are two separate front ends for the same order, and a payment plugin has to support each one on its own. The classic checkout is rendered by PHP templates and the [woocommerce_checkout] shortcode. The block checkout is rendered by React components and talks to WooCommerce through the Store API. A gateway that only registers for the classic checkout will not appear in the block checkout at all. When you compare WooCommerce block checkout vs classic checkout for a payment gateway, the question is not which is better, it is which one your gateway and your other plugins handle today.

NMI for WooCommerce supports both layouts on the Free plan, so the choice does not force a gateway change. The features overview lists what else is included on each plan.

What actually differs for a payment plugin

  • Registration. Classic gateways register as a WooCommerce payment gateway class. Block checkout also needs a separate JavaScript payment method registration. No registration, no option on the page.
  • Card fields. Classic renders fields from PHP markup. Blocks renders them inside a React tree that re-renders when totals change, so hosted card fields must be mounted and cleaned up by the block integration.
  • Validation and hooks. Classic checkout runs PHP hooks such as woocommerce_checkout_process and filters on woocommerce_checkout_fields. Blocks use Store API validation and different extension points, so snippets written for one do nothing in the other.
  • Error display. A decline reaches the customer as a notice in both, but the markup and placement differ. Check that the message is readable on each.
  • Compatibility flag. Plugins declare block checkout compatibility separately from HPOS compatibility.

How to tell which checkout you are running

  1. Open Pages, edit your Checkout page.
  2. If you see a Checkout block with Contact, Shipping and Payment sections, you are on the block checkout.
  3. If you see a shortcode block containing [woocommerce_checkout], you are on the classic checkout.
  4. If a page builder renders the checkout, check what it embeds. See the note on Elementor and other checkout builders.

Test both before you choose

Use sandbox credentials and test cards from your sandbox account, never live keys. The steps are in testing and sandbox. Then run this on staging, once per layout:

  1. Confirm the NMI payment method is listed and selectable.
  2. Confirm the card fields load and show the sandbox banner.
  3. Place an order with a coupon and a shipping choice, so the totals change after the fields are mounted.
  4. Submit an empty or incomplete card and check the error message.
  5. Open the order and check the transaction ID, AVS and CVV results and the response note.
  6. Refund part of it from the order screen, then void a second test order.
  7. Repeat on a phone.

If the method is missing in one layout only, start with why the NMI payment method is not showing.

Decision rule

  • Every plugin you depend on declares block support and you want the newer interface: use blocks.
  • You rely on custom checkout field code, a builder checkout widget, or a plugin with no block integration: stay on classic until that changes.
  • You are not sure: keep classic live, build the block version on staging, and switch only after the seven-step test passes.

Speed is a separate question from layout. See what actually slows a WooCommerce checkout down before you assume the block checkout is faster or slower.

Where HPOS fits

Is HPOS the same as the block checkout? No. HPOS (High-Performance Order Storage) changes where WooCommerce stores orders. The block checkout changes how the checkout page is built. They fail in different ways, so change one at a time. NMI for WooCommerce supports HPOS on the Free plan. The staging checklist is in HPOS and the block checkout: what to verify before you upgrade, and the broader compatibility picture is in the compatibility hub.

Does the layout change where card data goes? The card fields are hosted by NMI through Collect.js in both layouts, so card numbers are entered into NMI fields rather than into WordPress form inputs. Your PCI scope still depends on your setup, so confirm it with your acquirer or processor.

Do saved cards work in both? Saved cards are a Pro feature. Test the saved-card selection and the “save this card” box in each layout, since they are separate UI. Background is in Customer Vault vs storing cards yourself.

Related guides: What Is the NMI Payment Gateway? A Plain Guide for WooCommerce Owners | NMI Payment Gateway API Explained: Payment API, Collect.js and Query API | NMI Support: Who to Contact for Gateway, Processor and Plugin Problems

Last reviewed November 2026.

NMI for WooCommerce

One plugin for both checkouts

NMI for WooCommerce supports the block and classic checkout on the Free plan.

See all featuresSee pricing

Free on WordPress.org. Pro adds saved cards and ACH.