Payment Form for PayPal Pro - Version 1.1.35

Version Description

  • Fixed captcha reloading issue

=

Download this release

Release Info

Developer codepeople
Plugin Icon 128x128 Payment Form for PayPal Pro
Version 1.1.35
Comparing to
See all releases

Code changes from version 1.1.34 to 1.1.35

Files changed (3) hide show
  1. README.txt +5 -2
  2. cp_ppp.php +1 -1
  3. cp_ppp_public_int.inc.php +1 -1
README.txt CHANGED
@@ -233,7 +233,10 @@ A: In all plugin versions you can turn off IP tracking to avoid saving that user
233
  = 1.1.34 =
234
  * Fixed conflict with autoptimize plugin
235
 
 
 
 
236
  == Upgrade Notice ==
237
 
238
- = 1.1.34 =
239
- * Fixed conflict with autoptimize plugin
233
  = 1.1.34 =
234
  * Fixed conflict with autoptimize plugin
235
 
236
+ = 1.1.35 =
237
+ * Fixed captcha reloading issue
238
+
239
  == Upgrade Notice ==
240
 
241
+ = 1.1.35 =
242
+ * Fixed captcha reloading issue
cp_ppp.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Payment Form for PayPal Pro
4
  Plugin URI: https://wordpress.dwbooster.com/forms/paypal-payment-pro-form
5
  Description: Payment Form for PayPal Pro to accept credit cards directly into your website. Official PayPal Partner.
6
- Version: 1.1.34
7
  Author: CodePeople
8
  Author URI: https://wordpress.dwbooster.com/forms/payment-form-for-paypal-pro
9
  License: GPL
3
  Plugin Name: Payment Form for PayPal Pro
4
  Plugin URI: https://wordpress.dwbooster.com/forms/paypal-payment-pro-form
5
  Description: Payment Form for PayPal Pro to accept credit cards directly into your website. Official PayPal Partner.
6
+ Version: 1.1.35
7
  Author: CodePeople
8
  Author URI: https://wordpress.dwbooster.com/forms/payment-form-for-paypal-pro
9
  License: GPL
cp_ppp_public_int.inc.php CHANGED
@@ -59,7 +59,7 @@ $raw_form_str = str_replace('"','"',esc_attr($raw_form_str));
59
  }).responseText;
60
  if (result.indexOf("captchafailed") != -1)
61
  {
62
- $dexQuery("#captchaimg<?php echo $CP_CPP_global_form_count; ?>").attr('src', $dexQuery("#captchaimg<?php echo $CP_CPP_global_form_count; ?>").attr('src')+'&'+Date());
63
  //alert('<?php _e('Incorrect captcha code. Please try again.'); ?>');
64
  setTimeout( "cp_ppp_cerror('<?php echo $CP_CPP_global_form_count; ?>')", 100);
65
  return false;
59
  }).responseText;
60
  if (result.indexOf("captchafailed") != -1)
61
  {
62
+ $dexQuery("#captchaimg<?php echo $CP_CPP_global_form_count; ?>").attr('src', $dexQuery("#captchaimg<?php echo $CP_CPP_global_form_count; ?>").attr('src')+'&'+Math.floor((Math.random() * 99999) + 1));
63
  //alert('<?php _e('Incorrect captcha code. Please try again.'); ?>');
64
  setTimeout( "cp_ppp_cerror('<?php echo $CP_CPP_global_form_count; ?>')", 100);
65
  return false;