Skip to content

Commit

Permalink
feat(router): [Cybersource] add GBP and EUR to the currency config (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshayaFoiger authored Aug 28, 2024
1 parent 089a950 commit e659f98
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 16 deletions.
6 changes: 6 additions & 0 deletions config/config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,12 @@ debit = { currency = "USD" }
apple_pay = { currency = "USD" }
google_pay = { currency = "USD" }

[pm_filters.cybersource]
credit = { currency = "USD,GBP,EUR" }
debit = { currency = "USD,GBP,EUR" }
apple_pay = { currency = "USD,GBP,EUR" }
google_pay = { currency = "USD,GBP,EUR" }

[pm_filters.stax]
credit = { currency = "USD" }
debit = { currency = "USD" }
Expand Down
8 changes: 4 additions & 4 deletions config/deployments/integration_test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,10 @@ klarna = { country = "AU,AT,BE,CA,CZ,DK,FI,FR,DE,GR,IE,IT,NL,NZ,NO,PL,PT,ES,SE,C
sofort = { country = "AT,BE,DE,IT,NL,ES", currency = "EUR" }

[pm_filters.cybersource]
credit = { currency = "USD" }
debit = { currency = "USD" }
apple_pay = { currency = "USD" }
google_pay = { currency = "USD" }
credit = { currency = "USD,GBP,EUR" }
debit = { currency = "USD,GBP,EUR" }
apple_pay = { currency = "USD,GBP,EUR" }
google_pay = { currency = "USD,GBP,EUR" }

[pm_filters.volt]
open_banking_uk = {country = "DE,GB,AT,BE,CY,EE,ES,FI,FR,GR,HR,IE,IT,LT,LU,LV,MT,NL,PT,SI,SK,BG,CZ,DK,HU,NO,PL,RO,SE,AU,BR", currency = "EUR,GBP,DKK,NOK,PLN,SEK,AUD,BRL"}
Expand Down
8 changes: 4 additions & 4 deletions config/deployments/production.toml
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,10 @@ google_pay = { currency = "USD" }


[pm_filters.cybersource]
credit = { currency = "USD" }
debit = { currency = "USD" }
apple_pay = { currency = "USD" }
google_pay = { currency = "USD" }
credit = { currency = "USD,GBP,EUR" }
debit = { currency = "USD,GBP,EUR" }
apple_pay = { currency = "USD,GBP,EUR" }
google_pay = { currency = "USD,GBP,EUR" }

[pm_filters.braintree]
paypal.currency = "AUD,BRL,CAD,CNY,CZK,DKK,EUR,HKD,HUF,ILS,JPY,MYR,MXN,TWD,NZD,NOK,PHP,PLN,GBP,RUB,SGD,SEK,CHF,THB,USD"
Expand Down
8 changes: 4 additions & 4 deletions config/deployments/sandbox.toml
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,10 @@ apple_pay = { currency = "USD" }
google_pay = { currency = "USD" }

[pm_filters.cybersource]
credit = { currency = "USD" }
debit = { currency = "USD" }
apple_pay = { currency = "USD" }
google_pay = { currency = "USD" }
credit = { currency = "USD,GBP,EUR" }
debit = { currency = "USD,GBP,EUR" }
apple_pay = { currency = "USD,GBP,EUR" }
google_pay = { currency = "USD,GBP,EUR" }

[pm_filters.braintree]
paypal.currency = "AUD,BRL,CAD,CNY,CZK,DKK,EUR,HKD,HUF,ILS,JPY,MYR,MXN,TWD,NZD,NOK,PHP,PLN,GBP,RUB,SGD,SEK,CHF,THB,USD"
Expand Down
8 changes: 4 additions & 4 deletions config/development.toml
Original file line number Diff line number Diff line change
Expand Up @@ -435,10 +435,10 @@ google_pay = { currency = "USD" }


[pm_filters.cybersource]
credit = { currency = "USD" }
debit = { currency = "USD" }
apple_pay = { currency = "USD" }
google_pay = { currency = "USD" }
credit = { currency = "USD,GBP,EUR" }
debit = { currency = "USD,GBP,EUR" }
apple_pay = { currency = "USD,GBP,EUR" }
google_pay = { currency = "USD,GBP,EUR" }

[pm_filters.braintree]
paypal = { currency = "AUD,BRL,CAD,CNY,CZK,DKK,EUR,HKD,HUF,ILS,JPY,MYR,MXN,TWD,NZD,NOK,PHP,PLN,GBP,RUB,SGD,SEK,CHF,THB,USD" }
Expand Down
6 changes: 6 additions & 0 deletions config/docker_compose.toml
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,12 @@ debit = { currency = "USD" }
apple_pay = { currency = "USD" }
google_pay = { currency = "USD" }

[pm_filters.cybersource]
credit = { currency = "USD,GBP,EUR" }
debit = { currency = "USD,GBP,EUR" }
apple_pay = { currency = "USD,GBP,EUR" }
google_pay = { currency = "USD,GBP,EUR" }

[pm_filters.helcim]
credit = { currency = "USD" }
debit = { currency = "USD" }
Expand Down

0 comments on commit e659f98

Please sign in to comment.