nexio_activemerchant 0.4.1 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcbb427a634cbaffdda20498f09d4aa0112fba8212b61c65c93cbca7340c7015
|
4
|
+
data.tar.gz: 401a8a30107466ab735ea426a37ea1533f366b42056a57180b3c75484c76555d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ef916e4e97fcf717232ab25053f38dda4cec170bb210c79cfa795abee65b23220142ab95bc6bfab3cdd65f06c7d2dd402e9839dde8b3a8c94731c202748f6de
|
7
|
+
data.tar.gz: 441c25a81685792c34e32be7fa99631a6f9b0d07479ae2ef69a999c7a713cdc3b08772c0160f22c3b66802bd6bdd01023d63e2159f0077028ac35921e68add82
|
data/.gitignore
CHANGED
@@ -9,7 +9,7 @@ module ActiveMerchant
|
|
9
9
|
self.base_path = '/apm/v3'
|
10
10
|
self.abstract_class = false
|
11
11
|
|
12
|
-
OneTimeToken = Struct.new(:token, :iframe_url, :redirect_urls, :button_urls)
|
12
|
+
OneTimeToken = Struct.new(:token, :iframe_url, :script_url, :redirect_urls, :button_urls)
|
13
13
|
|
14
14
|
def generate_token(money, options = {})
|
15
15
|
post = build_payload(options)
|
@@ -25,6 +25,7 @@ module ActiveMerchant
|
|
25
25
|
OneTimeToken.new(
|
26
26
|
resp.params['token'],
|
27
27
|
resp.params['expressIFrameUrl'],
|
28
|
+
resp.params['scriptUrl'],
|
28
29
|
map_urls(resp.params['redirectUrls']),
|
29
30
|
map_urls(resp.params['buttonIFrameUrls'])
|
30
31
|
)
|
@@ -80,7 +80,6 @@ module ActiveMerchant
|
|
80
80
|
result[:data] ||= {}
|
81
81
|
result[:data][:customer] ||= {}
|
82
82
|
result[:processingOptions] ||= {}
|
83
|
-
result[:processingOptions][:merchantId] ||= options[:merchant_id]
|
84
83
|
result[:processingOptions][:verboseResponse] = true if test?
|
85
84
|
result
|
86
85
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexio_activemerchant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Whitespectre
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
|
-
rubygems_version: 3.1.
|
89
|
+
rubygems_version: 3.1.6
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: ActiveMechant gateway for Nexio
|