WooCommerce Stripe Payment Gateway - Version 6.6.0

Version Description

  • 2022-08-17 =
  • Fix - Fix "Pending" text instead of numeric amount on Payment Request button on iOS.

See changelog for all versions.

Download this release

Release Info

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

Code changes from version 6.5.1 to 6.6.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' => 'ff26a0702f05940c2e2d955a7e31fbaa');
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');
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' => '428c73f4ec8374f21f052bca7fdd4eae');
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');
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' => '5d975c059aefb1c8e98e290853d8f53d');
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');
changelog.txt CHANGED
@@ -1,8 +1,9 @@
1
  *** Changelog ***
2
 
3
- = 6.5.1 - 2022-08-01 =
 
4
 
5
- = 6.5.1 - 2022-xx-xx =
6
  * Fix - Stripe Link missing styles and logo for email trigger button.
7
  * Fix - Stripe Link fatal error on `get_upe_enabled_payment_method_ids` method.
8
  * Fix - Remove Link beta headers on checkout.
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
 
6
+ = 6.5.1 - 2022-08-01 =
7
  * Fix - Stripe Link missing styles and logo for email trigger button.
8
  * Fix - Stripe Link fatal error on `get_upe_enabled_payment_method_ids` method.
9
  * Fix - Remove Link beta headers on checkout.
includes/payment-methods/class-wc-stripe-payment-request.php CHANGED
@@ -441,7 +441,6 @@ class WC_Stripe_Payment_Request {
441
  $data['total'] = [
442
  'label' => apply_filters( 'wc_stripe_payment_request_total_label', $this->total_label ),
443
  'amount' => WC_Stripe_Helper::get_stripe_amount( $this->get_product_price( $product ) ),
444
- 'pending' => true,
445
  ];
446
 
447
  $data['requestShipping'] = ( wc_shipping_enabled() && $product->needs_shipping() && 0 !== wc_get_shipping_method_count( true ) );
@@ -1304,7 +1303,6 @@ class WC_Stripe_Payment_Request {
1304
  $data['total'] = [
1305
  'label' => $this->total_label,
1306
  'amount' => WC_Stripe_Helper::get_stripe_amount( $total ),
1307
- 'pending' => true,
1308
  ];
1309
 
1310
  $data['requestShipping'] = ( wc_shipping_enabled() && $product->needs_shipping() );
441
  $data['total'] = [
442
  'label' => apply_filters( 'wc_stripe_payment_request_total_label', $this->total_label ),
443
  'amount' => WC_Stripe_Helper::get_stripe_amount( $this->get_product_price( $product ) ),
 
444
  ];
445
 
446
  $data['requestShipping'] = ( wc_shipping_enabled() && $product->needs_shipping() && 0 !== wc_get_shipping_method_count( true ) );
1303
  $data['total'] = [
1304
  'label' => $this->total_label,
1305
  'amount' => WC_Stripe_Helper::get_stripe_amount( $total ),
 
1306
  ];
1307
 
1308
  $data['requestShipping'] = ( wc_shipping_enabled() && $product->needs_shipping() );
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.5.1\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-01T20:32: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"
@@ -2128,69 +2128,69 @@ msgid "Stripe Sofort"
2128
  msgstr ""
2129
 
2130
  #: includes/payment-methods/class-wc-stripe-payment-request.php:419
2131
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1282
2132
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1797
2133
  msgid "Tax"
2134
  msgstr ""
2135
 
2136
  #: includes/payment-methods/class-wc-stripe-payment-request.php:427
2137
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1290
2138
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1804
2139
  msgid "Shipping"
2140
  msgstr ""
2141
 
2142
  #: includes/payment-methods/class-wc-stripe-payment-request.php:434
2143
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1297
2144
  msgid "Pending"
2145
  msgstr ""
2146
 
2147
- #: includes/payment-methods/class-wc-stripe-payment-request.php:724
2148
  msgid "Sorry, we're not accepting prepaid cards at this time."
2149
  msgstr ""
2150
 
2151
  #. translators: Do not translate the [option] placeholder
2152
- #: includes/payment-methods/class-wc-stripe-payment-request.php:726
2153
  msgid "Unknown shipping option \"[option]\"."
2154
  msgstr ""
2155
 
2156
- #: includes/payment-methods/class-wc-stripe-payment-request.php:851
2157
  msgid "OR"
2158
  msgstr ""
2159
 
2160
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1125
2161
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1144
2162
  msgid "Unable to find shipping method for address."
2163
  msgstr ""
2164
 
2165
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1132
2166
  msgid "Unable to provide shipping options for Payment Requests."
2167
  msgstr ""
2168
 
2169
  #. translators: 1) The product Id
2170
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1244
2171
  msgid "Product with the ID (%1$s) cannot be found."
2172
  msgstr ""
2173
 
2174
  #. translators: 1) product name 2) quantity in stock
2175
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1265
2176
  msgid "You cannot add that amount of \"%1$s\"; to the cart because there is not enough stock (%2$s remaining)."
2177
  msgstr ""
2178
 
2179
  #. translators: 1) country.
2180
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1577
2181
  msgid "The Payment Request button is not supported in %1$s because some required fields couldn't be verified. Please proceed to the checkout page and try again."
2182
  msgstr ""
2183
 
2184
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1593
2185
  msgid "Empty cart"
2186
  msgstr ""
2187
 
2188
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1811
2189
  msgid "Discount"
2190
  msgstr ""
2191
 
2192
  #. translators: The text encapsulated in `**` can be replaced with "Apple Pay" or "Google Pay". Please translate this text, but don't remove the `**`.
2193
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1854
2194
  msgid "To complete your transaction with **the selected payment method**, you must log in or create an account with our site."
2195
  msgstr ""
2196
 
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"
2128
  msgstr ""
2129
 
2130
  #: includes/payment-methods/class-wc-stripe-payment-request.php:419
2131
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1281
2132
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1795
2133
  msgid "Tax"
2134
  msgstr ""
2135
 
2136
  #: includes/payment-methods/class-wc-stripe-payment-request.php:427
2137
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1289
2138
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1802
2139
  msgid "Shipping"
2140
  msgstr ""
2141
 
2142
  #: includes/payment-methods/class-wc-stripe-payment-request.php:434
2143
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1296
2144
  msgid "Pending"
2145
  msgstr ""
2146
 
2147
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:723
2148
  msgid "Sorry, we're not accepting prepaid cards at this time."
2149
  msgstr ""
2150
 
2151
  #. translators: Do not translate the [option] placeholder
2152
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:725
2153
  msgid "Unknown shipping option \"[option]\"."
2154
  msgstr ""
2155
 
2156
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:850
2157
  msgid "OR"
2158
  msgstr ""
2159
 
2160
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1124
2161
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1143
2162
  msgid "Unable to find shipping method for address."
2163
  msgstr ""
2164
 
2165
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1131
2166
  msgid "Unable to provide shipping options for Payment Requests."
2167
  msgstr ""
2168
 
2169
  #. translators: 1) The product Id
2170
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1243
2171
  msgid "Product with the ID (%1$s) cannot be found."
2172
  msgstr ""
2173
 
2174
  #. translators: 1) product name 2) quantity in stock
2175
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1264
2176
  msgid "You cannot add that amount of \"%1$s\"; to the cart because there is not enough stock (%2$s remaining)."
2177
  msgstr ""
2178
 
2179
  #. translators: 1) country.
2180
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1575
2181
  msgid "The Payment Request button is not supported in %1$s because some required fields couldn't be verified. Please proceed to the checkout page and try again."
2182
  msgstr ""
2183
 
2184
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1591
2185
  msgid "Empty cart"
2186
  msgstr ""
2187
 
2188
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1809
2189
  msgid "Discount"
2190
  msgstr ""
2191
 
2192
  #. translators: The text encapsulated in `**` can be replaced with "Apple Pay" or "Google Pay". Please translate this text, but don't remove the `**`.
2193
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1852
2194
  msgid "To complete your transaction with **the selected payment method**, you must log in or create an account with our site."
2195
  msgstr ""
2196
 
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.5.1
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
  Attributions: thorsten-stripe
@@ -128,8 +128,7 @@ If you get stuck, you can ask for help in the Plugin Forum.
128
 
129
  == Changelog ==
130
 
131
- = 6.5.1 - 2022-08-01 =
132
- * Fix - Stripe Link fatal error on `get_upe_enabled_payment_method_ids` method.
133
- * Fix - Remove Link beta headers on checkout.
134
 
135
  [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.6.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.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).
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.5.1
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.5.1' ); // 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.6.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.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' );