You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog.txt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@
24
24
* Fix - Address QIT PHPStan test errors.
25
25
* Update - Specify the JS Stripe API version as 2024-06-20.
26
26
* Fix - Ensure payment tokens are detached from Stripe when a user is deleted, regardless of if the admin user has a Stripe account.
27
+
* Fix - Address Klarna availability based on correct presentment currency rules.
27
28
28
29
= 8.6.1 - 2024-08-09 =
29
30
* Tweak - Improves the wording of the invalid Stripe keys errors, instructing merchants to click the "Configure connection" button instead of manually setting the keys.
Copy file name to clipboardExpand all lines: includes/payment-methods/class-wc-stripe-upe-payment-method-klarna.php
+33Lines changed: 33 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -82,6 +82,39 @@ public function get_available_billing_countries() {
82
82
returnparent::get_available_billing_countries();
83
83
}
84
84
85
+
/**
86
+
* Returns the currencies this UPE method supports for the Stripe account.
87
+
*
88
+
* Klarna has unique requirements for domestic transactions. The customer must be located in the same country as the merchant's Stripe account and the currency must match.
89
+
* - Stores connected to US account and presenting USD can only transact with customers located in the US.
90
+
* - Stores connected to US account and presenting non-USD currency can not transact with customers irrespective of their location.
91
+
*
92
+
* Additionally, if the merchant is in the EEA, the country they can transact with depends on the presentment currency.
93
+
* EUR stores can transact with other EUR countries. Stores with currencies like GBP, CHF, etc. can only transact with customers located in those countries.
94
+
* This creates the following unique situations:
95
+
* - Stores presenting EUR, with a Stripe account in any EEA country including Switzerland or the UK can transact with countries where Euros are the standard currency: AT, BE, FI, FR, GR, DE, IE, IT, NL, PT, ES.
96
+
* - Stores presenting GBP with a Stripe account in any EEA country including Switzerland or the UK can transact with: GB.
97
+
* - Stores presenting NOK with a Stripe account in France, for example, cannot sell into France. They can only sell into Norway.
0 commit comments