issuer_response_codes 0.1.2 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/locale/sv.yml CHANGED
@@ -1,41 +1,118 @@
1
1
  sv:
2
- issuer_response_code: &issuer_response_code
3
- '00': "Ett fel inträffade. Transaktionen avvisades av Elavon på grund av att den inte stödde korttyp eller felaktiga kortdata, inget svar från emittent / bank eller inaktivt Merchant-konto."
4
- '05': "Banken har avböjt transaktionen på grund av säkerhetskontroll (använt kort stöder inte återkommande betalningar eller betalning utan CVV-kod), pengarna har frusits eller gränsöverskridits eller kortet stöder inte MOTO / internet-transaktioner."
5
- '13': "MOTO / eCommerce betalningar på kortet är inaktiva eller beloppet överskrider."
6
- '14': "Ogiltigt kortnummer."
7
- 'N7': "Negativa CVV / CVC resultat."
8
- '51': "Otillräckliga medel."
9
- '54': "Utgånget kort."
10
- '57': "Banken har avböjt transaktionen eftersom detta kreditkort inte kan användas för denna typ av transaktion (e-handel, MOTO eller återkommande)."
11
- '61': "Banken har avböjt transaktionen."
12
- '82': "Negativa CVV / CVC resultat."
13
- # incomplete translations
14
- unknown: "Unknown reason."
15
- '01': "Authorization Error."
16
- '02': "Authorization Error."
17
- '03': "Authorization Error."
18
- '12': "No privileges to execute this transaction for your card."
19
- '30': "Your bank has declined this transaction"
20
- '58': "Your bank has declined this transaction as this credit card cannot be used for this type of transaction (eccommerce, MOTO or recurring)."
21
- '59': "Your bank has declined this transaction"
22
- '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."
23
- '65': "Activity count limit exceeded."
24
- '75': "Invalid activity count limit exceeded."
25
- '78': "Inactive card."
26
- '91': "Temporary issuer error."
27
- '92': "Temporary issuer error."
28
- '94': "Temporary issuer error."
29
- '96': "Temporary issuer error."
30
- '98': "Temporary issuer error."
31
- 'E3': "Transaction not executed due to a 3D-Secure error."
32
- 'E4': "Transaction not executed due to a negative 3D-Secure confirmation from your bank."
33
- 'E5': "Temporary 3D-Secure error."
34
- 'R0': "Refused by Issuer because Customer requested stop of specific recurring payments."
35
- 'R1': "Refused by Issuer because Customer requested stop of all recurring payments."
2
+ tds_status_codes:
3
+ fraudulent_codes:
4
+ '09': true
5
+ '10': true
6
+ '11': true
7
+ behaviour:
8
+ unknown: 'Please contact our support team.'
9
+ '01': Please try again.
10
+ '02': Please try again using a different device.
11
+ '03': Please try again using a different device.
12
+ '04': Please use a different card or contact your card issuer.
13
+ '05': Please use a different card.
14
+ '06': Please use a different card or check the card number.
15
+ '07': Please use a different card.
16
+ '08': Please use a different card.
17
+ '09': Please use a different card or contact issuer.
18
+ '10': Please use a different card or contact issuer.
19
+ '11': Please use a different card or contact issuer.
20
+ '12': Please use a different card or contact issuer.
21
+ '13': Please use a different card or contact issuer.
22
+ '14': Please try again or use a different card.
23
+ '15': Please use a different card or contact issuer.
24
+ '16': Please use a different card or contact issuer.
25
+ '17': Please use a different card or contact issuer.
26
+ '18': Please use a different card or contact issuer.
27
+ '19': Please use a different card or contact issuer.
28
+ '20': Please use a different card.
29
+ '21': Please use a different card.
30
+ '22': Please try again or use a different card.
31
+ '23': Please use a different card or contact issuer.
32
+ '24': Please try again or use a different card.
33
+ '25': Please try again or use a different card.
34
+ '26': Please try again or use a different card.
35
+ '80': Please use a different card.
36
+ '81': Please try again or use a different card.
37
+ '82': Please use a different card.
38
+ '83': Please use a different card.
39
+ '84': Please try again or use a different card.
40
+ '85': Please use a different card.
41
+ '86': Please use a different card.
42
+ '87': Please use a different card.
43
+ '88': Please use a different card.
44
+ universal: &universal_tds_status_codes
45
+ unknown: "Unknown reason."
46
+ '01': Card authentication failed.
47
+ '02': Unknown Device.
48
+ '03': Unsupported Device.
49
+ '04': Exceeds authentication frequency limit.
50
+ '05': Expired card.
51
+ '06': Invalid card number.
52
+ '07': Invalid transaction.
53
+ '08': No Card record.
54
+ '15': Low confidence.
55
+ '16': Medium confidence.
56
+ '17': High confidence.
57
+ '18': Very High confidence.
58
+ '19': Exceeds ACS maximum challenges.
59
+ '20': Non-Payment transaction not supported.
60
+ targeted:
61
+ merchant:
62
+ <<: *universal_tds_status_codes
63
+ '09': Security failure.
64
+ '10': Stolen card.
65
+ '11': Suspected fraud.
66
+ '12': Transaction not permitted to cardholder.
67
+ '13': Cardholder not enrolled in service.
68
+ '14': Transaction timed out at the ACS.
69
+ '21': 3RI transaction not supported.
70
+ '22': ACS technical issue.
71
+ '23': Decoupled Authentication required by ACS but not requested by 3DS Requestor.
72
+ '24': 3DS Requestor Decoupled Max Expiry Time exceeded.
73
+ '25': Decoupled Authentication was provided insufficient time to authenticate cardholder. ACS will not make attempt.
74
+ '26': Authentication attempted but not performed by the cardholder.
75
+ '80': Error Connecting to ACS.
76
+ '81': ACS Timed Out.
77
+ '82': Invalid Response from ACS.
78
+ '83': System Error Response from ACS.
79
+ '84': Internal Error While Generating CAVV.
80
+ '85': VMID not eligible for requested program.
81
+ '86': Protocol Version Not Supported by ACS.
82
+ '87': Transaction is excluded from Attempts Processing (includes non- reloadable pre-paid cards and Non- Payments (NPA)).
83
+ '88': Requested program not supported by the ACS.
84
+ cardholder:
85
+ <<: *universal_tds_status_codes
86
+ '09': Card authentication failed. # Security failure
87
+ '10': Card authentication failed. # Stolen card
88
+ '11': Card authentication failed. # Suspected fraud
89
+ '12': Transaction not permitted to cardholder.
90
+ '13': Cardholder not enrolled in service.
91
+ '14': Card authentication failed.
92
+ '21': Card authentication failed.
93
+ '22': Issuer technical issue.
94
+ '23': Card authentication failed
95
+ '24': Card authentication failed
96
+ '25': Card authentication failed.
97
+ '26': Card authentication failed.
98
+ '80': Card authentication failed.
99
+ '81': Card authentication failed.
100
+ '82': Card authentication failed.
101
+ '83': Card authentication failed.
102
+ '84': Card authentication failed.
103
+ '85': Card authentication failed.
104
+ '86': Card authentication failed.
105
+ '87': Card authentication failed.
106
+ '88': Card authentication failed.
107
+
36
108
  issuer_response_codes:
37
109
  suggestion: 'Suggestion'
38
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
+ fraudulent_codes:
112
+ '04': true
113
+ '07': true
114
+ '41': true
115
+ '43': true
39
116
  behaviour:
40
117
  '00': "Vänligen försök igen senare, kontakta säljaren eller med hjälp av Espago Support Team."
41
118
  '05': "Kontrollera dina kortinställningar för dessa transaktionstyper eller använd ett annat kort."
@@ -52,12 +129,12 @@ sv:
52
129
  '01': "Please contact your card issuer."
53
130
  '02': "Please contact your card issuer."
54
131
  '03': "Please contact your card issuer and try again later."
55
- '04': "Please contact your card issuer and try again later. %{substitute}"
56
- '07': "Please contact your card issuer and try again later. %{substitute}"
132
+ '04': "Please contact your card issuer and try again later."
133
+ '07': "Please contact your card issuer and try again later."
57
134
  '12': "Please contact your card issuer to get more details and try again later."
58
135
  '30': "Please contact your card issuer to get more details and try again later."
59
- '41': "Please contact your card issuer to get more details and try again later. %{substitute}"
60
- '43': "Please contact your card issuer to get more details and try again later. %{substitute}"
136
+ '41': "Please contact your card issuer to get more details and try again later."
137
+ '43': "Please contact your card issuer to get more details and try again later."
61
138
  '58': "Please check your card settings for those transaction types or use another card."
62
139
  '59': "Please contact your card issuer to get more details and try again later."
63
140
  '62': "Please contact your bank."
@@ -74,6 +151,40 @@ sv:
74
151
  'E5': "Please try again later or contact your card issuer to get more details"
75
152
  'R0': "Please contact your card issuer to get more details and try again later."
76
153
  'R1': "Please contact your card issuer to get more details and try again later."
154
+ universal: &issuer_response_code
155
+ '00': "Ett fel inträffade. Transaktionen avvisades av Elavon på grund av att den inte stödde korttyp eller felaktiga kortdata, inget svar från emittent / bank eller inaktivt Merchant-konto."
156
+ '05': "Banken har avböjt transaktionen på grund av säkerhetskontroll (använt kort stöder inte återkommande betalningar eller betalning utan CVV-kod), pengarna har frusits eller gränsöverskridits eller kortet stöder inte MOTO / internet-transaktioner."
157
+ '13': "MOTO / eCommerce betalningar på kortet är inaktiva eller beloppet överskrider."
158
+ '14': "Ogiltigt kortnummer."
159
+ 'N7': "Negativa CVV / CVC resultat."
160
+ '51': "Otillräckliga medel."
161
+ '54': "Utgånget kort."
162
+ '57': "Banken har avböjt transaktionen eftersom detta kreditkort inte kan användas för denna typ av transaktion (e-handel, MOTO eller återkommande)."
163
+ '61': "Banken har avböjt transaktionen."
164
+ '82': "Negativa CVV / CVC resultat."
165
+ # incomplete translations
166
+ unknown: "Unknown reason."
167
+ '01': "Authorization Error."
168
+ '02': "Authorization Error."
169
+ '03': "Authorization Error."
170
+ '12': "No privileges to execute this transaction for your card."
171
+ '30': "Your bank has declined this transaction"
172
+ '58': "Your bank has declined this transaction as this credit card cannot be used for this type of transaction (eccommerce, MOTO or recurring)."
173
+ '59': "Your bank has declined this transaction"
174
+ '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
+ '65': "Activity count limit exceeded."
176
+ '75': "Invalid activity count limit exceeded."
177
+ '78': "Inactive card."
178
+ '91': "Temporary issuer error."
179
+ '92': "Temporary issuer error."
180
+ '94': "Temporary issuer error."
181
+ '96': "Temporary issuer error."
182
+ '98': "Temporary issuer error."
183
+ 'E3': "Transaction not executed due to a 3D-Secure error."
184
+ 'E4': "Transaction not executed due to a negative 3D-Secure confirmation from your bank."
185
+ 'E5': "Temporary 3D-Secure error."
186
+ 'R0': "Refused by Issuer because Customer requested stop of specific recurring payments."
187
+ 'R1': "Refused by Issuer because Customer requested stop of all recurring payments."
77
188
  targeted:
78
189
  merchant:
79
190
  <<: *issuer_response_code
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: issuer_response_codes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Espago
8
8
  - Mateusz Drewniak
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-05-12 00:00:00.000000000 Z
12
+ date: 2021-09-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -53,6 +53,34 @@ dependencies:
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: minitest
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '5.0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '5.0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: rake
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '12.0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '12.0'
56
84
  - !ruby/object:Gem::Dependency
57
85
  name: rubocop
58
86
  requirement: !ruby/object:Gem::Requirement
@@ -108,10 +136,13 @@ files:
108
136
  - lib/issuer_response_codes/code.rb
109
137
  - lib/issuer_response_codes/context.rb
110
138
  - lib/issuer_response_codes/locale_library.rb
139
+ - lib/issuer_response_codes/tds_code.rb
111
140
  - lib/issuer_response_codes/version.rb
112
141
  - lib/locale/da.yml
142
+ - lib/locale/de.yml
113
143
  - lib/locale/ee.yml
114
144
  - lib/locale/en.yml
145
+ - lib/locale/it.yml
115
146
  - lib/locale/lt.yml
116
147
  - lib/locale/lv.yml
117
148
  - lib/locale/pl.yml
@@ -122,7 +153,7 @@ licenses:
122
153
  metadata:
123
154
  homepage_uri: https://github.com/espago/issuer_response_codes
124
155
  source_code_uri: https://github.com/espago/issuer_response_codes
125
- post_install_message:
156
+ post_install_message:
126
157
  rdoc_options: []
127
158
  require_paths:
128
159
  - lib
@@ -138,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
169
  version: '0'
139
170
  requirements: []
140
171
  rubygems_version: 3.1.4
141
- signing_key:
172
+ signing_key:
142
173
  specification_version: 4
143
174
  summary: Issuer Response Code descriptions for cardholders and merchants
144
175
  test_files: []