Skip to content

Commit 72cbb64

Browse files
committed
Merge remote-tracking branch 'origin/release/6.7.0' into trunk
2 parents 96b4aa6 + a9c6fc5 commit 72cbb64

File tree

7 files changed

+14
-8
lines changed

7 files changed

+14
-8
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module.exports = {
2+
root: true,
23
parser: '@babel/eslint-parser',
34
extends: [ 'plugin:@woocommerce/eslint-plugin/recommended' ],
45
globals: {

changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
*** Changelog ***
22

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+
37
= 6.6.0 - 2022-08-17 =
48
* Fix - Fix "Pending" text instead of numeric amount on Payment Request button on iOS.
59

includes/payment-methods/class-wc-stripe-payment-request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ public function get_normalized_postal_code( $postcode, $country ) {
522522
* @return void
523523
*/
524524
public function add_order_meta( $order_id, $posted_data ) {
525-
if ( empty( $_POST['payment_request_type'] ) ) {
525+
if ( empty( $_POST['payment_request_type'] ) || ! isset( $_POST['payment_method'] ) || 'stripe' !== $_POST['payment_method'] ) {
526526
return;
527527
}
528528

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "woocommerce-gateway-stripe",
33
"title": "WooCommerce Gateway Stripe",
4-
"version": "6.6.0",
4+
"version": "6.7.0",
55
"license": "GPL-3.0",
66
"homepage": "http://wordpress.org/plugins/woocommerce-gateway-stripe/",
77
"repository": {

readme.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: credit card, stripe, apple pay, payment request, google pay, sepa, sofort,
44
Requires at least: 5.7
55
Tested up to: 6.0
66
Requires PHP: 7.0
7-
Stable tag: 6.6.0
7+
Stable tag: 6.7.0
88
License: GPLv3
99
License URI: https://www.gnu.org/licenses/gpl-3.0.html
1010
Attributions: thorsten-stripe
@@ -128,7 +128,8 @@ If you get stuck, you can ask for help in the Plugin Forum.
128128

129129
== Changelog ==
130130

131-
= 6.6.0 - 2022-08-17 =
132-
* Fix - Fix "Pending" text instead of numeric amount on Payment Request button on iOS.
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.
133134

134135
[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-gateway-stripe/trunk/changelog.txt).

woocommerce-gateway-stripe.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Take credit card payments on your store using Stripe.
66
* Author: WooCommerce
77
* Author URI: https://woocommerce.com/
8-
* Version: 6.6.0
8+
* Version: 6.7.0
99
* Requires at least: 5.7
1010
* Tested up to: 6.0
1111
* WC requires at least: 6.2
@@ -21,7 +21,7 @@
2121
/**
2222
* Required minimums and constants
2323
*/
24-
define( 'WC_STRIPE_VERSION', '6.6.0' ); // WRCS: DEFINED_VERSION.
24+
define( 'WC_STRIPE_VERSION', '6.7.0' ); // WRCS: DEFINED_VERSION.
2525
define( 'WC_STRIPE_MIN_PHP_VER', '7.0.0' );
2626
define( 'WC_STRIPE_MIN_WC_VER', '6.2' );
2727
define( 'WC_STRIPE_FUTURE_MIN_WC_VER', '6.3' );

0 commit comments

Comments
 (0)