WooCommerce Stripe Payment Gateway - Version 3.2.3

Version Description

  • 2017-08-23 =
  • Fix - Apple Pay action hook with wrong parameter causing errors.
Download this release

Release Info

Developer royho
Plugin Icon 128x128 WooCommerce Stripe Payment Gateway
Version 3.2.3
Comparing to
See all releases

Code changes from version 3.2.2 to 3.2.3

includes/class-wc-stripe-apple-pay.php CHANGED
@@ -929,7 +929,9 @@ class WC_Stripe_Apple_Pay extends WC_Gateway_Stripe {
929
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
930
  do_action( 'woocommerce_add_order_item_meta', $item_id, $values, $cart_item_key );
931
  } else {
932
- do_action( 'woocommerce_new_order_item', $item_id, wc_get_product( $item_id ), $order->get_id() );
 
 
933
  }
934
  }
935
 
929
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
930
  do_action( 'woocommerce_add_order_item_meta', $item_id, $values, $cart_item_key );
931
  } else {
932
+ $item = WC_Order_Factory::get_order_item( $item_id );
933
+
934
+ do_action( 'woocommerce_new_order_item', $item_id, $item, $order->get_id() );
935
  }
936
  }
937
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: automattic, woothemes, mikejolley, akeda, royho, mattyza, slash1an
3
  Tags: credit card, stripe, woocommerce
4
  Requires at least: 4.4
5
  Tested up to: 4.8
6
- Stable tag: 3.2.2
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -95,6 +95,9 @@ If you get stuck, you can ask for help in the Plugin Forum.
95
 
96
  == Changelog ==
97
 
 
 
 
98
  = 3.2.2 - 2017-07-11 =
99
  * Fix - Apple Pay button displaying in non Safari browser.
100
  * Fix - Apple Pay with coupon not applying to total.
3
  Tags: credit card, stripe, woocommerce
4
  Requires at least: 4.4
5
  Tested up to: 4.8
6
+ Stable tag: 3.2.3
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
95
 
96
  == Changelog ==
97
 
98
+ = 3.2.3 - 2017-08-23 =
99
+ * Fix - Apple Pay action hook with wrong parameter causing errors.
100
+
101
  = 3.2.2 - 2017-07-11 =
102
  * Fix - Apple Pay button displaying in non Safari browser.
103
  * Fix - Apple Pay with coupon not applying to total.
woocommerce-gateway-stripe.php CHANGED
@@ -5,9 +5,11 @@
5
  * Description: Take credit card payments on your store using Stripe.
6
  * Author: WooCommerce
7
  * Author URI: https://woocommerce.com/
8
- * Version: 3.2.2
9
  * Requires at least: 4.4
10
  * Tested up to: 4.8
 
 
11
  * Text Domain: woocommerce-gateway-stripe
12
  * Domain Path: /languages
13
  *
@@ -34,7 +36,7 @@ if ( ! defined( 'ABSPATH' ) ) {
34
  /**
35
  * Required minimums and constants
36
  */
37
- define( 'WC_STRIPE_VERSION', '3.2.2' );
38
  define( 'WC_STRIPE_MIN_PHP_VER', '5.6.0' );
39
  define( 'WC_STRIPE_MIN_WC_VER', '2.5.0' );
40
  define( 'WC_STRIPE_MAIN_FILE', __FILE__ );
5
  * Description: Take credit card payments on your store using Stripe.
6
  * Author: WooCommerce
7
  * Author URI: https://woocommerce.com/
8
+ * Version: 3.2.3
9
  * Requires at least: 4.4
10
  * Tested up to: 4.8
11
+ * WC requires at least: 2.5
12
+ * WC tested up to: 3.1
13
  * Text Domain: woocommerce-gateway-stripe
14
  * Domain Path: /languages
15
  *
36
  /**
37
  * Required minimums and constants
38
  */
39
+ define( 'WC_STRIPE_VERSION', '3.2.3' );
40
  define( 'WC_STRIPE_MIN_PHP_VER', '5.6.0' );
41
  define( 'WC_STRIPE_MIN_WC_VER', '2.5.0' );
42
  define( 'WC_STRIPE_MAIN_FILE', __FILE__ );