Skip to content

Commit

Permalink
Reach: Update list of supported countries
Browse files Browse the repository at this point in the history
Full list of countries supported is available in Reach docs: https://docs.withreach.com/v2.22/docs/currencies-and-countries
  • Loading branch information
jcreiff committed Jul 31, 2023
1 parent 104d857 commit 9cfe650
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
== HEAD
* PaymentExpress: Correct endpoints [steveh] #4827
* Adyen: Add option to elect which error message [aenand] #4843
* Reach: Update list of supported countries [jcreiff] #4842

== Version 1.134.0 (July 25, 2023)
* Update required Ruby version [almalee24] #4823
Expand Down
9 changes: 8 additions & 1 deletion lib/active_merchant/billing/gateways/reach.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ class ReachGateway < Gateway
self.test_url = 'https://checkout.rch.how/'
self.live_url = 'https://checkout.rch.io/'

self.supported_countries = ['US']
self.supported_countries = %w(AE AG AL AM AT AU AW AZ BA BB BD BE BF BG BH BJ BM BN BO BR BS BW BZ CA CD CF
CH CI CL CM CN CO CR CU CV CY CZ DE DJ DK DM DO DZ EE EG ES ET FI FJ FK FR GA
GB GD GE GG GH GI GN GR GT GU GW GY HK HN HR HU ID IE IL IM IN IS IT JE JM JO
JP KE KG KH KM KN KR KW KY KZ LA LC LK LR LT LU LV LY MA MD MK ML MN MO MR MS
MT MU MV MW MX MY MZ NA NC NE NG NI NL NO NP NZ OM PA PE PF PG PH PK PL PT PY
QA RO RS RW SA SB SC SE SG SH SI SK SL SN SO SR ST SV SY SZ TD TG TH TN TO TR
TT TV TW TZ UG US UY UZ VC VN VU WF WS YE ZM)

self.default_currency = 'USD'
self.supported_cardtypes = %i[visa diners_club american_express jcb master discover maestro]

Expand Down

0 comments on commit 9cfe650

Please sign in to comment.