genesis_ruby 0.2.8 → 0.3.1
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/CHANGELOG.md +20 -0
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/genesis_ruby/api/mixins/requests/smart_router_attributes.rb +5 -0
- data/lib/genesis_ruby/api/requests/base/financial.rb +0 -5
- data/lib/genesis_ruby/api/requests/financial/void.rb +8 -0
- data/lib/genesis_ruby/utils/transactions/wpf_types.rb +6 -7
- data/lib/genesis_ruby/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12cd3e939b78536020d57469e7220098680c647f13ab38c88413b2e63d01fea0
|
4
|
+
data.tar.gz: 1073ba6ff04f83a1832c49960d3e448418bc04697921d4843cd8c05ec6201e42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d003f0096e584454c1bae7e50d5414a0c1361e17619acd15f83e62782fa74988c3c0739cac2fec826ad9c28736bc5705293dcbfa5c861aead55e5556db9fe6ae
|
7
|
+
data.tar.gz: d47c721dc4883cbb8d447dc0373b354a4663bef49f9ea512b836e679a7646b9c5da7ed4ab10cbad4b1b234f33fe6003cf3c56b385f33c62f08c6d3b0cae2b5bc
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
0.3.1
|
2
|
+
-----
|
3
|
+
|
4
|
+
**Fixes**:
|
5
|
+
|
6
|
+
* Fixed Void transaction request execution
|
7
|
+
|
8
|
+
0.3.0
|
9
|
+
-----
|
10
|
+
**Features**:
|
11
|
+
|
12
|
+
* Removed the following transaction types from Web Payment Form:
|
13
|
+
* banco_do_brasil
|
14
|
+
* bradesco
|
15
|
+
* itau
|
16
|
+
* pse
|
17
|
+
* redpagos
|
18
|
+
* santander
|
19
|
+
* webpay
|
20
|
+
|
1
21
|
0.2.8
|
2
22
|
-----
|
3
23
|
**Features**
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.1
|
@@ -43,11 +43,6 @@ module GenesisRuby
|
|
43
43
|
}
|
44
44
|
end
|
45
45
|
|
46
|
-
# Initialize Smart Router endpoint
|
47
|
-
def init_api_smart_router_configuration
|
48
|
-
api_config.url = build_request_url({ subdomain: 'smart_router', path: 'transactions' })
|
49
|
-
end
|
50
|
-
|
51
46
|
# Initialize Financial class validations
|
52
47
|
def init_field_validations
|
53
48
|
super
|
@@ -9,6 +9,7 @@ module GenesisRuby
|
|
9
9
|
|
10
10
|
include Mixins::Requests::Financial::BaseAttributes
|
11
11
|
include Mixins::Requests::Financial::ReferenceAttributes
|
12
|
+
include Mixins::Requests::SmartRouterAttributes
|
12
13
|
|
13
14
|
protected
|
14
15
|
|
@@ -17,6 +18,13 @@ module GenesisRuby
|
|
17
18
|
Api::Constants::Transactions::VOID
|
18
19
|
end
|
19
20
|
|
21
|
+
# Void transaction request configuration
|
22
|
+
def init_configuration
|
23
|
+
init_xml_configuration
|
24
|
+
init_api_gateway_configuration
|
25
|
+
init_api_smart_router_configuration if @configuration.force_smart_routing
|
26
|
+
end
|
27
|
+
|
20
28
|
def init_field_validations
|
21
29
|
required_fields.push *%i[transaction_id reference_id]
|
22
30
|
end
|
@@ -14,21 +14,20 @@ module GenesisRuby
|
|
14
14
|
def all # rubocop:disable Metrics/MethodLength
|
15
15
|
[
|
16
16
|
ACCOUNT_VERIFICATION, ALIPAY, ARGENCARD, APPLE_PAY, AURA, AUTHORIZE, AUTHORIZE_3D,
|
17
|
-
BALOTO, BANCOMER, BANCONTACT, BANCO_DE_OCCIDENTE,
|
18
|
-
BRADESCO,
|
17
|
+
BALOTO, BANCOMER, BANCONTACT, BANCO_DE_OCCIDENTE, BITPAY_PAYOUT, BITPAY_SALE, BOLETO,
|
19
18
|
CABAL, CASHU, CENCOSUD, DAVIVIENDA,
|
20
19
|
EFECTY, ELO, EPS, EZEEWALLET, FASHIONCHEQUE,
|
21
20
|
GOOGLE_PAY,
|
22
|
-
IDEAL, IDEBIT_PAYIN, INSTA_DEBIT_PAYIN, INTERSOLVE,
|
21
|
+
IDEAL, IDEBIT_PAYIN, INSTA_DEBIT_PAYIN, INTERSOLVE,
|
23
22
|
MULTIBANCO, MY_BANK,
|
24
23
|
NARANJA, NATIVA, NEOSURF, NETELLER,
|
25
24
|
ONLINE_BANKING_PAYIN, OXXO,
|
26
|
-
P24, PAGO_FACIL, PAY_PAL, PAYSAFECARD, PAYU, PIX, POLI, POST_FINANCE, PPRO,
|
27
|
-
RAPI_PAGO,
|
28
|
-
SAFETYPAY, SALE, SALE_3D,
|
25
|
+
P24, PAGO_FACIL, PAY_PAL, PAYSAFECARD, PAYU, PIX, POLI, POST_FINANCE, PPRO,
|
26
|
+
RAPI_PAGO, RUSSIAN_MOBILE_SALE,
|
27
|
+
SAFETYPAY, SALE, SALE_3D, SDD_INIT_RECURRING_SALE, SDD_SALE,
|
29
28
|
TARJETA_SHOPPING, TCS, TRUSTLY_SALE,
|
30
29
|
UPI,
|
31
|
-
WEBMONEY,
|
30
|
+
WEBMONEY, WECHAT
|
32
31
|
]
|
33
32
|
end
|
34
33
|
|
data/lib/genesis_ruby/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: genesis_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- emerchantpay Ltd.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-http
|
@@ -636,7 +636,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
636
636
|
- !ruby/object:Gem::Version
|
637
637
|
version: '0'
|
638
638
|
requirements: []
|
639
|
-
rubygems_version: 3.1
|
639
|
+
rubygems_version: 3.4.1
|
640
640
|
signing_key:
|
641
641
|
specification_version: 4
|
642
642
|
summary: Ruby Client for Genesis Payment Processing Gateway
|