PATH:
home
/
lab2454c
/
incforce.com
/
wp-content
/
plugins
/
paid-memberships-pro
/
js
var pmpro_recaptcha_validated = false; var pmpro_recaptcha_onSubmit = function(token) { if ( pmpro_recaptcha_validated ) { jQuery('#pmpro_form').submit(); return; } else { jQuery.ajax({ url: pmpro_recaptcha_v3.admin_ajax_url, type: 'GET', timeout: 30000, dataType: 'html', data: { 'action': 'pmpro_validate_recaptcha', 'g-recaptcha-response': token, }, error: function(xml){ alert('Error validating ReCAPTCHA.'); }, success: function(response){ if ( response == '1' ) { pmpro_recaptcha_validated = true; //get a new token to be submitted with the form grecaptcha.execute(); } else { pmpro_recaptcha_validated = false; //warn user validation failed alert( pmpro_recaptcha_v3.error_message ); //get a new token to be submitted with the form grecaptcha.execute(); } } }); } }; var pmpro_recaptcha_onloadCallback = function() { // Render on main submit button. grecaptcha.render('pmpro_btn-submit', { 'sitekey' : pmpro_recaptcha_v3.public_key, 'callback' : pmpro_recaptcha_onSubmit }); // Update other submit buttons. var submit_buttons = jQuery('.pmpro_btn-submit-checkout'); submit_buttons.each(function() { if(jQuery(this).attr('id') != 'pmpro_btn-submit') { jQuery(this).click(function(event) { event.preventDefault(); grecaptcha.execute(); }); } }); };
[-] pmpro-stripe.js
[edit]
[-] pmpro-admin.js
[edit]
[-] select2.min.js
[edit]
[-] pmpro-confirmation.js
[edit]
[+]
..
[-] pmpro-recaptcha-v3.js
[edit]
[-] pmpro-cancel.js
[edit]
[-] updates.js
[edit]
[-] jquery.creditCardValidator.js
[edit]
[-] pmpro-confetti.js
[edit]
[+]
blocks
[-] pmpro-login.js
[edit]
[-] pmpro-paypal.js
[edit]
[-] pmpro-braintree.js
[edit]
[-] jsapi.js
[edit]
[-] pmpro-recaptcha-v2.js
[edit]
[-] pmpro-checkout.js
[edit]
[-] corechart.js
[edit]