viva_wallet 0.3.0 → 0.3.3
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.
- checksums.yaml +4 -4
- data/lib/viva_wallet/event.rb +5 -5
- data/lib/viva_wallet/version.rb +1 -1
- data/lib/viva_wallet.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19d3a18ca8f0548ea631150c2470804b797d6b32f9ffcf8fa99f10d39e729c78
|
4
|
+
data.tar.gz: be8082b7a8e31f63de3f008e4d4d18bab4c8b30ad22e9a025bb9da387c8d93f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b78eecc69a36cc337125727940d4cf75535e5e88fa9748c980f6713f34ef9f89218464ee7af26734769975f791ac002bff5c775667a560c5b66ef3e62c43f20c
|
7
|
+
data.tar.gz: 4c2af61f1ec581dae735c615dba2a88541ca196c513358aeac84bcc936a035e5283f35e50c59f6ef856cb540520b6e1e6b1224124f035c90dd9a4a78de1baab7
|
data/lib/viva_wallet/event.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module VivaWallet
|
4
|
-
class
|
4
|
+
class Event
|
5
5
|
|
6
6
|
class << self
|
7
7
|
|
@@ -18,9 +18,9 @@ module VivaWallet
|
|
18
18
|
when 10001
|
19
19
|
{ reason: 'Refer to card issuer', explanation: 'The issuing bank prevented the transaction.', type: 'Issuer' }
|
20
20
|
when 10003
|
21
|
-
{ reason: 'Invalid merchant number', explanation: '
|
21
|
+
{ reason: 'Invalid merchant number', explanation: 'Security violation (source is not correct issuer).', type: 'Issuer' }
|
22
22
|
when 10004
|
23
|
-
{ reason: '
|
23
|
+
{ reason: 'Pick up card', explanation: 'The card has been designated as lost or stolen.', type: 'Issuer' }
|
24
24
|
when 10005
|
25
25
|
{ reason: 'Do not honor', explanation: 'The issuing bank declined the transaction without an explanation.', type: 'Issuer' }
|
26
26
|
when 10006
|
@@ -40,7 +40,7 @@ module VivaWallet
|
|
40
40
|
when 10043
|
41
41
|
{ reason: 'Stolen card', explanation: 'The card has been designated as lost or stolen.', type: 'User' }
|
42
42
|
when 10051
|
43
|
-
{ reason: 'Insufficient funds', explanation: '
|
43
|
+
{ reason: 'Insufficient funds', explanation: 'The card has insufficient funds to cover the cost of the transaction.', type: 'Issuer' }
|
44
44
|
when 10054
|
45
45
|
{ reason: 'Expired card', explanation: 'The payment gateway declined the transaction because the expiration date is expired or does not match.', type: 'User' }
|
46
46
|
when 10057
|
@@ -50,7 +50,7 @@ module VivaWallet
|
|
50
50
|
when 10061
|
51
51
|
{ reason: 'Withdrawal limit exceeded', explanation: 'Exceeds withdrawal amount limit.', type: 'Issuer' }
|
52
52
|
when 10062
|
53
|
-
{ reason: 'Restricted card', explanation: '
|
53
|
+
{ reason: 'Restricted card', explanation: 'The customer\'s bank has declined their card.', type: 'Issuer' }
|
54
54
|
when 10063
|
55
55
|
{ reason: 'Issuer response security violation', explanation: 'Flag raised due to security validation problem.', type: 'Issuer' }
|
56
56
|
when 10065
|
data/lib/viva_wallet/version.rb
CHANGED
data/lib/viva_wallet.rb
CHANGED