WooCommerce Stripe Payment Gateway - Version 6.7.0

Version Description

  • 2022-09-06 =
  • Fix - Check payment method before updating payment method title.
  • Fix - Use the eslint config at the root of the repo.

See changelog for all versions.

Download this release

Release Info

Developer automattic
Plugin Icon 128x128 WooCommerce Stripe Payment Gateway
Version 6.7.0
Comparing to
See all releases

Code changes from version 6.6.0 to 6.7.0

build/payment_gateways.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('react', 'react-dom', 'wc-navigation', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'ebc40a491a2b31ece334a9d7d7f36680');
1
+ <?php return array('dependencies' => array('react', 'react-dom', 'wc-navigation', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '86978df4ba69ff4f6bbc883acd3a1fcb');
build/payment_requests_settings.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('react', 'react-dom', 'wc-navigation', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'b0d701e755959e2b3e624aefd07bc8e9');
1
+ <?php return array('dependencies' => array('react', 'react-dom', 'wc-navigation', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '398f96d5f5ba200e4b7ccc7a970d603f');
build/upe_settings.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wc-currency', 'wc-navigation', 'wc-store-data', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '00be45711300b8bb024f5d86d9e339e6');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wc-currency', 'wc-navigation', 'wc-store-data', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '98aa34e26755004235546d3651da02df');
changelog.txt CHANGED
@@ -1,5 +1,9 @@
1
  *** Changelog ***
2
 
 
 
 
 
3
  = 6.6.0 - 2022-08-17 =
4
  * Fix - Fix "Pending" text instead of numeric amount on Payment Request button on iOS.
5
 
1
  *** Changelog ***
2
 
3
+ = 6.7.0 - 2022-09-06 =
4
+ * Fix - Check payment method before updating payment method title.
5
+ * Fix - Use the eslint config at the root of the repo.
6
+
7
  = 6.6.0 - 2022-08-17 =
8
  * Fix - Fix "Pending" text instead of numeric amount on Payment Request button on iOS.
9
 
includes/payment-methods/class-wc-stripe-payment-request.php CHANGED
@@ -522,7 +522,7 @@ class WC_Stripe_Payment_Request {
522
  * @return void
523
  */
524
  public function add_order_meta( $order_id, $posted_data ) {
525
- if ( empty( $_POST['payment_request_type'] ) ) {
526
  return;
527
  }
528
 
522
  * @return void
523
  */
524
  public function add_order_meta( $order_id, $posted_data ) {
525
+ if ( empty( $_POST['payment_request_type'] ) || ! isset( $_POST['payment_method'] ) || 'stripe' !== $_POST['payment_method'] ) {
526
  return;
527
  }
528
 
languages/woocommerce-gateway-stripe.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the WooCommerce Stripe Gateway plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Stripe Gateway 6.6.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-gateway-stripe\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2022-08-17T22:43:10+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.5.0\n"
15
  "X-Domain: woocommerce-gateway-stripe\n"
2
  # This file is distributed under the same license as the WooCommerce Stripe Gateway plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Stripe Gateway 6.7.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-gateway-stripe\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2022-09-06T15:41:36+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.5.0\n"
15
  "X-Domain: woocommerce-gateway-stripe\n"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: credit card, stripe, apple pay, payment request, google pay, sepa, sofort,
4
  Requires at least: 5.7
5
  Tested up to: 6.0
6
  Requires PHP: 7.0
7
- Stable tag: 6.6.0
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
  Attributions: thorsten-stripe
@@ -128,7 +128,8 @@ If you get stuck, you can ask for help in the Plugin Forum.
128
 
129
  == Changelog ==
130
 
131
- = 6.6.0 - 2022-08-17 =
132
- * Fix - Fix "Pending" text instead of numeric amount on Payment Request button on iOS.
 
133
 
134
  [See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-gateway-stripe/trunk/changelog.txt).
4
  Requires at least: 5.7
5
  Tested up to: 6.0
6
  Requires PHP: 7.0
7
+ Stable tag: 6.7.0
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
  Attributions: thorsten-stripe
128
 
129
  == Changelog ==
130
 
131
+ = 6.7.0 - 2022-09-06 =
132
+ * Fix - Check payment method before updating payment method title.
133
+ * Fix - Use the eslint config at the root of the repo.
134
 
135
  [See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-gateway-stripe/trunk/changelog.txt).
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: 6.6.0
9
  * Requires at least: 5.7
10
  * Tested up to: 6.0
11
  * WC requires at least: 6.2
@@ -21,7 +21,7 @@ if ( ! defined( 'ABSPATH' ) ) {
21
  /**
22
  * Required minimums and constants
23
  */
24
- define( 'WC_STRIPE_VERSION', '6.6.0' ); // WRCS: DEFINED_VERSION.
25
  define( 'WC_STRIPE_MIN_PHP_VER', '7.0.0' );
26
  define( 'WC_STRIPE_MIN_WC_VER', '6.2' );
27
  define( 'WC_STRIPE_FUTURE_MIN_WC_VER', '6.3' );
5
  * Description: Take credit card payments on your store using Stripe.
6
  * Author: WooCommerce
7
  * Author URI: https://woocommerce.com/
8
+ * Version: 6.7.0
9
  * Requires at least: 5.7
10
  * Tested up to: 6.0
11
  * WC requires at least: 6.2
21
  /**
22
  * Required minimums and constants
23
  */
24
+ define( 'WC_STRIPE_VERSION', '6.7.0' ); // WRCS: DEFINED_VERSION.
25
  define( 'WC_STRIPE_MIN_PHP_VER', '7.0.0' );
26
  define( 'WC_STRIPE_MIN_WC_VER', '6.2' );
27
  define( 'WC_STRIPE_FUTURE_MIN_WC_VER', '6.3' );