Skip to content

Commit 5c6f31c

Browse files
Mayishadaledupreez
authored andcommitted
[ECE] Fix state mapping for Lithuania (#4501)
* add Lithuania in state mapping Cherry-picked from d9160e3. * add changelog
1 parent b3698e0 commit 5c6f31c

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
*** Changelog ***
22

33
= 9.7.1 - xxxx-xx-xx =
4+
* Add - Add state mapping for Lithuania in express checkout
45

56
= 9.7.0 - 2025-07-21 =
67
* Update - Removes BNPL payment methods (Klarna and Affirm) when other official plugins are active

includes/constants/class-wc-stripe-payment-request-button-states.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* 1. WC provides a dropdown list of states, but there's no state field in Chrome for the following countries:
1919
* AO (Angola), BD (Bangladesh), BG (Bulgaria), BJ (Benin), BO (Bolivia), DO (Dominican Republic),
2020
* DZ (Algeria), GH (Ghana), GT (Guatemala), HU (Hungary), KE (Kenya), LA (Laos),
21-
* LR (Liberia), MD (Moldova), NA (Namibia), NP (Nepal), PK (Pakistan),
21+
* LR (Liberia), LT (Lithuania), MD (Moldova), NA (Namibia), NP (Nepal), PK (Pakistan),
2222
* PY (Paraguay), RO (Romania), TZ (Tanzania), UG (Uganda), UM (United States Minor Outlying Islands),
2323
* ZA (South Africa), ZM (Zambia).
2424
* 2. Chrome does not provide a dropdown list of states for 161 countries in total, out of the 249 countries WC supports,
@@ -648,6 +648,8 @@ class WC_Stripe_Payment_Request_Button_States {
648648
'LK' => [],
649649
// Liberia.
650650
'LR' => [],
651+
// Lithuania.
652+
'LT' => [],
651653
// Luxembourg.
652654
'LU' => [],
653655
// Moldova.

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ If you get stuck, you can ask for help in the [Plugin Forum](https://wordpress.o
111111
== Changelog ==
112112

113113
= 9.7.1 - xxxx-xx-xx
114-
114+
* Add - Add state mapping for Lithuania in express checkout
115115

116116
= 9.7.0 - 2025-07-21 =
117117

0 commit comments

Comments
 (0)