WooCommerce PayPal Express Checkout Payment Gateway - Version 1.5.6

Version Description

  • 2018-06-06 =
  • Fix - Virtual products cause issues with billing details validation.
Download this release

Release Info

Developer bor0
Plugin Icon 128x128 WooCommerce PayPal Express Checkout Payment Gateway
Version 1.5.6
Comparing to
See all releases

Code changes from version 1.5.5 to 1.5.6

changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
  *** Changelog ***
2
 
 
 
 
3
  = 1.5.5 - 2018-05-23 =
4
  * Update - WC 3.4 compatibility
5
  * Update - Privacy policy notification.
1
  *** Changelog ***
2
 
3
+ = 1.5.6 - 2018-06-06 =
4
+ * Fix - Virtual products cause issues with billing details validation.
5
+
6
  = 1.5.5 - 2018-05-23 =
7
  * Update - WC 3.4 compatibility
8
  * Update - Privacy policy notification.
includes/class-wc-gateway-ppec-checkout-handler.php CHANGED
@@ -124,7 +124,7 @@ class WC_Gateway_PPEC_Checkout_Handler {
124
  return $fields;
125
  }
126
 
127
- if ( ! apply_filters( 'woocommerce_paypal_express_checkout_address_not_required', false ) ) {
128
  return $fields;
129
  }
130
 
124
  return $fields;
125
  }
126
 
127
+ if ( ! apply_filters( 'woocommerce_paypal_express_checkout_address_not_required', ! WC_Gateway_PPEC_Plugin::needs_shipping() ) ) {
128
  return $fields;
129
  }
130
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: automattic, woothemes, akeda, dwainm, royho, allendav, slash1andy,
3
  Tags: ecommerce, e-commerce, commerce, woothemes, wordpress ecommerce, store, sales, sell, shop, shopping, cart, checkout, configurable, paypal
4
  Requires at least: 4.4
5
  Tested up to: 4.9.0
6
- Stable tag: 1.5.5
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -93,6 +93,9 @@ Please use this to inform us about bugs, or make contributions via PRs.
93
 
94
  == Changelog ==
95
 
 
 
 
96
  = 1.5.5 - 2018-05-23 =
97
  * Update - WC 3.4 compatibility
98
  * Update - Privacy policy notification.
3
  Tags: ecommerce, e-commerce, commerce, woothemes, wordpress ecommerce, store, sales, sell, shop, shopping, cart, checkout, configurable, paypal
4
  Requires at least: 4.4
5
  Tested up to: 4.9.0
6
+ Stable tag: 1.5.6
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
93
 
94
  == Changelog ==
95
 
96
+ = 1.5.6 - 2018-06-06 =
97
+ * Fix - Virtual products cause issues with billing details validation.
98
+
99
  = 1.5.5 - 2018-05-23 =
100
  * Update - WC 3.4 compatibility
101
  * Update - Privacy policy notification.
woocommerce-gateway-paypal-express-checkout.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WooCommerce PayPal Express Checkout Gateway
4
  * Plugin URI: https://woocommerce.com/products/woocommerce-gateway-paypal-express-checkout/
5
  * Description: A payment gateway for PayPal Express Checkout (https://www.paypal.com/us/webapps/mpp/express-checkout).
6
- * Version: 1.5.5
7
  * Author: WooCommerce
8
  * Author URI: https://woocommerce.com
9
  * Copyright: © 2018 WooCommerce / PayPal.
@@ -27,7 +27,7 @@ if ( ! defined( 'ABSPATH' ) ) {
27
  exit; // Exit if accessed directly
28
  }
29
 
30
- define( 'WC_GATEWAY_PPEC_VERSION', '1.5.5' );
31
 
32
  /**
33
  * Return instance of WC_Gateway_PPEC_Plugin.
3
  * Plugin Name: WooCommerce PayPal Express Checkout Gateway
4
  * Plugin URI: https://woocommerce.com/products/woocommerce-gateway-paypal-express-checkout/
5
  * Description: A payment gateway for PayPal Express Checkout (https://www.paypal.com/us/webapps/mpp/express-checkout).
6
+ * Version: 1.5.6
7
  * Author: WooCommerce
8
  * Author URI: https://woocommerce.com
9
  * Copyright: © 2018 WooCommerce / PayPal.
27
  exit; // Exit if accessed directly
28
  }
29
 
30
+ define( 'WC_GATEWAY_PPEC_VERSION', '1.5.6' );
31
 
32
  /**
33
  * Return instance of WC_Gateway_PPEC_Plugin.