Skip to content

Commit

Permalink
Display Klarna & Afterpay on the checkout for UK based stores (#7852)
Browse files Browse the repository at this point in the history
Co-authored-by: Timur Karimov <[email protected]>
  • Loading branch information
timur27 and Timur Karimov authored Dec 7, 2023
1 parent 8a84fa0 commit ead063f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog/fix-klarna-afterpay-availability-in-uk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: fix

Display Klarna & Afterpay on the checkout for UK based stores
2 changes: 1 addition & 1 deletion includes/payment-methods/class-afterpay-payment-method.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function __construct( $token_service ) {
], // Represents NZD 1 - 2,000 NZD.
],
'GBP' => [
'UK' => [
'GB' => [
'min' => 100,
'max' => 120000,
], // Represents GBP 1 - 1,200 GBP.
Expand Down
2 changes: 1 addition & 1 deletion includes/payment-methods/class-klarna-payment-method.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct( $token_service ) {
],
],
'GBP' => [
'UK' => [
'GB' => [
'min' => 0,
'max' => 1150000,
],
Expand Down

0 comments on commit ead063f

Please sign in to comment.