WooCommerce Stripe Payment Gateway - Version 4.1.12

Version Description

  • 2018-10-19 =
  • Fix - Typo on notice banner.
  • Fix - On auth/capture scenario, error can occur when completing the order in backend.

See changelog for all versions.

=

Download this release

Release Info

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

Code changes from version 4.1.11 to 4.1.12

changelog.txt CHANGED
@@ -1,5 +1,9 @@
1
  *** Changelog ***
2
 
 
 
 
 
3
  = 4.1.11 - 2018-10-17 =
4
  * Fix - Explicitly set 3DS source id to prevent 3DS source not charging when not required.
5
  * Fix - Prevent Stripe JS failed live/test check from throwing JS error.
1
  *** Changelog ***
2
 
3
+ = 4.1.12 - 2018-10-19 =
4
+ * Fix - Typo on notice banner.
5
+ * Fix - On auth/capture scenario, error can occur when completing the order in backend.
6
+
7
  = 4.1.11 - 2018-10-17 =
8
  * Fix - Explicitly set 3DS source id to prevent 3DS source not charging when not required.
9
  * Fix - Prevent Stripe JS failed live/test check from throwing JS error.
includes/admin/class-wc-stripe-admin-notices.php CHANGED
@@ -127,7 +127,7 @@ class WC_Stripe_Admin_Notices {
127
  // To be removed 4.1.12.
128
  if ( empty( $show_styles_notice ) ) {
129
  if ( version_compare( WC_STRIPE_VERSION, '4.1.12', '<' ) ) {
130
- $message = __( 'Action required: In January 2019 we will be introducing changes that could effect how Stripe looks in your checkout. <a href="https://docs.woocommerce.com/document/stripe/#section-45" target="_blank">Learn more</a> about how to make sure your site continues to look great.', 'woocommerce-gateway-stripe' );
131
 
132
  $this->add_admin_notice( 'styles', 'notice notice-warning', $message, true );
133
 
127
  // To be removed 4.1.12.
128
  if ( empty( $show_styles_notice ) ) {
129
  if ( version_compare( WC_STRIPE_VERSION, '4.1.12', '<' ) ) {
130
+ $message = __( 'Action required: In January 2019 we will be introducing changes that could affect how Stripe looks in your checkout. <a href="https://docs.woocommerce.com/document/stripe/#section-45" target="_blank">Learn more</a> about how to make sure your site continues to look great.', 'woocommerce-gateway-stripe' );
131
 
132
  $this->add_admin_notice( 'styles', 'notice notice-warning', $message, true );
133
 
includes/class-wc-stripe-order-handler.php CHANGED
@@ -270,7 +270,7 @@ class WC_Stripe_Order_Handler extends WC_Stripe_Payment_Gateway {
270
  // Store other data such as fees
271
  WC_Stripe_Helper::is_wc_lt( '3.0' ) ? update_post_meta( $order_id, '_transaction_id', $result->id ) : $order->set_transaction_id( $result->id );
272
 
273
- $this->update_fees( $order, $result->balance_transaction );
274
  }
275
 
276
  // This hook fires when admin manually changes order status to processing or completed.
270
  // Store other data such as fees
271
  WC_Stripe_Helper::is_wc_lt( '3.0' ) ? update_post_meta( $order_id, '_transaction_id', $result->id ) : $order->set_transaction_id( $result->id );
272
 
273
+ $this->update_fees( $order, $result->balance_transaction->id );
274
  }
275
 
276
  // This hook fires when admin manually changes order status to processing or completed.
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: credit card, stripe, apple pay, payment request, google pay, sepa, sofort,
4
  Requires at least: 4.4
5
  Tested up to: 4.9
6
  Requires PHP: 5.6
7
- Stable tag: 4.1.11
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
  Attributions: thorsten-stripe
@@ -101,20 +101,9 @@ If you get stuck, you can ask for help in the Plugin Forum.
101
 
102
  == Changelog ==
103
 
104
- = 4.1.11 - 2018-10-17 =
105
- * Fix - Explicitly set 3DS source id to prevent 3DS source not charging when not required.
106
- * Fix - Prevent Stripe JS failed live/test check from throwing JS error.
107
- * Fix - Find order by source ID if charge ID is not found when cancelled webhook is triggered.
108
- * Fix - Partial refund on Stripe captured charge erroneously refunding total amount.
109
- * Fix - Capture charge on previously authorized charge, not showing Stripe fees.
110
- * Fix - Check if payment icons are set before trying to use them.
111
- * Fix - Can't use method in write context errors.
112
- * Deprecate - Soft deprecated function is_pre_30 with is_wc_lt function.
113
- * Add - Ability to update all active subscription's payment method when adding a payment.
114
- * Add - Hook to show update all active subscription's payment method checkbox `wc_stripe_display_update_subs_payment_method_card_checkbox`.
115
- * Add - CSS minification.
116
- * Update - WC 3.5 compatibility.
117
- * Update - Stripe API version to 2018-09-24.
118
 
119
  [See changelog for all versions](https://raw.githubusercontent.com/woothemes/woocommerce-gateway-stripe/master/changelog.txt).
120
 
4
  Requires at least: 4.4
5
  Tested up to: 4.9
6
  Requires PHP: 5.6
7
+ Stable tag: 4.1.12
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
  Attributions: thorsten-stripe
101
 
102
  == Changelog ==
103
 
104
+ = 4.1.12 - 2018-10-19 =
105
+ * Fix - Typo on notice banner.
106
+ * Fix - On auth/capture scenario, error can occur when completing the order in backend.
 
 
 
 
 
 
 
 
 
 
 
107
 
108
  [See changelog for all versions](https://raw.githubusercontent.com/woothemes/woocommerce-gateway-stripe/master/changelog.txt).
109
 
woocommerce-gateway-stripe.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Take credit card payments on your store using Stripe.
6
  * Author: WooCommerce
7
  * Author URI: https://woocommerce.com/
8
- * Version: 4.1.11
9
  * Requires at least: 4.4
10
  * Tested up to: 4.9
11
  * WC requires at least: 2.6
@@ -46,7 +46,7 @@ function woocommerce_gateway_stripe_init() {
46
  /**
47
  * Required minimums and constants
48
  */
49
- define( 'WC_STRIPE_VERSION', '4.1.11' );
50
  define( 'WC_STRIPE_MIN_PHP_VER', '5.6.0' );
51
  define( 'WC_STRIPE_MIN_WC_VER', '2.6.0' );
52
  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: 4.1.12
9
  * Requires at least: 4.4
10
  * Tested up to: 4.9
11
  * WC requires at least: 2.6
46
  /**
47
  * Required minimums and constants
48
  */
49
+ define( 'WC_STRIPE_VERSION', '4.1.12' );
50
  define( 'WC_STRIPE_MIN_PHP_VER', '5.6.0' );
51
  define( 'WC_STRIPE_MIN_WC_VER', '2.6.0' );
52
  define( 'WC_STRIPE_MAIN_FILE', __FILE__ );