issuer_response_codes 0.3.0 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +6 -3
- data/lib/issuer_response_codes/version.rb +1 -1
- data/lib/locale/da.yml +20 -0
- data/lib/locale/de.yml +177 -149
- data/lib/locale/ee.yml +20 -0
- data/lib/locale/en.yml +32 -0
- data/lib/locale/es.yml +32 -0
- data/lib/locale/fi.yml +32 -0
- data/lib/locale/fr.yml +32 -0
- data/lib/locale/hr.yml +32 -0
- data/lib/locale/it.yml +32 -0
- data/lib/locale/lt.yml +21 -1
- data/lib/locale/lv.yml +21 -1
- data/lib/locale/nl.yml +32 -0
- data/lib/locale/pl.yml +77 -45
- data/lib/locale/pt.yml +32 -0
- data/lib/locale/sv.yml +20 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96863d0a718b746cc2d7543eec08031745116fd7e89414a086029c5d97b1f248
|
4
|
+
data.tar.gz: fcd5a9300e1865ec6acbd839b336f1fa1da691fc6ce53e15823941c3a034b44c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 169699f6799aa79f969ec4f7e73b297dfe660bae28d721ddb9dd3f6527ecb7ca7592df2a96c7838bc7a400a54e2b510f1e5f7bd3fea3b8dc4ff2fee1de2939a8
|
7
|
+
data.tar.gz: 2bd2733c8e35c6a019c835d78117603fb0034cf0fa644d2728878f3264ac17e555c14e1970865fa2ce7bf46bdf01b039e5e267db9fd4eae6d47f9e4b7c6353bc
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# IssuerResponseCodes
|
2
2
|
|
3
|
-
This gem provides a quite comprehensive library of Issuer Response Code and 3D-Secure Status Code descriptions (for both cardholders and merchants) with suggested actions in
|
3
|
+
This gem provides a quite comprehensive library of Issuer Response Code and 3D-Secure Status Code descriptions (for both cardholders and merchants) with suggested actions in many languages:
|
4
|
+
|
4
5
|
- Complete locales:
|
5
6
|
- en
|
6
7
|
- pl
|
@@ -139,7 +140,7 @@ code.behaviour #=> "Please contact your card issuer to get more details and try
|
|
139
140
|
|
140
141
|
##### Locale
|
141
142
|
|
142
|
-
The default locale is `:en`.
|
143
|
+
The default locale is `:en`. Only the first two are complete, the rest are partially in English.
|
143
144
|
|
144
145
|
```ruby
|
145
146
|
code = ::IssuerResponseCodes::Code.new(id: '54')
|
@@ -152,6 +153,8 @@ code = ::IssuerResponseCodes::Code.new(id: '54', locale: :pl)
|
|
152
153
|
code.reason #=> "Karta utraciła ważność."
|
153
154
|
```
|
154
155
|
|
156
|
+
A full list of available locales is stored in `IssuerResponseCodes::AVAILABLE_LOCALES`.
|
157
|
+
|
155
158
|
#### Methods
|
156
159
|
|
157
160
|
##### reason
|
@@ -266,7 +269,7 @@ code.behaviour #=> "Please use a different card or contact issuer. Transactions
|
|
266
269
|
|
267
270
|
##### Locale
|
268
271
|
|
269
|
-
The default locale is `:en`.
|
272
|
+
The default locale is `:en`. Only the first two are complete, the rest are partially in English.
|
270
273
|
|
271
274
|
```ruby
|
272
275
|
code = ::IssuerResponseCodes::TdsCode.new(id: '11', target: :cardholder)
|
data/lib/locale/da.yml
CHANGED
@@ -110,35 +110,45 @@ da:
|
|
110
110
|
fraud_notice: 'IMPORTANT NOTICE: It is forbidden to retry transactions that ended with this code. It may be recognized as a fraud attempt!'
|
111
111
|
fraudulent_codes:
|
112
112
|
'04': true
|
113
|
+
'B04': true
|
113
114
|
'07': true
|
114
115
|
'41': true
|
116
|
+
'B41': true
|
115
117
|
'43': true
|
118
|
+
'B43': true
|
116
119
|
behaviour:
|
117
120
|
'00': "Prøv igen senere, kontakt med sælger eller med Espago Support Team."
|
118
121
|
'05': "Tjek venligst dine kortindstillinger for disse transaktionstyper eller brug et andet kort."
|
119
122
|
'13': "Tjek venligst indstillinger for din konto og konfigurationer af grænser. Kontakt venligst din kortudsteder og prøv igen senere."
|
120
123
|
'14': "Kontroller indtastede data og prøv igen."
|
124
|
+
'B14': "Kontroller indtastede data og prøv igen."
|
121
125
|
'N7': "Kontroller indtastede data og prøv igen."
|
122
126
|
'51': "Tjek venligst penge på din konto og prøv igen senere."
|
123
127
|
'54': "Kontrollér dit kort eller prøv et andet."
|
128
|
+
'B54': "Kontrollér dit kort eller prøv et andet."
|
124
129
|
'57': "Tjek venligst dine kortindstillinger for disse transaktionstyper eller brug et andet kort."
|
125
130
|
'61': "Tjek venligst indstillinger for din konto og konfigurationer af grænser. Kontakt venligst din kortudsteder og prøv igen senere."
|
126
131
|
'82': "Kontroller indtastede data og prøv igen."
|
132
|
+
'E1': "Brug venligst et andet kort, eller kontakt sælgeren."
|
127
133
|
# incomplete translations
|
128
134
|
unknown: "Please contact our support team."
|
129
135
|
'01': "Please contact your card issuer."
|
130
136
|
'02': "Please contact your card issuer."
|
131
137
|
'03': "Please contact your card issuer and try again later."
|
132
138
|
'04': "Please contact your card issuer and try again later."
|
139
|
+
'B04': "Please contact your card issuer and try again later."
|
133
140
|
'07': "Please contact your card issuer and try again later."
|
134
141
|
'12': "Please contact your card issuer to get more details and try again later."
|
135
142
|
'30': "Please contact your card issuer to get more details and try again later."
|
136
143
|
'41': "Please contact your card issuer to get more details and try again later."
|
144
|
+
'B41': "Please contact your card issuer to get more details and try again later."
|
137
145
|
'43': "Please contact your card issuer to get more details and try again later."
|
146
|
+
'B43': "Please contact your card issuer to get more details and try again later."
|
138
147
|
'58': "Please check your card settings for those transaction types or use another card."
|
139
148
|
'59': "Please contact your card issuer to get more details and try again later."
|
140
149
|
'62': "Please contact your bank."
|
141
150
|
'65': "Change your limits settings or try again later."
|
151
|
+
'B65': "Change your limits settings or try again later."
|
142
152
|
'75': "Please check your CVV/CVC/PIN code on your card."
|
143
153
|
'78': "Please activate your card and try again later."
|
144
154
|
'91': "Please try again later."
|
@@ -156,12 +166,15 @@ da:
|
|
156
166
|
'05': "Banken har afvist transaktionen på grund af sikkerhedskontrol (brugt kort understøtter ikke tilbagebetalinger eller betaling uden CVV-kode), midlerne er blevet frosset eller grænsen overskredet, eller kortet understøtter ikke MOTO / internet-transaktioner."
|
157
167
|
'13': "MOTO / eCommerce betalinger på kort er inaktive eller beløbsgrænse overstiger."
|
158
168
|
'14': "Ugyldigt kortnummer."
|
169
|
+
'B14': "Ugyldigt kortnummer."
|
159
170
|
'N7': "Negative CVV / CVC resultater."
|
160
171
|
'51': "Ikke nok penge."
|
161
172
|
'54': "Udgået kort."
|
173
|
+
'B54': "Udgået kort."
|
162
174
|
'57': "Banken har afvist transaktionen, da dette kreditkort ikke kan bruges til denne type transaktion (e-handel, MOTO eller tilbagevendende)."
|
163
175
|
'61': "Banken har afvist transaktionen."
|
164
176
|
'82': "Negative CVV / CVC resultater."
|
177
|
+
'E1': "Grænsen for afslag er overskredet."
|
165
178
|
# incomplete translations
|
166
179
|
unknown: "Unknown reason."
|
167
180
|
'01': "Authorization Error."
|
@@ -173,6 +186,7 @@ da:
|
|
173
186
|
'59': "Your bank has declined this transaction"
|
174
187
|
'62': "Your card can be not supported due to restrictions placed on the card or Seller country exclusion (imposition an embargo), or bank blocked a card eg. due to unacceptable debit balance."
|
175
188
|
'65': "Activity count limit exceeded."
|
189
|
+
'B65': "Activity count limit exceeded."
|
176
190
|
'75': "Invalid activity count limit exceeded."
|
177
191
|
'78': "Inactive card."
|
178
192
|
'91': "Temporary issuer error."
|
@@ -189,12 +203,18 @@ da:
|
|
189
203
|
merchant:
|
190
204
|
<<: *issuer_response_code
|
191
205
|
'04': "Pickup card."
|
206
|
+
'B04': "Pickup card."
|
192
207
|
'07': "Pickup card."
|
193
208
|
'41': "Lost card."
|
209
|
+
'B41': "Lost card."
|
194
210
|
'43': "Stolen card."
|
211
|
+
'B43': "Stolen card."
|
195
212
|
cardholder:
|
196
213
|
<<: *issuer_response_code
|
197
214
|
'04': "Your bank has declined this transaction."
|
215
|
+
'B04': "Your bank has declined this transaction."
|
198
216
|
'07': "Your bank has declined this transaction."
|
199
217
|
'41': "Your bank has declined this transaction."
|
218
|
+
'B41': "Your bank has declined this transaction."
|
200
219
|
'43': "Your bank has declined this transaction."
|
220
|
+
'B43': "Your bank has declined this transaction."
|