Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter aliwebdesarrollo

    (@aliwebdesarrollo)

    Hi there,

    I’m from Argentina. All the persons how try to make a payment (where 3 in 3 different places wi 3 different credit cards) all have the same error but the strange thing is that when i test it with the Test Credit Cards numbers that Mercadopago provides in his website (even those of Tarjeta Naranja) the transaction result successful.

    First i belive that it could be because the account client maybe was not approve to be in production state but i checkit and they are enabled.

    The method we are using is Credit Card and Default.

    Thread Starter aliwebdesarrollo

    (@aliwebdesarrollo)

    The solution will be something like this i suppouse, the file i modify is admin/menu.php

    at the line 100 where is asked if is_admin you have to modify and put something like:

    function xyz_cfm_add_admin_scripts()
    	{
    		wp_enqueue_script('jquery');
    
    		wp_register_script( 'xyz_notice_script', plugins_url('contact-form-manager/js/notice.js') );
    		wp_enqueue_script( 'xyz_notice_script' );
    
    		wp_register_script( 'xyz_tooltip_script', plugins_url('contact-form-manager/js/tooltip.js') );
    		wp_enqueue_script( 'xyz_tooltip_script' );
    	}
    
    	add_action("admin_enqueue_scripts","xyz_cfm_add_admin_scripts");

    and if you want jquery too you may have to do this:

    function xyz_cfm_add_scripts()
    {
    		wp_enqueue_script('jquery');
    }
    
    add_action("wp_enqueue_scripts","xyz_cfm_add_scripts");
Viewing 2 replies - 1 through 2 (of 2 total)