solidus_six_saferpay 0.1.3 → 0.1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +35 -0
- data/.gem_release.yml +5 -0
- data/.github/stale.yml +17 -0
- data/.gitignore +18 -0
- data/.rspec +2 -0
- data/.rubocop.yml +2 -0
- data/.travis.yml +12 -0
- data/Gemfile +33 -0
- data/LICENSE +26 -0
- data/README.md +33 -20
- data/Rakefile +4 -54
- data/app/assets/config/solidus_six_saferpay_manifest.js +1 -0
- data/app/assets/images/solidus_six_saferpay/.keep +0 -0
- data/app/assets/javascripts/spree/backend/solidus_six_saferpay.js +2 -0
- data/app/assets/javascripts/spree/frontend/solidus_six_saferpay.js +2 -0
- data/app/assets/stylesheets/solidus_six_saferpay/loading_animation.scss +0 -27
- data/app/assets/stylesheets/solidus_six_saferpay/payments.scss +4 -1
- data/app/assets/stylesheets/spree/backend/solidus_six_saferpay.css +4 -0
- data/app/assets/stylesheets/spree/frontend/solidus_six_saferpay.css +4 -0
- data/app/controllers/spree/solidus_six_saferpay/checkout_controller.rb +56 -10
- data/app/views/spree/checkout/payment/_saferpay_payment.html.erb +1 -1
- data/app/views/spree/six_saferpay_payments/_six_saferpay_payment.html.erb +2 -2
- data/bin/console +17 -0
- data/bin/rails +18 -0
- data/bin/rake +7 -0
- data/bin/setup +8 -0
- data/config/initializers/assets.rb +3 -0
- data/config/locales/de.yml +1 -1
- data/config/locales/en.yml +1 -1
- data/config/locales/fr.yml +1 -1
- data/config/routes.rb +2 -2
- data/lib/generators/solidus_six_saferpay/install/install_generator.rb +15 -3
- data/lib/solidus_six_saferpay.rb +6 -3
- data/lib/solidus_six_saferpay/configuration.rb +4 -7
- data/lib/solidus_six_saferpay/engine.rb +19 -10
- data/lib/solidus_six_saferpay/gateway.rb +13 -12
- data/lib/solidus_six_saferpay/version.rb +3 -1
- data/solidus_six_saferpay.gemspec +42 -0
- data/spec/controllers/spree/solidus_six_saferpay/checkout_controller_spec.rb +41 -0
- data/spec/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller_spec.rb +205 -0
- data/spec/controllers/spree/solidus_six_saferpay/transaction/checkout_controller_spec.rb +228 -0
- data/spec/factories/payment_methods.rb +23 -0
- data/spec/factories/payments.rb +11 -0
- data/spec/factories/spree/six_saferpay_payments.rb +118 -0
- data/spec/models/spree/six_saferpay_payment_spec.rb +203 -0
- data/spec/rails_helper.rb +73 -0
- data/spec/services/spree/solidus_six_saferpay/assert_payment_page_spec.rb +148 -0
- data/spec/services/spree/solidus_six_saferpay/authorize_payment_spec.rb +39 -0
- data/spec/services/spree/solidus_six_saferpay/authorize_transaction_spec.rb +148 -0
- data/spec/services/spree/solidus_six_saferpay/initialize_payment_page_spec.rb +83 -0
- data/spec/services/spree/solidus_six_saferpay/initialize_payment_spec.rb +40 -0
- data/spec/services/spree/solidus_six_saferpay/initialize_transaction_spec.rb +85 -0
- data/spec/services/spree/solidus_six_saferpay/inquire_payment_page_payment_spec.rb +116 -0
- data/spec/services/spree/solidus_six_saferpay/inquire_payment_spec.rb +39 -0
- data/spec/services/spree/solidus_six_saferpay/inquire_transaction_payment_spec.rb +117 -0
- data/spec/services/spree/solidus_six_saferpay/payment_validator_spec.rb +100 -0
- data/spec/services/spree/solidus_six_saferpay/process_authorized_payment_spec.rb +39 -0
- data/spec/services/spree/solidus_six_saferpay/process_payment_page_payment_spec.rb +225 -0
- data/spec/services/spree/solidus_six_saferpay/process_transaction_payment_spec.rb +219 -0
- data/spec/solidus_six_saferpay/configuration_spec.rb +15 -0
- data/spec/solidus_six_saferpay/error_handler_spec.rb +65 -0
- data/spec/solidus_six_saferpay/gateway_response_spec.rb +70 -0
- data/spec/solidus_six_saferpay/gateway_spec.rb +378 -0
- data/spec/solidus_six_saferpay/payment_page_gateway_spec.rb +390 -0
- data/spec/solidus_six_saferpay/transaction_gateway_spec.rb +387 -0
- data/spec/spec_helper.rb +21 -0
- data/spec/support/route_access.rb +6 -0
- data/spec/support/uses_payment_page_gateway.rb +29 -0
- data/spec/support/uses_transaction_gateway.rb +28 -0
- metadata +241 -101
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Configure Rails Environment
|
4
|
+
ENV['RAILS_ENV'] = 'test'
|
5
|
+
|
6
|
+
# Run Coverage report
|
7
|
+
require 'solidus_dev_support/rspec/coverage'
|
8
|
+
|
9
|
+
require File.expand_path('dummy/config/environment.rb', __dir__)
|
10
|
+
|
11
|
+
# Requires factories and other useful helpers defined in spree_core.
|
12
|
+
require 'solidus_dev_support/rspec/feature_helper'
|
13
|
+
|
14
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
15
|
+
# in spec/support/ and its subdirectories.
|
16
|
+
Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require f }
|
17
|
+
|
18
|
+
RSpec.configure do |config|
|
19
|
+
config.infer_spec_type_from_file_location!
|
20
|
+
config.use_transactional_fixtures = false
|
21
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
RSpec.shared_examples "it uses the payment page gateway" do
|
2
|
+
|
3
|
+
it_behaves_like "it has route access"
|
4
|
+
|
5
|
+
describe '#gateway' do
|
6
|
+
it 'configures the gateway urls correctly' do
|
7
|
+
expect(::SolidusSixSaferpay::PaymentPageGateway).to receive(:new)
|
8
|
+
|
9
|
+
subject.gateway
|
10
|
+
end
|
11
|
+
|
12
|
+
context 'when the gateway is configured correctly' do
|
13
|
+
before do
|
14
|
+
allow(ENV).to receive(:fetch).with("SIX_SAFERPAY_CUSTOMER_ID").and_return("customer_id")
|
15
|
+
allow(ENV).to receive(:fetch).with("SIX_SAFERPAY_TERMINAL_ID").and_return("terminal_id")
|
16
|
+
allow(ENV).to receive(:fetch).with("SIX_SAFERPAY_USERNAME").and_return("username")
|
17
|
+
allow(ENV).to receive(:fetch).with("SIX_SAFERPAY_PASSWORD").and_return("password")
|
18
|
+
allow(ENV).to receive(:fetch).with("SIX_SAFERPAY_BASE_URL").and_return("base_url")
|
19
|
+
allow(ENV).to receive(:fetch).with("SIX_SAFERPAY_CSS_URL").and_return("css_url")
|
20
|
+
end
|
21
|
+
|
22
|
+
it 'should return a PaymentPageGateway' do
|
23
|
+
expect(subject.gateway).to be_a(::SolidusSixSaferpay::PaymentPageGateway)
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
RSpec.shared_examples "it uses the transaction gateway" do
|
2
|
+
|
3
|
+
it_behaves_like "it has route access"
|
4
|
+
|
5
|
+
describe '#gateway' do
|
6
|
+
it 'configures the gateway urls correctly' do
|
7
|
+
expect(::SolidusSixSaferpay::TransactionGateway).to receive(:new)
|
8
|
+
subject.gateway
|
9
|
+
end
|
10
|
+
|
11
|
+
context 'when the gateway is configured correctly' do
|
12
|
+
before do
|
13
|
+
allow(ENV).to receive(:fetch).with("SIX_SAFERPAY_CUSTOMER_ID").and_return("customer_id")
|
14
|
+
allow(ENV).to receive(:fetch).with("SIX_SAFERPAY_TERMINAL_ID").and_return("terminal_id")
|
15
|
+
allow(ENV).to receive(:fetch).with("SIX_SAFERPAY_USERNAME").and_return("username")
|
16
|
+
allow(ENV).to receive(:fetch).with("SIX_SAFERPAY_PASSWORD").and_return("password")
|
17
|
+
allow(ENV).to receive(:fetch).with("SIX_SAFERPAY_BASE_URL").and_return("base_url")
|
18
|
+
allow(ENV).to receive(:fetch).with("SIX_SAFERPAY_CSS_URL").and_return("css_url")
|
19
|
+
end
|
20
|
+
|
21
|
+
it 'should return a TransactionGateway' do
|
22
|
+
expect(subject.gateway).to be_a(::SolidusSixSaferpay::TransactionGateway)
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
metadata
CHANGED
@@ -1,71 +1,49 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_six_saferpay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Kiener
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: solidus_core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '5.1'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
17
|
+
- - ">="
|
25
18
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
27
|
-
-
|
28
|
-
name: solidus
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
19
|
+
version: 2.0.0
|
20
|
+
- - "<"
|
32
21
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
22
|
+
version: '3'
|
34
23
|
type: :runtime
|
35
24
|
prerelease: false
|
36
25
|
version_requirements: !ruby/object:Gem::Requirement
|
37
26
|
requirements:
|
38
|
-
- - "
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '2.7'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: solidus_support
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
27
|
+
- - ">="
|
46
28
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
29
|
+
version: 2.0.0
|
30
|
+
- - "<"
|
53
31
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
32
|
+
version: '3'
|
55
33
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
34
|
+
name: solidus_support
|
57
35
|
requirement: !ruby/object:Gem::Requirement
|
58
36
|
requirements:
|
59
37
|
- - "~>"
|
60
38
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
39
|
+
version: 0.4.0
|
62
40
|
type: :runtime
|
63
41
|
prerelease: false
|
64
42
|
version_requirements: !ruby/object:Gem::Requirement
|
65
43
|
requirements:
|
66
44
|
- - "~>"
|
67
45
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
46
|
+
version: 0.4.0
|
69
47
|
- !ruby/object:Gem::Dependency
|
70
48
|
name: six_saferpay
|
71
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,61 +59,67 @@ dependencies:
|
|
81
59
|
- !ruby/object:Gem::Version
|
82
60
|
version: '2.2'
|
83
61
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
62
|
+
name: rails-i18n
|
85
63
|
requirement: !ruby/object:Gem::Requirement
|
86
64
|
requirements:
|
87
65
|
- - "~>"
|
88
66
|
- !ruby/object:Gem::Version
|
89
|
-
version: '1
|
90
|
-
type: :
|
67
|
+
version: '5.1'
|
68
|
+
type: :runtime
|
91
69
|
prerelease: false
|
92
70
|
version_requirements: !ruby/object:Gem::Requirement
|
93
71
|
requirements:
|
94
72
|
- - "~>"
|
95
73
|
- !ruby/object:Gem::Version
|
96
|
-
version: '1
|
74
|
+
version: '5.1'
|
97
75
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
76
|
+
name: solidus_dev_support
|
99
77
|
requirement: !ruby/object:Gem::Requirement
|
100
78
|
requirements:
|
101
|
-
- - "
|
79
|
+
- - ">="
|
102
80
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
81
|
+
version: '0'
|
104
82
|
type: :development
|
105
83
|
prerelease: false
|
106
84
|
version_requirements: !ruby/object:Gem::Requirement
|
107
85
|
requirements:
|
108
|
-
- - "
|
86
|
+
- - ">="
|
109
87
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
88
|
+
version: '0'
|
111
89
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
90
|
+
name: shoulda-matchers
|
113
91
|
requirement: !ruby/object:Gem::Requirement
|
114
92
|
requirements:
|
115
93
|
- - "~>"
|
116
94
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
95
|
+
version: '4.1'
|
118
96
|
type: :development
|
119
97
|
prerelease: false
|
120
98
|
version_requirements: !ruby/object:Gem::Requirement
|
121
99
|
requirements:
|
122
100
|
- - "~>"
|
123
101
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
102
|
+
version: '4.1'
|
125
103
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
104
|
+
name: rails-controller-testing
|
127
105
|
requirement: !ruby/object:Gem::Requirement
|
128
106
|
requirements:
|
129
107
|
- - "~>"
|
130
108
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
109
|
+
version: '1.0'
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 1.0.4
|
132
113
|
type: :development
|
133
114
|
prerelease: false
|
134
115
|
version_requirements: !ruby/object:Gem::Requirement
|
135
116
|
requirements:
|
136
117
|
- - "~>"
|
137
118
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
119
|
+
version: '1.0'
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 1.0.4
|
139
123
|
- !ruby/object:Gem::Dependency
|
140
124
|
name: pry
|
141
125
|
requirement: !ruby/object:Gem::Requirement
|
@@ -164,48 +148,6 @@ dependencies:
|
|
164
148
|
- - "~>"
|
165
149
|
- !ruby/object:Gem::Version
|
166
150
|
version: '0.3'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: simplecov
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - "~>"
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0.17'
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - "~>"
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '0.17'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: database_cleaner
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - "~>"
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '1.7'
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - "~>"
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '1.7'
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: ffaker
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
198
|
-
requirements:
|
199
|
-
- - "~>"
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: '2.11'
|
202
|
-
type: :development
|
203
|
-
prerelease: false
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
205
|
-
requirements:
|
206
|
-
- - "~>"
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
version: '2.11'
|
209
151
|
description: Adds Saferpay Payment Page and Transaction payment methods to your Solidus
|
210
152
|
application
|
211
153
|
email:
|
@@ -214,10 +156,20 @@ executables: []
|
|
214
156
|
extensions: []
|
215
157
|
extra_rdoc_files: []
|
216
158
|
files:
|
159
|
+
- ".circleci/config.yml"
|
160
|
+
- ".gem_release.yml"
|
161
|
+
- ".github/stale.yml"
|
162
|
+
- ".gitignore"
|
163
|
+
- ".rspec"
|
164
|
+
- ".rubocop.yml"
|
165
|
+
- ".travis.yml"
|
166
|
+
- Gemfile
|
167
|
+
- LICENSE
|
217
168
|
- MIT-LICENSE
|
218
169
|
- README.md
|
219
170
|
- Rakefile
|
220
171
|
- app/assets/config/solidus_six_saferpay_manifest.js
|
172
|
+
- app/assets/images/solidus_six_saferpay/.keep
|
221
173
|
- app/assets/images/solidus_six_saferpay/credit_cards/icons/amex.png
|
222
174
|
- app/assets/images/solidus_six_saferpay/credit_cards/icons/bonus_card.png
|
223
175
|
- app/assets/images/solidus_six_saferpay/credit_cards/icons/cirrus.png
|
@@ -244,9 +196,13 @@ files:
|
|
244
196
|
- app/assets/images/solidus_six_saferpay/credit_cards/icons/worldpay.png
|
245
197
|
- app/assets/javascripts/solidus_six_saferpay/application.js
|
246
198
|
- app/assets/javascripts/solidus_six_saferpay/saferpay_payment.js
|
199
|
+
- app/assets/javascripts/spree/backend/solidus_six_saferpay.js
|
200
|
+
- app/assets/javascripts/spree/frontend/solidus_six_saferpay.js
|
247
201
|
- app/assets/stylesheets/solidus_six_saferpay/application.css
|
248
202
|
- app/assets/stylesheets/solidus_six_saferpay/loading_animation.scss
|
249
203
|
- app/assets/stylesheets/solidus_six_saferpay/payments.scss
|
204
|
+
- app/assets/stylesheets/spree/backend/solidus_six_saferpay.css
|
205
|
+
- app/assets/stylesheets/spree/frontend/solidus_six_saferpay.css
|
250
206
|
- app/controllers/solidus_six_saferpay/application_controller.rb
|
251
207
|
- app/controllers/spree/solidus_six_saferpay/checkout_controller.rb
|
252
208
|
- app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb
|
@@ -278,6 +234,12 @@ files:
|
|
278
234
|
- app/views/spree/checkout/payment/_saferpay_payment.html.erb
|
279
235
|
- app/views/spree/six_saferpay_payments/_six_saferpay_payment.html.erb
|
280
236
|
- app/views/spree/solidus_six_saferpay/checkout/iframe_breakout_redirect.html.erb
|
237
|
+
- bin/console
|
238
|
+
- bin/rails
|
239
|
+
- bin/rake
|
240
|
+
- bin/sandbox
|
241
|
+
- bin/setup
|
242
|
+
- config/initializers/assets.rb
|
281
243
|
- config/locales/de.yml
|
282
244
|
- config/locales/en.yml
|
283
245
|
- config/locales/fr.yml
|
@@ -294,28 +256,206 @@ files:
|
|
294
256
|
- lib/solidus_six_saferpay/payment_page_gateway.rb
|
295
257
|
- lib/solidus_six_saferpay/transaction_gateway.rb
|
296
258
|
- lib/solidus_six_saferpay/version.rb
|
297
|
-
|
259
|
+
- solidus_six_saferpay.gemspec
|
260
|
+
- spec/controllers/spree/solidus_six_saferpay/checkout_controller_spec.rb
|
261
|
+
- spec/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller_spec.rb
|
262
|
+
- spec/controllers/spree/solidus_six_saferpay/transaction/checkout_controller_spec.rb
|
263
|
+
- spec/dummy/.ruby-version
|
264
|
+
- spec/dummy/README.md
|
265
|
+
- spec/dummy/Rakefile
|
266
|
+
- spec/dummy/app/assets/config/manifest.js
|
267
|
+
- spec/dummy/app/assets/javascripts/cable.js
|
268
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
269
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
270
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
271
|
+
- spec/dummy/app/controllers/application_controller.rb
|
272
|
+
- spec/dummy/app/helpers/application_helper.rb
|
273
|
+
- spec/dummy/app/jobs/application_job.rb
|
274
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
275
|
+
- spec/dummy/app/models/application_record.rb
|
276
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
277
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
278
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
279
|
+
- spec/dummy/bin/bundle
|
280
|
+
- spec/dummy/bin/rails
|
281
|
+
- spec/dummy/bin/rake
|
282
|
+
- spec/dummy/bin/setup
|
283
|
+
- spec/dummy/bin/update
|
284
|
+
- spec/dummy/config.ru
|
285
|
+
- spec/dummy/config/application.rb
|
286
|
+
- spec/dummy/config/boot.rb
|
287
|
+
- spec/dummy/config/cable.yml
|
288
|
+
- spec/dummy/config/credentials.yml.enc
|
289
|
+
- spec/dummy/config/database.yml
|
290
|
+
- spec/dummy/config/environment.rb
|
291
|
+
- spec/dummy/config/environments/development.rb
|
292
|
+
- spec/dummy/config/environments/production.rb
|
293
|
+
- spec/dummy/config/environments/test.rb
|
294
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
295
|
+
- spec/dummy/config/initializers/assets.rb
|
296
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
297
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
298
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
299
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
300
|
+
- spec/dummy/config/initializers/inflections.rb
|
301
|
+
- spec/dummy/config/initializers/mime_types.rb
|
302
|
+
- spec/dummy/config/initializers/spree.rb
|
303
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
304
|
+
- spec/dummy/config/locales/en.yml
|
305
|
+
- spec/dummy/config/master.key
|
306
|
+
- spec/dummy/config/routes.rb
|
307
|
+
- spec/dummy/config/storage.yml
|
308
|
+
- spec/dummy/db/schema.rb
|
309
|
+
- spec/dummy/db/seeds.rb
|
310
|
+
- spec/dummy/public/404.html
|
311
|
+
- spec/dummy/public/422.html
|
312
|
+
- spec/dummy/public/500.html
|
313
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
314
|
+
- spec/dummy/public/apple-touch-icon.png
|
315
|
+
- spec/dummy/public/favicon.ico
|
316
|
+
- spec/dummy/vendor/assets/javascripts/spree/backend/all.js
|
317
|
+
- spec/dummy/vendor/assets/javascripts/spree/frontend/all.js
|
318
|
+
- spec/dummy/vendor/assets/stylesheets/spree/backend/all.css
|
319
|
+
- spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css
|
320
|
+
- spec/factories/payment_methods.rb
|
321
|
+
- spec/factories/payments.rb
|
322
|
+
- spec/factories/spree/six_saferpay_payments.rb
|
323
|
+
- spec/models/spree/six_saferpay_payment_spec.rb
|
324
|
+
- spec/rails_helper.rb
|
325
|
+
- spec/services/spree/solidus_six_saferpay/assert_payment_page_spec.rb
|
326
|
+
- spec/services/spree/solidus_six_saferpay/authorize_payment_spec.rb
|
327
|
+
- spec/services/spree/solidus_six_saferpay/authorize_transaction_spec.rb
|
328
|
+
- spec/services/spree/solidus_six_saferpay/initialize_payment_page_spec.rb
|
329
|
+
- spec/services/spree/solidus_six_saferpay/initialize_payment_spec.rb
|
330
|
+
- spec/services/spree/solidus_six_saferpay/initialize_transaction_spec.rb
|
331
|
+
- spec/services/spree/solidus_six_saferpay/inquire_payment_page_payment_spec.rb
|
332
|
+
- spec/services/spree/solidus_six_saferpay/inquire_payment_spec.rb
|
333
|
+
- spec/services/spree/solidus_six_saferpay/inquire_transaction_payment_spec.rb
|
334
|
+
- spec/services/spree/solidus_six_saferpay/payment_validator_spec.rb
|
335
|
+
- spec/services/spree/solidus_six_saferpay/process_authorized_payment_spec.rb
|
336
|
+
- spec/services/spree/solidus_six_saferpay/process_payment_page_payment_spec.rb
|
337
|
+
- spec/services/spree/solidus_six_saferpay/process_transaction_payment_spec.rb
|
338
|
+
- spec/solidus_six_saferpay/configuration_spec.rb
|
339
|
+
- spec/solidus_six_saferpay/error_handler_spec.rb
|
340
|
+
- spec/solidus_six_saferpay/gateway_response_spec.rb
|
341
|
+
- spec/solidus_six_saferpay/gateway_spec.rb
|
342
|
+
- spec/solidus_six_saferpay/payment_page_gateway_spec.rb
|
343
|
+
- spec/solidus_six_saferpay/transaction_gateway_spec.rb
|
344
|
+
- spec/spec_helper.rb
|
345
|
+
- spec/support/route_access.rb
|
346
|
+
- spec/support/uses_payment_page_gateway.rb
|
347
|
+
- spec/support/uses_transaction_gateway.rb
|
348
|
+
homepage: https://github.com/fadendaten/solidus_six_saferpay
|
298
349
|
licenses:
|
299
350
|
- MIT
|
300
|
-
metadata:
|
351
|
+
metadata:
|
352
|
+
homepage_uri: https://github.com/fadendaten/solidus_six_saferpay
|
353
|
+
source_code_uri: https://github.com/fadendaten/solidus_six_saferpay
|
301
354
|
post_install_message:
|
302
355
|
rdoc_options: []
|
303
356
|
require_paths:
|
304
357
|
- lib
|
305
358
|
required_ruby_version: !ruby/object:Gem::Requirement
|
306
359
|
requirements:
|
307
|
-
- - "
|
360
|
+
- - "~>"
|
308
361
|
- !ruby/object:Gem::Version
|
309
|
-
version: '
|
362
|
+
version: '2.4'
|
310
363
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
311
364
|
requirements:
|
312
365
|
- - ">="
|
313
366
|
- !ruby/object:Gem::Version
|
314
367
|
version: '0'
|
315
368
|
requirements: []
|
316
|
-
|
317
|
-
rubygems_version: 2.7.6
|
369
|
+
rubygems_version: 3.0.3
|
318
370
|
signing_key:
|
319
371
|
specification_version: 4
|
320
372
|
summary: Saferpay Payment Page and Transaction payment methods for Solidus
|
321
|
-
test_files:
|
373
|
+
test_files:
|
374
|
+
- spec/controllers/spree/solidus_six_saferpay/checkout_controller_spec.rb
|
375
|
+
- spec/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller_spec.rb
|
376
|
+
- spec/controllers/spree/solidus_six_saferpay/transaction/checkout_controller_spec.rb
|
377
|
+
- spec/dummy/.ruby-version
|
378
|
+
- spec/dummy/README.md
|
379
|
+
- spec/dummy/Rakefile
|
380
|
+
- spec/dummy/app/assets/config/manifest.js
|
381
|
+
- spec/dummy/app/assets/javascripts/cable.js
|
382
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
383
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
384
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
385
|
+
- spec/dummy/app/controllers/application_controller.rb
|
386
|
+
- spec/dummy/app/helpers/application_helper.rb
|
387
|
+
- spec/dummy/app/jobs/application_job.rb
|
388
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
389
|
+
- spec/dummy/app/models/application_record.rb
|
390
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
391
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
392
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
393
|
+
- spec/dummy/bin/bundle
|
394
|
+
- spec/dummy/bin/rails
|
395
|
+
- spec/dummy/bin/rake
|
396
|
+
- spec/dummy/bin/setup
|
397
|
+
- spec/dummy/bin/update
|
398
|
+
- spec/dummy/config.ru
|
399
|
+
- spec/dummy/config/application.rb
|
400
|
+
- spec/dummy/config/boot.rb
|
401
|
+
- spec/dummy/config/cable.yml
|
402
|
+
- spec/dummy/config/credentials.yml.enc
|
403
|
+
- spec/dummy/config/database.yml
|
404
|
+
- spec/dummy/config/environment.rb
|
405
|
+
- spec/dummy/config/environments/development.rb
|
406
|
+
- spec/dummy/config/environments/production.rb
|
407
|
+
- spec/dummy/config/environments/test.rb
|
408
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
409
|
+
- spec/dummy/config/initializers/assets.rb
|
410
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
411
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
412
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
413
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
414
|
+
- spec/dummy/config/initializers/inflections.rb
|
415
|
+
- spec/dummy/config/initializers/mime_types.rb
|
416
|
+
- spec/dummy/config/initializers/spree.rb
|
417
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
418
|
+
- spec/dummy/config/locales/en.yml
|
419
|
+
- spec/dummy/config/master.key
|
420
|
+
- spec/dummy/config/routes.rb
|
421
|
+
- spec/dummy/config/storage.yml
|
422
|
+
- spec/dummy/db/schema.rb
|
423
|
+
- spec/dummy/db/seeds.rb
|
424
|
+
- spec/dummy/public/404.html
|
425
|
+
- spec/dummy/public/422.html
|
426
|
+
- spec/dummy/public/500.html
|
427
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
428
|
+
- spec/dummy/public/apple-touch-icon.png
|
429
|
+
- spec/dummy/public/favicon.ico
|
430
|
+
- spec/dummy/vendor/assets/javascripts/spree/backend/all.js
|
431
|
+
- spec/dummy/vendor/assets/javascripts/spree/frontend/all.js
|
432
|
+
- spec/dummy/vendor/assets/stylesheets/spree/backend/all.css
|
433
|
+
- spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css
|
434
|
+
- spec/factories/payment_methods.rb
|
435
|
+
- spec/factories/payments.rb
|
436
|
+
- spec/factories/spree/six_saferpay_payments.rb
|
437
|
+
- spec/models/spree/six_saferpay_payment_spec.rb
|
438
|
+
- spec/rails_helper.rb
|
439
|
+
- spec/services/spree/solidus_six_saferpay/assert_payment_page_spec.rb
|
440
|
+
- spec/services/spree/solidus_six_saferpay/authorize_payment_spec.rb
|
441
|
+
- spec/services/spree/solidus_six_saferpay/authorize_transaction_spec.rb
|
442
|
+
- spec/services/spree/solidus_six_saferpay/initialize_payment_page_spec.rb
|
443
|
+
- spec/services/spree/solidus_six_saferpay/initialize_payment_spec.rb
|
444
|
+
- spec/services/spree/solidus_six_saferpay/initialize_transaction_spec.rb
|
445
|
+
- spec/services/spree/solidus_six_saferpay/inquire_payment_page_payment_spec.rb
|
446
|
+
- spec/services/spree/solidus_six_saferpay/inquire_payment_spec.rb
|
447
|
+
- spec/services/spree/solidus_six_saferpay/inquire_transaction_payment_spec.rb
|
448
|
+
- spec/services/spree/solidus_six_saferpay/payment_validator_spec.rb
|
449
|
+
- spec/services/spree/solidus_six_saferpay/process_authorized_payment_spec.rb
|
450
|
+
- spec/services/spree/solidus_six_saferpay/process_payment_page_payment_spec.rb
|
451
|
+
- spec/services/spree/solidus_six_saferpay/process_transaction_payment_spec.rb
|
452
|
+
- spec/solidus_six_saferpay/configuration_spec.rb
|
453
|
+
- spec/solidus_six_saferpay/error_handler_spec.rb
|
454
|
+
- spec/solidus_six_saferpay/gateway_response_spec.rb
|
455
|
+
- spec/solidus_six_saferpay/gateway_spec.rb
|
456
|
+
- spec/solidus_six_saferpay/payment_page_gateway_spec.rb
|
457
|
+
- spec/solidus_six_saferpay/transaction_gateway_spec.rb
|
458
|
+
- spec/spec_helper.rb
|
459
|
+
- spec/support/route_access.rb
|
460
|
+
- spec/support/uses_payment_page_gateway.rb
|
461
|
+
- spec/support/uses_transaction_gateway.rb
|