activemerchant-realex3ds 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/activemerchant-realex3ds.gemspec +3 -1
- data/lib/active_merchant/realex3ds_extensions.rb +25 -0
- data/lib/activemerchant-realex3ds.rb +3 -0
- metadata +9 -5
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
pkg/
|
data/Gemfile.lock
CHANGED
@@ -5,7 +5,7 @@ require 'rubygems'
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.platform = Gem::Platform::RUBY
|
7
7
|
s.name = 'activemerchant-realex3ds'
|
8
|
-
s.version = '1.0.
|
8
|
+
s.version = '1.0.1'
|
9
9
|
s.summary = 'Realex gateway for ActiveMerchant with 3D Secure support'
|
10
10
|
s.description = 'Realex is the leading payment provider for Ireland. The default gateway included in ActiveMerchant does not support 3D Secure. This implementation does, it was sponsored by Ticketsolve, written by David Rice, and released as a gem for the current version of ActiveMerchant by Arne Brasseur.'
|
11
11
|
|
@@ -19,6 +19,8 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.test_files = `git ls-files -- spec`.split($/)
|
20
20
|
s.extra_rdoc_files = %w[README.md]
|
21
21
|
|
22
|
+
s.license = 'MIT'
|
23
|
+
|
22
24
|
s.add_dependency('activemerchant', '~> 1.34')
|
23
25
|
|
24
26
|
s.add_development_dependency('rake')
|
@@ -0,0 +1,25 @@
|
|
1
|
+
class ActiveMerchant::Billing::Response
|
2
|
+
attr_reader :body, :pa_req, :md, :acs_url
|
3
|
+
|
4
|
+
def three_d_secure?
|
5
|
+
@three_d_secure
|
6
|
+
end
|
7
|
+
|
8
|
+
def enrolled?
|
9
|
+
@three_d_secure_enrolled
|
10
|
+
end
|
11
|
+
|
12
|
+
alias initialize_original initialize
|
13
|
+
|
14
|
+
def initialize(success, message, params = {}, options = {})
|
15
|
+
initialize_original(success, message, params, options)
|
16
|
+
|
17
|
+
@body = options[:body]
|
18
|
+
# 3D 'Three D' Secure
|
19
|
+
@three_d_secure = options[:three_d_secure]
|
20
|
+
@three_d_secure_enrolled = options[:three_d_secure_enrolled]
|
21
|
+
@pa_req = options[:pa_req]
|
22
|
+
@xid = options[:xid]
|
23
|
+
@acs_url = options[:acs_url]
|
24
|
+
end
|
25
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activemerchant-realex3ds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-07-
|
13
|
+
date: 2013-07-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activemerchant
|
@@ -102,6 +102,7 @@ extensions: []
|
|
102
102
|
extra_rdoc_files:
|
103
103
|
- README.md
|
104
104
|
files:
|
105
|
+
- .gitignore
|
105
106
|
- Gemfile
|
106
107
|
- Gemfile.lock
|
107
108
|
- MIT-LICENSE
|
@@ -110,6 +111,8 @@ files:
|
|
110
111
|
- activemerchant-realex3ds.gemspec
|
111
112
|
- lib/active_merchant/billing/gateways/realex3ds.rb
|
112
113
|
- lib/active_merchant/billing/gateways/realex3ds_development.rb
|
114
|
+
- lib/active_merchant/realex3ds_extensions.rb
|
115
|
+
- lib/activemerchant-realex3ds.rb
|
113
116
|
- test/assert_equal_xml.rb
|
114
117
|
- test/comm_stub.rb
|
115
118
|
- test/fixtures.yml
|
@@ -117,7 +120,8 @@ files:
|
|
117
120
|
- test/test_helper.rb
|
118
121
|
- test/unit/gateways/realex3ds_test.rb
|
119
122
|
homepage: https://github.com/plexus/active_merchant-realex3ds
|
120
|
-
licenses:
|
123
|
+
licenses:
|
124
|
+
- MIT
|
121
125
|
post_install_message:
|
122
126
|
rdoc_options: []
|
123
127
|
require_paths:
|
@@ -130,7 +134,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
134
|
version: '0'
|
131
135
|
segments:
|
132
136
|
- 0
|
133
|
-
hash: -
|
137
|
+
hash: -4556285175076692729
|
134
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
139
|
none: false
|
136
140
|
requirements:
|
@@ -139,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
143
|
version: '0'
|
140
144
|
segments:
|
141
145
|
- 0
|
142
|
-
hash: -
|
146
|
+
hash: -4556285175076692729
|
143
147
|
requirements: []
|
144
148
|
rubyforge_project: activemerchant-realex3ds
|
145
149
|
rubygems_version: 1.8.23
|