WooCommerce Stripe Payment Gateway - Version 5.8.1

Version Description

  • 2021-11-23 =
  • Fix - Run filters that disable Stripe JS on cart and product pages when PRBs are disabled.

See changelog for all versions.

Download this release

Release Info

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

Code changes from version 5.8.0 to 5.8.1

changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
  *** Changelog ***
2
 
 
 
 
3
  = 5.8.0 - 2021-11-18 =
4
  * Fix - Hong Kong addresses are now mapped more thoroughly to WooCommerce addresses when paying with Apple Pay.
5
  * Fix - Error when changing payment method for a subscription with new checkout experience.
1
  *** Changelog ***
2
 
3
+ = 5.8.1 - 2021-11-23 =
4
+ * Fix - Run filters that disable Stripe JS on cart and product pages when PRBs are disabled.
5
+
6
  = 5.8.0 - 2021-11-18 =
7
  * Fix - Hong Kong addresses are now mapped more thoroughly to WooCommerce addresses when paying with Apple Pay.
8
  * Fix - Error when changing payment method for a subscription with new checkout experience.
includes/class-wc-stripe-helper.php CHANGED
@@ -584,21 +584,57 @@ class WC_Stripe_Helper {
584
  return true;
585
  }
586
 
 
 
 
 
 
 
 
 
 
587
  public static function should_load_scripts_on_product_page() {
588
- $prb_locations = self::get_settings( null, 'payment_request_button_locations' ) ?? [ 'product', 'cart' ];
589
- if ( ! in_array( 'product', $prb_locations, true ) ) {
590
- return apply_filters( 'wc_stripe_load_scripts_on_product_page_when_prbs_disabled', true );
591
  }
592
 
593
- return true;
594
  }
595
 
 
 
 
 
 
 
 
 
 
596
  public static function should_load_scripts_on_cart_page() {
597
- $prb_locations = self::get_settings( null, 'payment_request_button_locations' ) ?? [ 'product', 'cart' ];
598
- if ( ! in_array( 'cart', $prb_locations, true ) ) {
599
- return apply_filters( 'wc_stripe_load_scripts_on_cart_page_when_prbs_disabled', true );
600
  }
601
 
602
- return true;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
603
  }
604
  }
584
  return true;
585
  }
586
 
587
+ /**
588
+ * Returns true if the Stripe JS should be loaded on product pages.
589
+ *
590
+ * The critical part here is running the filter to allow merchants to disable Stripe's JS to
591
+ * improve their store's performance when PRBs are disabled.
592
+ *
593
+ * @since 5.8.0
594
+ * @return boolean True if Stripe's JS should be loaded, false otherwise.
595
+ */
596
  public static function should_load_scripts_on_product_page() {
597
+ if ( self::should_load_scripts_for_prb_location( 'product' ) ) {
598
+ return true;
 
599
  }
600
 
601
+ return apply_filters( 'wc_stripe_load_scripts_on_product_page_when_prbs_disabled', true );
602
  }
603
 
604
+ /**
605
+ * Returns true if the Stripe JS should be loaded on the cart page.
606
+ *
607
+ * The critical part here is running the filter to allow merchants to disable Stripe's JS to
608
+ * improve their store's performance when PRBs are disabled.
609
+ *
610
+ * @since 5.8.0
611
+ * @return boolean True if Stripe's JS should be loaded, false otherwise.
612
+ */
613
  public static function should_load_scripts_on_cart_page() {
614
+ if ( self::should_load_scripts_for_prb_location( 'cart' ) ) {
615
+ return true;
 
616
  }
617
 
618
+ return apply_filters( 'wc_stripe_load_scripts_on_cart_page_when_prbs_disabled', true );
619
+ }
620
+
621
+ /**
622
+ * Returns true if the Stripe JS should be loaded for the provided location.
623
+ *
624
+ * @since 5.8.1
625
+ * @param string $location Either 'product' or 'cart'. Used to specify which location to check.
626
+ * @return boolean True if Stripe's JS should be loaded for the provided location, false otherwise.
627
+ */
628
+ private static function should_load_scripts_for_prb_location( $location ) {
629
+ // Make sure location parameter is sanitized.
630
+ $location = in_array( $location, [ 'product', 'cart' ], true ) ? $location : '';
631
+ $are_prbs_enabled = self::get_settings( null, 'payment_request' ) ?? 'yes';
632
+ $prb_locations = self::get_settings( null, 'payment_request_button_locations' ) ?? [ 'product', 'cart' ];
633
+
634
+ // The scripts should be loaded when all of the following are true:
635
+ // 1. The PRBs are enabled; and
636
+ // 2. The PRB location settings have an array value (saving an empty option in the GUI results in non-array value); and
637
+ // 3. The PRBs are enabled at $location.
638
+ return 'yes' === $are_prbs_enabled && is_array( $prb_locations ) && in_array( $location, $prb_locations, true );
639
  }
640
  }
languages/woocommerce-gateway-stripe.pot CHANGED
@@ -11,18 +11,129 @@ msgstr ""
11
  msgid "Stripe Credit Card payment method"
12
  msgstr ""
13
 
14
- #: client/data/payment-gateway/actions.js:45
15
- #: client/data/settings/actions.js:49
16
- msgid "Settings saved."
17
  msgstr ""
18
 
19
- #: client/data/payment-gateway/actions.js:50
20
- #: client/data/settings/actions.js:54
21
- msgid "Error saving settings."
22
  msgstr ""
23
 
24
- #: client/settings/advanced-settings-section/index.js:18
25
- msgid "Advanced settings"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  msgstr ""
27
 
28
  #: client/settings/general-settings-section/disable-upe-confirmation-modal.js:100
@@ -31,7 +142,6 @@ msgstr ""
31
 
32
  #: client/settings/general-settings-section/disable-upe-confirmation-modal.js:114
33
  #: client/settings/general-settings-section/remove-method-confirmation-modal.js:42
34
- #: client/settings/payments-and-transactions-section/manual-capture-control.js:90
35
  msgid "Cancel"
36
  msgstr ""
37
 
@@ -94,64 +204,173 @@ msgstr ""
94
  msgid "You can add it again at any time in Stripe settings."
95
  msgstr ""
96
 
97
- #: client/settings/payments-and-transactions-section/manual-capture-control.js:102
98
- msgid "Are you sure you want to enable manual capture of payments?"
 
 
 
 
 
 
 
 
99
  msgstr ""
100
 
101
- #: client/settings/payments-and-transactions-section/manual-capture-control.js:109
 
 
 
 
102
  msgid ""
103
- "Only cards support manual capture. When enabled, all other payment methods "
104
- "will be hidden from checkout."
105
  msgstr ""
106
 
107
- #: client/settings/payments-and-transactions-section/manual-capture-control.js:115
108
  msgid ""
109
- "You must capture the payment on the order details screen within 7 days of "
110
- "authorization, otherwise the money will return to the shopper."
 
 
 
 
111
  msgstr ""
112
 
113
- #: client/settings/payments-and-transactions-section/manual-capture-control.js:71
114
- msgid "Issue an authorization on checkout, and capture later"
115
  msgstr ""
116
 
117
- #: client/settings/payments-and-transactions-section/manual-capture-control.js:75
118
  msgid ""
119
- "Charge must be captured on the order details screen within 7 days of "
120
- "authorization, otherwise the authorization and order will be canceled."
 
121
  msgstr ""
122
 
123
- #: client/settings/payments-and-transactions-section/manual-capture-control.js:83
124
- msgid "Enable manual capture"
125
  msgstr ""
126
 
127
- #: client/settings/payments-and-transactions-section/manual-capture-control.js:96
128
- msgid "Enable"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  msgstr ""
130
 
131
- #: client/upe-onboarding-wizard/upe-preview-methods-selector/add-payment-methods-task.js:136
132
- msgid "Add payment methods"
133
  msgstr ""
134
 
135
- #: client/upe-onboarding-wizard/upe-preview-methods-selector/add-payment-methods-task.js:168
136
- msgid "Review accepted payment methods"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  msgstr ""
138
 
139
- #: client/upe-onboarding-wizard/upe-preview-methods-selector/add-payment-methods-task.js:177
140
  msgid ""
141
- "We've added methods that you'd already enabled. For best results, we "
142
- "recommand adding all available payment methods. We'll only show your "
143
- "customers the most relevant payment methods based on their location and "
144
- "purchasing history. {{learnMoreLink}}Learn more{{/learnMoreLink}}"
145
  msgstr ""
146
 
147
- #: client/upe-onboarding-wizard/upe-preview-methods-selector/add-payment-methods-task.js:196
148
- msgid "Payments accepted at checkout"
 
 
 
 
 
 
 
 
 
 
 
 
149
  msgstr ""
150
 
151
- #: client/upe-onboarding-wizard/upe-preview-methods-selector/add-payment-methods-task.js:206
152
- msgid "Select all"
153
  msgstr ""
154
 
155
- #: client/upe-onboarding-wizard/upe-preview-methods-selector/payment-method-checkbox/index.js:36
156
- msgid "Information about the payment method, click to expand"
157
  msgstr ""
11
  msgid "Stripe Credit Card payment method"
12
  msgstr ""
13
 
14
+ #: client/components/payment-method-fees-pill/index.js:20
15
+ #. %s: Transaction fee text.
16
+ msgid "Base transaction fees: %s"
17
  msgstr ""
18
 
19
+ #: client/data/account/resolvers.js:18
20
+ msgid "Error retrieving account data."
 
21
  msgstr ""
22
 
23
+ #: client/payment-methods-map.js:103
24
+ msgid "Alipay"
25
+ msgstr ""
26
+
27
+ #: client/payment-methods-map.js:104
28
+ msgid ""
29
+ "Alipay is a popular wallet in China, operated by Ant Financial Services "
30
+ "Group, a financial services provider affiliated with Alibaba."
31
+ msgstr ""
32
+
33
+ #: client/payment-methods-map.js:125
34
+ msgid "Multibanco"
35
+ msgstr ""
36
+
37
+ #: client/payment-methods-map.js:126
38
+ msgid ""
39
+ "Multibanco is an interbank network that links the ATMs of all major banks "
40
+ "in Portugal, allowing customers to pay through either their ATM or online "
41
+ "banking environment."
42
+ msgstr ""
43
+
44
+ #: client/payment-methods-map.js:14
45
+ msgid "Credit card / debit card"
46
+ msgstr ""
47
+
48
+ #: client/payment-methods-map.js:15
49
+ msgid ""
50
+ "Let your customers pay with major credit and debit cards without leaving "
51
+ "your store."
52
+ msgstr ""
53
+
54
+ #: client/payment-methods-map.js:26
55
+ msgid "giropay"
56
+ msgstr ""
57
+
58
+ #: client/payment-methods-map.js:27
59
+ msgid ""
60
+ "Expand your business with giropay — Germany’s second most popular payment "
61
+ "system."
62
+ msgstr ""
63
+
64
+ #: client/payment-methods-map.js:37
65
+ msgid "Direct debit payment"
66
+ msgstr ""
67
+
68
+ #: client/payment-methods-map.js:38
69
+ msgid ""
70
+ "Reach 500 million customers and over 20 million businesses across the "
71
+ "European Union."
72
+ msgstr ""
73
+
74
+ #: client/payment-methods-map.js:48
75
+ msgid "Sofort"
76
+ msgstr ""
77
+
78
+ #: client/payment-methods-map.js:49
79
+ msgid ""
80
+ "Accept secure bank transfers from Austria, Belgium, Germany, Italy, "
81
+ "Netherlands, and Spain."
82
+ msgstr ""
83
+
84
+ #: client/payment-methods-map.js:59
85
+ msgid "EPS"
86
+ msgstr ""
87
+
88
+ #: client/payment-methods-map.js:60
89
+ msgid ""
90
+ "EPS is an Austria-based payment method that allows customers to complete "
91
+ "transactions online using their bank credentials."
92
+ msgstr ""
93
+
94
+ #: client/payment-methods-map.js:70
95
+ msgid "Bancontact"
96
+ msgstr ""
97
+
98
+ #: client/payment-methods-map.js:71
99
+ msgid ""
100
+ "Bancontact is the most popular online payment method in Belgium, with over "
101
+ "15 million cards in circulation."
102
+ msgstr ""
103
+
104
+ #: client/payment-methods-map.js:81
105
+ msgid "iDEAL"
106
+ msgstr ""
107
+
108
+ #: client/payment-methods-map.js:82
109
+ msgid ""
110
+ "iDEAL is a Netherlands-based payment method that allows customers to "
111
+ "complete transactions online using their bank credentials."
112
+ msgstr ""
113
+
114
+ #: client/payment-methods-map.js:92
115
+ msgid "Przelewy24"
116
+ msgstr ""
117
+
118
+ #: client/payment-methods-map.js:93
119
+ msgid ""
120
+ "Przelewy24 is a Poland-based payment method aggregator that allows "
121
+ "customers to complete transactions online using bank transfers and other "
122
+ "methods."
123
+ msgstr ""
124
+
125
+ #: client/settings/advanced-settings-section/debug-mode.js:21
126
+ msgid "Debug mode"
127
+ msgstr ""
128
+
129
+ #: client/settings/advanced-settings-section/debug-mode.js:25
130
+ msgid "Log error messages"
131
+ msgstr ""
132
+
133
+ #: client/settings/advanced-settings-section/debug-mode.js:29
134
+ msgid ""
135
+ "When enabled, payment error logs will be saved to WooCommerce > Status > "
136
+ "Logs."
137
  msgstr ""
138
 
139
  #: client/settings/general-settings-section/disable-upe-confirmation-modal.js:100
142
 
143
  #: client/settings/general-settings-section/disable-upe-confirmation-modal.js:114
144
  #: client/settings/general-settings-section/remove-method-confirmation-modal.js:42
 
145
  msgid "Cancel"
146
  msgstr ""
147
 
204
  msgid "You can add it again at any time in Stripe settings."
205
  msgstr ""
206
 
207
+ #: client/settings/payment-settings/general-settings-section.js:109
208
+ msgid "Edit account keys"
209
+ msgstr ""
210
+
211
+ #: client/settings/payment-settings/general-settings-section.js:59
212
+ msgid "Enable Stripe"
213
+ msgstr ""
214
+
215
+ #: client/settings/payment-settings/general-settings-section.js:63
216
+ msgid "When enabled, payment methods powered by Stripe will appear on checkout."
217
  msgstr ""
218
 
219
+ #: client/settings/payment-settings/general-settings-section.js:69
220
+ msgid "Display settings"
221
+ msgstr ""
222
+
223
+ #: client/settings/payment-settings/general-settings-section.js:76
224
  msgid ""
225
+ "Enter the payment method name that will be displayed at checkout when there "
226
+ "are multiple available payment methods."
227
  msgstr ""
228
 
229
+ #: client/settings/payment-settings/general-settings-section.js:80
230
  msgid ""
231
+ "Enter payment method details that will be displayed at checkout, in the "
232
+ "order confirmation screen and in the order notes."
233
+ msgstr ""
234
+
235
+ #: client/settings/payment-settings/general-settings-section.js:86
236
+ msgid "Name"
237
  msgstr ""
238
 
239
+ #: client/settings/payment-settings/general-settings-section.js:92
240
+ msgid "Description"
241
  msgstr ""
242
 
243
+ #: client/settings/payments-and-transactions-section/index.js:103
244
  msgid ""
245
+ "Enter the name your customers will see on their transactions. Use a "
246
+ "recognizable name – e.g. the legal entity name or website address–to avoid "
247
+ "potential disputes and chargebacks."
248
  msgstr ""
249
 
250
+ #: client/settings/payments-and-transactions-section/index.js:107
251
+ msgid "Full bank statement"
252
  msgstr ""
253
 
254
+ #: client/settings/payments-and-transactions-section/index.js:121
255
+ msgid "Add customer order number to the bank statement"
256
+ msgstr ""
257
+
258
+ #: client/settings/payments-and-transactions-section/index.js:125
259
+ msgid ""
260
+ "When enabled, we'll include the order number for card and express checkout "
261
+ "transactions."
262
+ msgstr ""
263
+
264
+ #: client/settings/payments-and-transactions-section/index.js:151
265
+ msgid "We'll use the short version in combination with the customer order number."
266
+ msgstr ""
267
+
268
+ #: client/settings/payments-and-transactions-section/index.js:155
269
+ msgid "Shortened customer bank statement"
270
+ msgstr ""
271
+
272
+ #: client/settings/payments-and-transactions-section/index.js:175
273
+ msgid "Cards & Express Checkouts"
274
+ msgstr ""
275
+
276
+ #: client/settings/payments-and-transactions-section/index.js:43
277
+ msgid "All Other Payment Methods"
278
+ msgstr ""
279
+
280
+ #: client/settings/payments-and-transactions-section/index.js:44
281
+ msgid "All Payment Methods"
282
+ msgstr ""
283
+
284
+ #: client/settings/payments-and-transactions-section/index.js:50
285
+ msgid "Payments settings"
286
+ msgstr ""
287
+
288
+ #: client/settings/payments-and-transactions-section/index.js:55
289
+ msgid "Enable payments via saved cards"
290
+ msgstr ""
291
+
292
+ #: client/settings/payments-and-transactions-section/index.js:59
293
+ msgid ""
294
+ "If enabled, users will be able to pay with a saved card during checkout. "
295
+ "Card details are saved on Stripe servers, not on your store."
296
  msgstr ""
297
 
298
+ #: client/settings/payments-and-transactions-section/index.js:67
299
+ msgid "Enable separate credit card form"
300
  msgstr ""
301
 
302
+ #: client/settings/payments-and-transactions-section/index.js:71
303
+ msgid ""
304
+ "If enabled, the credit card form will display separate credit card number "
305
+ "field, expiry date field and CVC field."
306
+ msgstr ""
307
+
308
+ #: client/settings/payments-and-transactions-section/index.js:77
309
+ msgid "Transaction preferences"
310
+ msgstr ""
311
+
312
+ #: client/settings/payments-and-transactions-section/index.js:84
313
+ msgid "Customer bank statement"
314
+ msgstr ""
315
+
316
+ #: client/settings/payments-and-transactions-section/statement-preview/index.js:36
317
+ msgid "Transaction"
318
+ msgstr ""
319
+
320
+ #: client/settings/payments-and-transactions-section/statement-preview/index.js:37
321
+ msgid "Amount"
322
+ msgstr ""
323
+
324
+ #: client/upe-onboarding-wizard/upe-preview-methods-selector/enable-upe-preview-task.js:103
325
+ msgid "FREE upgrade exclusive to Stripe users."
326
+ msgstr ""
327
+
328
+ #: client/upe-onboarding-wizard/upe-preview-methods-selector/enable-upe-preview-task.js:109
329
+ msgid "No hidden costs or setup fees."
330
+ msgstr ""
331
+
332
+ #: client/upe-onboarding-wizard/upe-preview-methods-selector/enable-upe-preview-task.js:124
333
+ msgid "Checkout is completed without leaving your store."
334
+ msgstr ""
335
+
336
+ #: client/upe-onboarding-wizard/upe-preview-methods-selector/enable-upe-preview-task.js:130
337
+ msgid "Customers see only payment methods most relevant for them."
338
+ msgstr ""
339
+
340
+ #: client/upe-onboarding-wizard/upe-preview-methods-selector/enable-upe-preview-task.js:136
341
+ msgid "Refined checkout experience designed for desktop and mobile."
342
+ msgstr ""
343
+
344
+ #: client/upe-onboarding-wizard/upe-preview-methods-selector/enable-upe-preview-task.js:147
345
+ msgid "Enable automatic capture of payments"
346
  msgstr ""
347
 
348
+ #: client/upe-onboarding-wizard/upe-preview-methods-selector/enable-upe-preview-task.js:153
349
  msgid ""
350
+ "In order to enable the new experience you need to enable the \"automatic "
351
+ "capture\" of payments at checkout."
 
 
352
  msgstr ""
353
 
354
+ #: client/upe-onboarding-wizard/upe-preview-methods-selector/enable-upe-preview-task.js:169
355
+ msgid "Enable"
356
+ msgstr ""
357
+
358
+ #: client/upe-onboarding-wizard/upe-preview-methods-selector/enable-upe-preview-task.js:56
359
+ msgid ""
360
+ "{{wrapper}}Enable the new Stripe checkout experience{{/wrapper}} "
361
+ "{{earlyAccessWrapper}}Early access{{/earlyAccessWrapper}}"
362
+ msgstr ""
363
+
364
+ #: client/upe-onboarding-wizard/upe-preview-methods-selector/enable-upe-preview-task.js:71
365
+ msgid ""
366
+ "Get early access to additional payment methods and an improved checkout "
367
+ "experience, coming soon to Stripe. {{learnMoreLink /}}"
368
  msgstr ""
369
 
370
+ #: client/upe-onboarding-wizard/upe-preview-methods-selector/enable-upe-preview-task.js:80
371
+ msgid "Learn more"
372
  msgstr ""
373
 
374
+ #: client/upe-onboarding-wizard/upe-preview-methods-selector/enable-upe-preview-task.js:97
375
+ msgid "Easily add new payment methods used by customers from all over the world."
376
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: credit card, stripe, apple pay, payment request, google pay, sepa, sofort,
4
  Requires at least: 5.6
5
  Tested up to: 5.8
6
  Requires PHP: 7.0
7
- Stable tag: 5.8.0
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
  Attributions: thorsten-stripe
@@ -128,15 +128,7 @@ If you get stuck, you can ask for help in the Plugin Forum.
128
 
129
  == Changelog ==
130
 
131
- = 5.8.0 - 2021-11-18 =
132
- * Fix - Hong Kong addresses are now mapped more thoroughly to WooCommerce addresses when paying with Apple Pay.
133
- * Fix - Error when changing payment method for a subscription with new checkout experience.
134
- * Fix - Payment Requests are now updated correctly when updating items in the Cart Block.
135
- * Add - Support for WooCommerce Pre-Orders with new checkout experience.
136
- * Fix - Stripe JS is no longer loaded on cart and product pages when PRBs are disabled on those pages.
137
- * Tweak - Update the minimum required PHP version to 7.0 to reflect our L-2 support policy.
138
- * Fix - Add support for MYR (Malaysian ringgit) for Alipay.
139
- * Add - New Settings UI.
140
- * Fix - Hide payment request button when variations of a variable product are out-of-stock.
141
 
142
  [See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-gateway-stripe/trunk/changelog.txt).
4
  Requires at least: 5.6
5
  Tested up to: 5.8
6
  Requires PHP: 7.0
7
+ Stable tag: 5.8.1
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
  Attributions: thorsten-stripe
128
 
129
  == Changelog ==
130
 
131
+ = 5.8.1 - 2021-11-23 =
132
+ * Fix - Run filters that disable Stripe JS on cart and product pages when PRBs are disabled.
 
 
 
 
 
 
 
 
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: 5.8.0
9
  * Requires at least: 5.6
10
  * Tested up to: 5.8
11
  * WC requires at least: 5.6
@@ -21,7 +21,7 @@ if ( ! defined( 'ABSPATH' ) ) {
21
  /**
22
  * Required minimums and constants
23
  */
24
- define( 'WC_STRIPE_VERSION', '5.8.0' ); // WRCS: DEFINED_VERSION.
25
  define( 'WC_STRIPE_MIN_PHP_VER', '7.0.0' );
26
  define( 'WC_STRIPE_MIN_WC_VER', '5.6' );
27
  define( 'WC_STRIPE_FUTURE_MIN_WC_VER', '5.7' );
5
  * Description: Take credit card payments on your store using Stripe.
6
  * Author: WooCommerce
7
  * Author URI: https://woocommerce.com/
8
+ * Version: 5.8.1
9
  * Requires at least: 5.6
10
  * Tested up to: 5.8
11
  * WC requires at least: 5.6
21
  /**
22
  * Required minimums and constants
23
  */
24
+ define( 'WC_STRIPE_VERSION', '5.8.1' ); // WRCS: DEFINED_VERSION.
25
  define( 'WC_STRIPE_MIN_PHP_VER', '7.0.0' );
26
  define( 'WC_STRIPE_MIN_WC_VER', '5.6' );
27
  define( 'WC_STRIPE_FUTURE_MIN_WC_VER', '5.7' );