Skip to content

Commit

Permalink
Merge pull request #3040 from woocommerce/fix/PCP-4131-uk-to-gb
Browse files Browse the repository at this point in the history
Change UK to GB
  • Loading branch information
stracker-phil authored Jan 31, 2025
2 parents 51b2582 + 2387902 commit 0e7df1e
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 68 deletions.
126 changes: 63 additions & 63 deletions modules/ppcp-settings/resources/js/utils/countryPriceInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,139 +2,139 @@ export const countryPriceInfo = {
US: {
fixedFee: {
USD: 0.49,
GBP: 0.39,
CAD: 0.59,
AUD: 0.59,
EUR: 0.39,
GBP: 0.39,
CAD: 0.59,
AUD: 0.59,
EUR: 0.39,
},
checkout: 3.49,
plater: 4.99,
ccf: {
percentage: 2.59,
fixedFee: 0.29,
},
plater: 4.99,
ccf: {
percentage: 2.59,
fixedFee: 0.29,
},
dw: {
percentage: 2.59,
fixedFee: 0.29,
},
percentage: 2.59,
fixedFee: 0.29,
},
apm: {
percentage: 2.89,
fixedFee: 0.29,
},
fast: {
percentage: 2.59,
fixedFee: 0.29,
},
percentage: 2.89,
fixedFee: 0.29,
},
fast: {
percentage: 2.59,
fixedFee: 0.29,
},
standardCardFields: 2.99,
},
UK: {
GB: {
fixedFee: {
GPB: 0.3,
USD: 0.3,
CAD: 0.3,
AUD: 0.3,
EUR: 0.35,
USD: 0.3,
CAD: 0.3,
AUD: 0.3,
EUR: 0.35,
},
checkout: 2.9,
plater: 2.9,
plater: 2.9,
ccf: 1.2,
dw: 1.2,
fast: 1.2,
fast: 1.2,
apm: 1.2,
standardCardFields: 1.2,
},
CA: {
fixedFee: {
CAD: 0.3,
USD: 0.3,
GBP: 0.2,
AUD: 0.3,
EUR: 0.35,
USD: 0.3,
GBP: 0.2,
AUD: 0.3,
EUR: 0.35,
},
checkout: 2.9,
ccf: 2.7,
dw: 2.7,
fast: 2.7,
fast: 2.7,
apm: 2.9,
standardCardFields: 2.9,
},
AU: {
fixedFee: {
AUD: 0.3,
USD: 0.3,
GBP: 0.2,
CAD: 0.3,
EUR: 0.35,
USD: 0.3,
GBP: 0.2,
CAD: 0.3,
EUR: 0.35,
},
checkout: 2.6,
plater: 2.6,
plater: 2.6,
ccf: 1.75,
dw: 1.75,
fast: 1.75,
fast: 1.75,
apm: 2.6,
standardCardFields: 2.6,
},
FR: {
fixedFee: {
EUR: 0.35,
USD: 0.3,
GBP: 0.3,
CAD: 0.3,
AUD: 0.3,
USD: 0.3,
GBP: 0.3,
CAD: 0.3,
AUD: 0.3,
},
checkout: 2.9,
plater: 2.9,
plater: 2.9,
ccf: 1.2,
dw: 1.2,
fast: 1.2,
fast: 1.2,
apm: 1.2,
standardCardFields: 1.2,
},
IT: {
fixedFee: {
EUR: 0.35,
USD: 0.3,
GBP: 0.3,
CAD: 0.3,
AUD: 0.3,
EUR: 0.35,
USD: 0.3,
GBP: 0.3,
CAD: 0.3,
AUD: 0.3,
},
checkout: 3.4,
plater: 3.4,
plater: 3.4,
ccf: 1.2,
dw: 1.2,
fast: 1.2,
fast: 1.2,
apm: 1.2,
standardCardFields: 1.2,
},
DE: {
fixedFee: {
EUR: 0.39,
USD: 0.49,
GBP: 0.29,
CAD: 0.59,
AUD: 0.59,
USD: 0.49,
GBP: 0.29,
CAD: 0.59,
AUD: 0.59,
},
checkout: 2.99,
plater: 2.99,
plater: 2.99,
ccf: 2.99,
dw: 2.99,
fast: 2.99,
fast: 2.99,
apm: 2.99,
standardCardFields: 2.99,
},
ES: {
fixedFee: {
EUR: 0.35,
USD: 0.3,
GBP: 0.3,
CAD: 0.3,
AUD: 0.3,
EUR: 0.35,
USD: 0.3,
GBP: 0.3,
CAD: 0.3,
AUD: 0.3,
},
checkout: 2.9,
plater: 2.9,
plater: 2.9,
ccf: 1.2,
dw: 1.2,
fast: 1.2,
fast: 1.2,
apm: 1.2,
standardCardFields: 1.2,
},
Expand Down
10 changes: 5 additions & 5 deletions tests/PHPUnit/ApiClient/Entity/PayerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function testPayer()
->andReturn(['address']);
$address
->expects('country_code')
->andReturn('UK');
->andReturn('GB');
$phone = Mockery::mock(PhoneWithType::class);
$phone
->expects('to_array')
Expand Down Expand Up @@ -70,7 +70,7 @@ public function testPayerNoId()
->andReturn(['address']);
$address
->expects('country_code')
->andReturn('UK');
->andReturn('GB');
$phone = Mockery::mock(PhoneWithType::class);
$phone
->expects('to_array')
Expand Down Expand Up @@ -110,7 +110,7 @@ public function testPayerNoPhone()
->andReturn(['address']);
$address
->expects('country_code')
->andReturn('UK');
->andReturn('GB');
$phone = null;
$taxInfo = Mockery::mock(PayerTaxInfo::class);
$taxInfo
Expand Down Expand Up @@ -147,7 +147,7 @@ public function testPayerNoTaxInfo()
->andReturn(['address']);
$address
->expects('country_code')
->andReturn('UK');
->andReturn('GB');
$phone = Mockery::mock(PhoneWithType::class);
$phone
->expects('to_array')
Expand Down Expand Up @@ -184,7 +184,7 @@ public function testPayerNoBirthDate()
->andReturn(['address']);
$address
->expects('country_code')
->andReturn('UK');
->andReturn('GB');
$phone = Mockery::mock(PhoneWithType::class);
$phone
->expects('to_array')
Expand Down

0 comments on commit 0e7df1e

Please sign in to comment.