Paid Memberships Pro - Version 1.8.13.3

Version Description

Download this release

Release Info

Developer strangerstudios
Plugin Icon 128x128 Paid Memberships Pro
Version 1.8.13.3
Comparing to
See all releases

Code changes from version 1.8.13.2 to 1.8.13.3

classes/gateways/class.pmprogateway_stripe.php CHANGED
@@ -273,8 +273,7 @@
273
  event.preventDefault();
274
 
275
  //double check in case a discount code made the level free
276
- if(pmpro_require_billing)
277
- {
278
  //build array for creating token
279
  var args = {
280
  number: jQuery('#AccountNumber').val(),
@@ -316,9 +315,10 @@
316
 
317
  // prevent the form from submitting with the default action
318
  return false;
319
- }
320
- else
321
  return true; //not using Stripe anymore
 
322
  });
323
  });
324
 
273
  event.preventDefault();
274
 
275
  //double check in case a discount code made the level free
276
+ if(pmpro_require_billing) {
 
277
  //build array for creating token
278
  var args = {
279
  number: jQuery('#AccountNumber').val(),
315
 
316
  // prevent the form from submitting with the default action
317
  return false;
318
+ } else {
319
+ this.submit();
320
  return true; //not using Stripe anymore
321
+ }
322
  });
323
  });
324
 
paid-memberships-pro.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Paid Memberships Pro
4
  Plugin URI: http://www.paidmembershipspro.com
5
  Description: Plugin to Handle Memberships
6
- Version: 1.8.13.2
7
  Author: Stranger Studios
8
  Author URI: http://www.strangerstudios.com
9
  Text Domain: pmpro
@@ -15,7 +15,7 @@ Domain Path: /languages
15
  */
16
 
17
  //version constant
18
- define("PMPRO_VERSION", "1.8.13.2");
19
  define("PMPRO_USER_AGENT", "Paid Memberships Pro v" . PMPRO_VERSION . "; " . site_url());
20
 
21
  //if the session has been started yet, start it (ignore if running from command line)
3
  Plugin Name: Paid Memberships Pro
4
  Plugin URI: http://www.paidmembershipspro.com
5
  Description: Plugin to Handle Memberships
6
+ Version: 1.8.13.3
7
  Author: Stranger Studios
8
  Author URI: http://www.strangerstudios.com
9
  Text Domain: pmpro
15
  */
16
 
17
  //version constant
18
+ define("PMPRO_VERSION", "1.8.13.3");
19
  define("PMPRO_USER_AGENT", "Paid Memberships Pro v" . PMPRO_VERSION . "; " . site_url());
20
 
21
  //if the session has been started yet, start it (ignore if running from command line)
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: strangerstudios
3
  Tags: memberships, membership, authorize.net, ecommerce, paypal, stripe, braintree, restrict access, restrict content, directory site, payflow
4
  Requires at least: 3.5
5
- Tested up to: 4.7
6
- Stable tag: 1.8.13.2
7
 
8
  A revenue-generating machine for membership sites. Unlimited levels with recurring payment, protected content and member management.
9
 
@@ -116,6 +116,9 @@ Not sure? You can find out by doing a bit a research.
116
 
117
  == Changelog ==
118
 
 
 
 
119
  = 1.8.13.2 =
120
  * BUG: Fixed bug with updating credit cards through Braintree.
121
  * BUG: Fixed bug with updating credit cards through Stripe.
2
  Contributors: strangerstudios
3
  Tags: memberships, membership, authorize.net, ecommerce, paypal, stripe, braintree, restrict access, restrict content, directory site, payflow
4
  Requires at least: 3.5
5
+ Tested up to: 4.7.1
6
+ Stable tag: 1.8.13.3
7
 
8
  A revenue-generating machine for membership sites. Unlimited levels with recurring payment, protected content and member management.
9
 
116
 
117
  == Changelog ==
118
 
119
+ = 1.8.13.2 =
120
+ * BUG: Fixed bug when using a secondary gateway (e.g. PayPal Express) with Stripe as your primary gateway.
121
+
122
  = 1.8.13.2 =
123
  * BUG: Fixed bug with updating credit cards through Braintree.
124
  * BUG: Fixed bug with updating credit cards through Stripe.