WooCommerce Payments – Fully Integrated Solution Built and Supported by Woo - Version 3.9.2

Version Description

  • 2022-04-01 =
  • Fix - Fixing error related to some currencies
Download this release

Release Info

Developer automattic
Plugin Icon 128x128 WooCommerce Payments – Fully Integrated Solution Built and Supported by Woo
Version 3.9.2
Comparing to
See all releases

Code changes from version 3.9.1 to 3.9.2

changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
  *** WooCommerce Payments Changelog ***
2
 
 
 
 
3
  = 3.9.1 - 2022-03-29 =
4
  * Fix - Fix single currency settings page error.
5
 
1
  *** WooCommerce Payments Changelog ***
2
 
3
+ = 3.9.2 - 2022-04-01 =
4
+ * Fix - Fixing error related to some currencies
5
+
6
  = 3.9.1 - 2022-03-29 =
7
  * Fix - Fix single currency settings page error.
8
 
includes/admin/class-wc-payments-admin.php CHANGED
@@ -396,11 +396,11 @@ class WC_Payments_Admin {
396
 
397
  foreach ( $locale_info as $key => $value ) {
398
  $currency_data[ $key ] = [
399
- 'code' => $value['currency_code'],
400
- 'symbol' => $value['short_symbol'],
401
- 'symbolPosition' => $value['currency_pos'],
402
- 'thousandSeparator' => $value['thousand_sep'],
403
- 'decimalSeparator' => $value['decimal_sep'],
404
  'precision' => $value['num_decimals'],
405
  ];
406
  }
396
 
397
  foreach ( $locale_info as $key => $value ) {
398
  $currency_data[ $key ] = [
399
+ 'code' => $value['currency_code'] ?? '',
400
+ 'symbol' => $value['short_symbol'] ?? '',
401
+ 'symbolPosition' => $value['currency_pos'] ?? '',
402
+ 'thousandSeparator' => $value['thousand_sep'] ?? '',
403
+ 'decimalSeparator' => $value['decimal_sep'] ?? '',
404
  'precision' => $value['num_decimals'],
405
  ];
406
  }
languages/woocommerce-payments.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the same license as the WooCommerce Payments package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Payments 3.9.1\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-payments\n"
8
- "POT-Creation-Date: 2022-03-29 20:41:28+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the same license as the WooCommerce Payments package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Payments 3.9.2\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-payments\n"
8
+ "POT-Creation-Date: 2022-04-01 21:20:17+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: woocommerce, payment, payment request, credit card, automattic
4
  Requires at least: 5.7
5
  Tested up to: 5.9.2
6
  Requires PHP: 7.0
7
- Stable tag: 3.9.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -98,6 +98,9 @@ Please note that our support for the checkout block is still experimental and th
98
 
99
  == Changelog ==
100
 
 
 
 
101
  = 3.9.1 - 2022-03-29 =
102
  * Fix - Fix single currency settings page error.
103
 
4
  Requires at least: 5.7
5
  Tested up to: 5.9.2
6
  Requires PHP: 7.0
7
+ Stable tag: 3.9.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
98
 
99
  == Changelog ==
100
 
101
+ = 3.9.2 - 2022-04-01 =
102
+ * Fix - Fixing error related to some currencies
103
+
104
  = 3.9.1 - 2022-03-29 =
105
  * Fix - Fix single currency settings page error.
106
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit563ed2e6a3b0afe4464cbdfcc13f4a0c::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit1579f1779917afc1a274e61580a4cf3c::getLoader();
vendor/autoload_packages.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp563ed2e6a3b0afe4464cbdfcc13f4a0c;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp1579f1779917afc1a274e61580a4cf3c;
9
 
10
  // phpcs:ignore
11
 
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit563ed2e6a3b0afe4464cbdfcc13f4a0c
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit563ed2e6a3b0afe4464cbdfcc13f4a0c
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit563ed2e6a3b0afe4464cbdfcc13f4a0c', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit563ed2e6a3b0afe4464cbdfcc13f4a0c', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
- call_user_func(\Composer\Autoload\ComposerStaticInit563ed2e6a3b0afe4464cbdfcc13f4a0c::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
@@ -53,19 +53,19 @@ class ComposerAutoloaderInit563ed2e6a3b0afe4464cbdfcc13f4a0c
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
- $includeFiles = Composer\Autoload\ComposerStaticInit563ed2e6a3b0afe4464cbdfcc13f4a0c::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
- composerRequire563ed2e6a3b0afe4464cbdfcc13f4a0c($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
- function composerRequire563ed2e6a3b0afe4464cbdfcc13f4a0c($fileIdentifier, $file)
69
  {
70
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
71
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit1579f1779917afc1a274e61580a4cf3c
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit1579f1779917afc1a274e61580a4cf3c', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit1579f1779917afc1a274e61580a4cf3c', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
+ call_user_func(\Composer\Autoload\ComposerStaticInit1579f1779917afc1a274e61580a4cf3c::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
+ $includeFiles = Composer\Autoload\ComposerStaticInit1579f1779917afc1a274e61580a4cf3c::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
+ composerRequire1579f1779917afc1a274e61580a4cf3c($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
+ function composerRequire1579f1779917afc1a274e61580a4cf3c($fileIdentifier, $file)
69
  {
70
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
71
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit563ed2e6a3b0afe4464cbdfcc13f4a0c
8
  {
9
  public static $files = array (
10
  '3773ef3f09c37da5478d578e32b03a4b' => __DIR__ . '/..' . '/automattic/jetpack-assets/actions.php',
@@ -288,9 +288,9 @@ class ComposerStaticInit563ed2e6a3b0afe4464cbdfcc13f4a0c
288
  public static function getInitializer(ClassLoader $loader)
289
  {
290
  return \Closure::bind(function () use ($loader) {
291
- $loader->prefixLengthsPsr4 = ComposerStaticInit563ed2e6a3b0afe4464cbdfcc13f4a0c::$prefixLengthsPsr4;
292
- $loader->prefixDirsPsr4 = ComposerStaticInit563ed2e6a3b0afe4464cbdfcc13f4a0c::$prefixDirsPsr4;
293
- $loader->classMap = ComposerStaticInit563ed2e6a3b0afe4464cbdfcc13f4a0c::$classMap;
294
 
295
  }, null, ClassLoader::class);
296
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit1579f1779917afc1a274e61580a4cf3c
8
  {
9
  public static $files = array (
10
  '3773ef3f09c37da5478d578e32b03a4b' => __DIR__ . '/..' . '/automattic/jetpack-assets/actions.php',
288
  public static function getInitializer(ClassLoader $loader)
289
  {
290
  return \Closure::bind(function () use ($loader) {
291
+ $loader->prefixLengthsPsr4 = ComposerStaticInit1579f1779917afc1a274e61580a4cf3c::$prefixLengthsPsr4;
292
+ $loader->prefixDirsPsr4 = ComposerStaticInit1579f1779917afc1a274e61580a4cf3c::$prefixDirsPsr4;
293
+ $loader->classMap = ComposerStaticInit1579f1779917afc1a274e61580a4cf3c::$classMap;
294
 
295
  }, null, ClassLoader::class);
296
  }
vendor/composer/installed.php CHANGED
@@ -5,7 +5,7 @@
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => '9d72b1dd7bf03102eb862342bd423a608c68a2f7',
9
  'name' => 'woocommerce/payments',
10
  'dev' => false,
11
  ),
@@ -199,7 +199,7 @@
199
  'type' => 'wordpress-plugin',
200
  'install_path' => __DIR__ . '/../../',
201
  'aliases' => array(),
202
- 'reference' => '9d72b1dd7bf03102eb862342bd423a608c68a2f7',
203
  'dev_requirement' => false,
204
  ),
205
  'woocommerce/subscriptions-core' => array(
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => 'fd73e1cbed52c93d610ececc2b6576056bbc7309',
9
  'name' => 'woocommerce/payments',
10
  'dev' => false,
11
  ),
199
  'type' => 'wordpress-plugin',
200
  'install_path' => __DIR__ . '/../../',
201
  'aliases' => array(),
202
+ 'reference' => 'fd73e1cbed52c93d610ececc2b6576056bbc7309',
203
  'dev_requirement' => false,
204
  ),
205
  'woocommerce/subscriptions-core' => array(
vendor/jetpack-autoloader/class-autoloader-handler.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp563ed2e6a3b0afe4464cbdfcc13f4a0c;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp1579f1779917afc1a274e61580a4cf3c;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-autoloader-locator.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp563ed2e6a3b0afe4464cbdfcc13f4a0c;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp1579f1779917afc1a274e61580a4cf3c;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-autoloader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp563ed2e6a3b0afe4464cbdfcc13f4a0c;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp1579f1779917afc1a274e61580a4cf3c;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-container.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp563ed2e6a3b0afe4464cbdfcc13f4a0c;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp1579f1779917afc1a274e61580a4cf3c;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-hook-manager.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp563ed2e6a3b0afe4464cbdfcc13f4a0c;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp1579f1779917afc1a274e61580a4cf3c;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-latest-autoloader-guard.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp563ed2e6a3b0afe4464cbdfcc13f4a0c;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp1579f1779917afc1a274e61580a4cf3c;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-manifest-reader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp563ed2e6a3b0afe4464cbdfcc13f4a0c;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp1579f1779917afc1a274e61580a4cf3c;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-path-processor.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp563ed2e6a3b0afe4464cbdfcc13f4a0c;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp1579f1779917afc1a274e61580a4cf3c;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-php-autoloader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp563ed2e6a3b0afe4464cbdfcc13f4a0c;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp1579f1779917afc1a274e61580a4cf3c;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-plugin-locator.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp563ed2e6a3b0afe4464cbdfcc13f4a0c;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp1579f1779917afc1a274e61580a4cf3c;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-plugins-handler.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp563ed2e6a3b0afe4464cbdfcc13f4a0c;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp1579f1779917afc1a274e61580a4cf3c;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-shutdown-handler.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp563ed2e6a3b0afe4464cbdfcc13f4a0c;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp1579f1779917afc1a274e61580a4cf3c;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-version-loader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp563ed2e6a3b0afe4464cbdfcc13f4a0c;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp1579f1779917afc1a274e61580a4cf3c;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-version-selector.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp563ed2e6a3b0afe4464cbdfcc13f4a0c;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp1579f1779917afc1a274e61580a4cf3c;
9
 
10
  // phpcs:ignore
11
 
woocommerce-payments.php CHANGED
@@ -12,7 +12,7 @@
12
  * WC tested up to: 6.3.1
13
  * Requires at least: 5.7
14
  * Requires PHP: 7.0
15
- * Version: 3.9.1
16
  *
17
  * @package WooCommerce\Payments
18
  */
12
  * WC tested up to: 6.3.1
13
  * Requires at least: 5.7
14
  * Requires PHP: 7.0
15
+ * Version: 3.9.2
16
  *
17
  * @package WooCommerce\Payments
18
  */