NO BUG: Cannot display WooCommerce payment page (order-pay) for guest users in Bricks

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

My order-pay endpoint does not display anything when the visitor is logged out.
Instead of showing the WooCommerce payment page, Bricks outputs a completely blank page.

What I’ve confirmed:

  1. If I disable Bricks and switch to a default theme (Twenty Twenty-Four), the order-pay page loads correctly for guests.

  2. When Bricks is active, the same URL shows a blank page.

  3. I previously had a Bricks template assigned to “WooCommerce – Pay,” but even after deleting it, Bricks still overrides the order-pay endpoint.

  4. My checkout page is correctly assigned in WooCommerce → Settings → Advanced.

  5. I have flushed permalinks.

It looks like Bricks is still intercepting the order-pay endpoint instead of letting WooCommerce load the default template (woocommerce/checkout/form-pay.php).

Can you please help me understand how to:

  • force Bricks to let WooCommerce handle the order-pay endpoint

  • or correctly rebuild a Bricks template that does NOT override the core WooCommerce pay template

  • or fully disable Bricks routing for order-pay so that WooCommerce controls it

Step by Step to Reproduce the Problem

  1. Create a WooCommerce order as a guest (not logged in).

  2. Copy the order payment URL (example) via admin dashboard:

    https://mysite.com/checkout/order-pay/XXXX/?pay_for_order=true&key=wc_order_XXXXX
    
    
  3. Expected behavior:
    WooCommerce should display the payment page using the default template woocommerce/checkout/form-pay.php.

  4. Actual behavior in Bricks:
    The page renders completely blank when the user is logged out.

  5. If I disable Bricks and switch to Twenty Twenty-Four theme:

    • The exact same URL loads the WooCommerce payment form correctly.

    • Payment methods appear normally.

  6. Even after deleting the Bricks “WooCommerce – Pay” template,
    the blank page issue continues.

  7. Permalinks have been flushed.
    Checkout page is correctly assigned in WooCommerce settings.

Hi @fuad_syawal ,

As per our email conversation, the issue is coming from your child theme.

I marked this as “NO BUG”.

Thank you very much.

Regards,

Jenn