• Resolved colinfroggatt

    (@colinfroggatt)


    Hi, I have some custom fields on my checkout page. When Paypal payment (or any payment from this plugin) is selected, the standard Woo fields are validated, but the custom fields are not. If I switch back to a standard Woo payment method, then all fields are validated.

    I have tested with only essential plugins and same behavior is present.

    My field validation is hooked using ‘woocommerce_checkout_process’ action. This is not called by your plugin during the normal validation cycle. It is by the woo payment methods.

    Is this the correct hook to be using for your plugin? I have read other topics here where you mention ‘early validation’ and I wonder if there is a different hook that is called.

    Any help or insight greatly appreciated.

    thanks, Colin

    Env:
    WP 6.3.1
    WooCommerce PayPal Payments: 2.2.2
    Woo 8.1.
    PHP 8.0

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom required fields not being validated’ is closed to new replies.