From fe3b768751aa016c9ad2695f0b761e7e3fae4eb1 Mon Sep 17 00:00:00 2001 From: roykho Date: Wed, 17 Oct 2018 08:00:30 -0700 Subject: [PATCH] Version bump --- changelog.txt | 3 +- .../admin/class-wc-stripe-admin-notices.php | 3 +- languages/woocommerce-gateway-stripe.pot | 31 ++++++++++++------- readme.txt | 22 ++++++++----- woocommerce-gateway-stripe.php | 4 +-- 5 files changed, 40 insertions(+), 23 deletions(-) diff --git a/changelog.txt b/changelog.txt index 693eb01a3..031974dfa 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,12 +1,13 @@ *** Changelog *** -= 4.1.11 - 2018-xx-xx = += 4.1.11 - 2018-10-17 = * Fix - Explicitly set 3DS source id to prevent 3DS source not charging when not required. * Fix - Prevent Stripe JS failed live/test check from throwing JS error. * Fix - Find order by source ID if charge ID is not found when cancelled webhook is triggered. * Fix - Partial refund on Stripe captured charge erroneously refunding total amount. * Fix - Capture charge on previously authorized charge, not showing Stripe fees. * Fix - Check if payment icons are set before trying to use them. +* Fix - Can't use method in write context errors. * Deprecate - Soft deprecated function is_pre_30 with is_wc_lt function. * Add - Ability to update all active subscription's payment method when adding a payment. * Add - Hook to show update all active subscription's payment method checkbox `wc_stripe_display_update_subs_payment_method_card_checkbox`. diff --git a/includes/admin/class-wc-stripe-admin-notices.php b/includes/admin/class-wc-stripe-admin-notices.php index 37fa1680e..e3f7c4f49 100644 --- a/includes/admin/class-wc-stripe-admin-notices.php +++ b/includes/admin/class-wc-stripe-admin-notices.php @@ -127,8 +127,7 @@ public function stripe_check_environment() { // To be removed 4.1.12. if ( empty( $show_styles_notice ) ) { if ( version_compare( WC_STRIPE_VERSION, '4.1.12', '<' ) ) { - /* translators: 1) int version 2) int version */ - $message = __( 'Howdy! We wanted to let you know about a change coming in WooCommerce Stripe:' . PHP_EOL . 'In the past, WooCommerce Stripe included styling elements for the checkout page, such as the spacing and logo positions, to make the checkout experience consistent for anyone using the extension. However, this limits the options for stores to style their checkout in the way that works for them.' . PHP_EOL . 'In the next release of WooCommerce Stripe (slated for MONTH YEAR), we will be removing these styling elements. To make sure your store continues to look great, you can test out how your theme would look by logging in as an administrator, add a product to the cart and going to the checkout page. Only you will be able to see these styles removed.', 'woocommerce-gateway-stripe' ); + $message = __( 'Action required: In January 2019 we will be introducing changes that could effect how Stripe looks in your checkout. Learn more about how to make sure your site continues to look great.', 'woocommerce-gateway-stripe' ); $this->add_admin_notice( 'styles', 'notice notice-warning', $message, true ); diff --git a/languages/woocommerce-gateway-stripe.pot b/languages/woocommerce-gateway-stripe.pot index 8621ddf15..5b3c32e9e 100644 --- a/languages/woocommerce-gateway-stripe.pot +++ b/languages/woocommerce-gateway-stripe.pot @@ -2,10 +2,10 @@ # This file is distributed under the same license as the WooCommerce Stripe Gateway package. msgid "" msgstr "" -"Project-Id-Version: WooCommerce Stripe Gateway 4.1.10\n" +"Project-Id-Version: WooCommerce Stripe Gateway 4.1.11\n" "Report-Msgid-Bugs-To: " "https://wordpress.org/support/plugin/woocommerce-gateway-stripe\n" -"POT-Creation-Date: 2018-10-13 03:38:09+00:00\n" +"POT-Creation-Date: 2018-10-17 15:00:09+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -100,25 +100,34 @@ msgid "" "%1$s. You are running %2$s." msgstr "" -#: includes/admin/class-wc-stripe-admin-notices.php:142 +#: includes/admin/class-wc-stripe-admin-notices.php:130 +msgid "" +"Action required: In January 2019 we will be introducing changes that could " +"effect how Stripe looks in your checkout. Learn more about how to make sure your site continues " +"to look great." +msgstr "" + +#: includes/admin/class-wc-stripe-admin-notices.php:141 #. translators: 1) int version 2) int version msgid "" "WooCommerce Stripe - The minimum WooCommerce version required for this " "plugin is %1$s. You are running %2$s." msgstr "" -#: includes/admin/class-wc-stripe-admin-notices.php:152 +#: includes/admin/class-wc-stripe-admin-notices.php:151 msgid "WooCommerce Stripe - cURL is not installed." msgstr "" -#: includes/admin/class-wc-stripe-admin-notices.php:162 +#: includes/admin/class-wc-stripe-admin-notices.php:161 #. translators: 1) link msgid "" "Stripe is almost ready. To get started, set your Stripe " "account keys." msgstr "" -#: includes/admin/class-wc-stripe-admin-notices.php:173 +#: includes/admin/class-wc-stripe-admin-notices.php:172 #. translators: 1) link msgid "" "Stripe is in test mode however your test keys may not be valid. Test keys " @@ -126,7 +135,7 @@ msgid "" "set your Stripe account keys." msgstr "" -#: includes/admin/class-wc-stripe-admin-notices.php:182 +#: includes/admin/class-wc-stripe-admin-notices.php:181 #. translators: 1) link msgid "" "Stripe is in live mode however your test keys may not be valid. Live keys " @@ -134,7 +143,7 @@ msgid "" "set your Stripe account keys." msgstr "" -#: includes/admin/class-wc-stripe-admin-notices.php:191 +#: includes/admin/class-wc-stripe-admin-notices.php:190 #. translators: 1) link msgid "" "Stripe is enabled, but a SSL certificate is not detected. Your checkout may " @@ -142,16 +151,16 @@ msgid "" "target=\"_blank\">SSL certificate" msgstr "" -#: includes/admin/class-wc-stripe-admin-notices.php:215 +#: includes/admin/class-wc-stripe-admin-notices.php:214 #. translators: %1$s Payment method, %2$s List of supported currencies msgid "%1$s is enabled - it requires store currency to be set to %2$s" msgstr "" -#: includes/admin/class-wc-stripe-admin-notices.php:229 +#: includes/admin/class-wc-stripe-admin-notices.php:228 msgid "Action failed. Please refresh the page and retry." msgstr "" -#: includes/admin/class-wc-stripe-admin-notices.php:233 +#: includes/admin/class-wc-stripe-admin-notices.php:232 msgid "Cheatin’ huh?" msgstr "" diff --git a/readme.txt b/readme.txt index 93a518db1..584f1d767 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: credit card, stripe, apple pay, payment request, google pay, sepa, sofort, Requires at least: 4.4 Tested up to: 4.9 Requires PHP: 5.6 -Stable tag: 4.1.10 +Stable tag: 4.1.11 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html Attributions: thorsten-stripe @@ -101,12 +101,20 @@ If you get stuck, you can ask for help in the Plugin Forum. == Changelog == -= 4.1.10 - 2018-09-17 = -* Fix - When 3DS card redirect status is "not_required", charge the 3DS source. -* Fix - Payment Request not validating quantity before payment sheet shows. -* Fix - Test mode info not showing when description field is left blank. -* Add - Filter for Payment Request localized parameters `wc_stripe_payment_request_params`. -* Update - Stripe API version to 2018-09-06. += 4.1.11 - 2018-10-17 = +* Fix - Explicitly set 3DS source id to prevent 3DS source not charging when not required. +* Fix - Prevent Stripe JS failed live/test check from throwing JS error. +* Fix - Find order by source ID if charge ID is not found when cancelled webhook is triggered. +* Fix - Partial refund on Stripe captured charge erroneously refunding total amount. +* Fix - Capture charge on previously authorized charge, not showing Stripe fees. +* Fix - Check if payment icons are set before trying to use them. +* Fix - Can't use method in write context errors. +* Deprecate - Soft deprecated function is_pre_30 with is_wc_lt function. +* Add - Ability to update all active subscription's payment method when adding a payment. +* Add - Hook to show update all active subscription's payment method checkbox `wc_stripe_display_update_subs_payment_method_card_checkbox`. +* Add - CSS minification. +* Update - WC 3.5 compatibility. +* Update - Stripe API version to 2018-09-24. [See changelog for all versions](https://raw.githubusercontent.com/woothemes/woocommerce-gateway-stripe/master/changelog.txt). diff --git a/woocommerce-gateway-stripe.php b/woocommerce-gateway-stripe.php index d27a5607f..5c56db120 100644 --- a/woocommerce-gateway-stripe.php +++ b/woocommerce-gateway-stripe.php @@ -5,7 +5,7 @@ * Description: Take credit card payments on your store using Stripe. * Author: WooCommerce * Author URI: https://woocommerce.com/ - * Version: 4.1.10 + * Version: 4.1.11 * Requires at least: 4.4 * Tested up to: 4.9 * WC requires at least: 2.6 @@ -46,7 +46,7 @@ function woocommerce_gateway_stripe_init() { /** * Required minimums and constants */ - define( 'WC_STRIPE_VERSION', '4.1.10' ); + define( 'WC_STRIPE_VERSION', '4.1.11' ); define( 'WC_STRIPE_MIN_PHP_VER', '5.6.0' ); define( 'WC_STRIPE_MIN_WC_VER', '2.6.0' ); define( 'WC_STRIPE_MAIN_FILE', __FILE__ );