phmazzoni
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
I had a problem like that with Postman plugin:
“error: Postman: wp_mail has been declared by another plugin or theme…”
I have commented the above line of poptin.php and it is stopped:
if (!function_exists(‘wp_get_current_user’)) {
// include(ABSPATH . “wp-includes/pluggable.php”);
}- This reply was modified 6 years, 4 months ago by phmazzoni.
Forum: Plugins
In reply to: [ReCaptcha Integration for WordPress] Woocommerce Checkout1.2.1
Forum: Plugins
In reply to: [ReCaptcha Integration for WordPress] Woocommerce CheckoutI have tried the following code:
// Add [recaptcha] shortcode if ( class_exists('WP_reCaptcha') ) add_shortcode( 'recaptcha' , array( WP_reCaptcha::instance() , 'recaptcha_html' ) ); // Customizing checkout fields using actions and filters add_action( 'woocommerce_after_order_notes', 'my_custom_checkout_field' ); function my_custom_checkout_field( $checkout ) { echo '<div id="my_captcha"><label>' . __('Captcha') . '</label>'; echo do_shortcode('[recaptcha]'); echo '</div>'; } add_action('woocommerce_checkout_process', 'my_custom_checkout_field_process'); // Valided error function my_custom_checkout_field_process() { // Check if set, if its not set add an error. if ( !WP_reCaptcha::instance()->recaptcha_check() ) wc_add_notice( __( 'Please enter correct captcha.' ), 'error' ); }
With this it appeared, but it not validating the click and is raising a error:
“Error: Invalid ReCAPTCHA client id: 0”
Forum: Plugins
In reply to: [Invisible reCaptcha for WordPress] Recaptcha on Checkout PageIs it possible to you provide some Snippet to do it?
Forum: Plugins
In reply to: [Invisible reCaptcha for WordPress] Recaptcha on Checkout PageActually is to prevent frauds.
My Credit Card Gateway asked me to do so.
Viewing 5 replies - 1 through 5 (of 5 total)