Skip to content

cart-checkout-validation not working [ checkout completed with error ] #558

Open

Description

@xiddixaid

Which template or example

cart-checkout-validation

Describe the bug

I am able to complete checkout when there is a validation error

Expected behavior

Checkout button should be disabled when there is validation error on checkout. or should not allow customer to complete checkout when there is validation error implemented through cart-checkout-validation function

Environment

  • Windows
  • Shopify CLI version: 3.63.1

Activity

  1. smshahriar10 commented on Oct 5, 2024

    @smshahriar10

    @xiddixaid are you sure the order went through successfully even though you saw an error message from your cart-checkout-validation function?

  2. xiddixaid commented on Oct 5, 2024

    @xiddixaid
    Author

    @xiddixaid are you sure the order went through successfully even though you saw an error message from your cart-checkout-validation function?

    A Few days before shopify fixed the issue but only fixed on "Buy it now" button (fixed but showing a strange popup error). But If you proceed to checkout through cart or checkout link it shows customer error but also allow customer to complete checkout.

  3. jayvin commented on Jan 21, 2025

    @jayvin

    Noticed the same issue:

    1. One step checkout layout, error message appears and the customer can complete the checkout (not good)
    2. On multi step checkout layout, error message appears and the customer can not complete the checkout (good)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions