• Resolved ts0n

    (@ts0n)


    After submitting checkout form, plugin does it’s own JavaScript validation and throws “Please fill out all required fields.” message. Is it possible to disable this and proceed with woocommerce native functionality?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @ts0n

    The overwhelming feedback we’ve received from merchants is why we added the validation. They didn’t like how the form could be submitted to the server when fields were missing values. They preferred to have the plugin do it client side.

    If you can describe why you want the validations turned off we can look into adding that as an option.

    Kind regards

    Kind regards

    Thread Starter ts0n

    (@ts0n)

    Hi @mrclayton

    1. When you enter invalid credentials to card input, then the page scrolls to “Please fill out all required fields.” notice and distracts user from the section the error actual is (Payment method section). That is not a good UX. It should display an error message under Stripe card input in payment methods, without throwing a form notice and scrolling to it.

    2. If you enter valid card credentials then front-end validation continues to exist without letting WooCommerce to display it’s native notices and highlight the invalid inputs in billing details etc. That also distracts user.

    You can see how WooCommerce Stripe Payment Gateway handles this process.

    Other than that your plugin is much better than WooCommerce Stripe Payment Gateway with much more options etc

    But I really need a good UX

    Plugin Author Payment Plugins

    (@mrclayton)

    2. After several years the feedback we received that led to this validation. Originally the plugin left all validation up to WC but merchants didn’t want that. There’s also technical reasons for this related to fraud detection etc that I won’t go into here.

    Regarding the location of the validation notice, we’ll look into adding the ability to change that for improved UX.

    Kind regards

    Plugin Author Payment Plugins

    (@mrclayton)

    The next version has an option to select where the card validation errors appear. You can reach out to us via the Help button in the plugin settings if you want to help test.

    Thread Starter ts0n

    (@ts0n)

    @mrclayton

    Thank you very much!
    This option is very helpful for me

    I have one more improvement suggestion related to this topic.

    If credit card payment method is selected, Payment Plugins for Stripe WooCommerce throws: “Please fill out all required fields.”

    If other payment method is selected WooCommerce throws:
    “Wocommerce’s default notice”

    As a result user might see different validation messages for the same reason (missing fields).

    It would be more accurate and UX valid, if Payment Plugins for Stripe WooCommerce notice was the same as Wocommerce’s default one, even after optional woocommerce_after_checkout_validation filter.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Use native woocommerce validation’ is closed to new replies.