Custom validation not displaying feedback

[ad_1]

Issue raised here:

https://github.com/impress-org/givewp/discussions/6662

Feedback received:

It looks like that is a bug, which I was able to reproduce with the Classic Form Template.

So that you can be kept up to date with the status of this bug I would suggest that you open a support ticket. Our support team is best equipped to keep track of communicates with customers.

You can provide them with this reduced test case, which they can troubleshoot using the Classic Form Template.

add_action('give_checkout_error_checks', function($valid_data, $data) {
   give_set_error('my_error', __('Sorry, we are not collecting from your area.', 'give'));
}, 10, 2);

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer