solidus_six_saferpay 0.1.7 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +35 -0
  3. data/.gem_release.yml +5 -0
  4. data/.github/stale.yml +17 -0
  5. data/.gitignore +18 -0
  6. data/.rspec +2 -0
  7. data/.rubocop.yml +2 -0
  8. data/.travis.yml +12 -0
  9. data/Gemfile +33 -0
  10. data/LICENSE +26 -0
  11. data/README.md +36 -20
  12. data/Rakefile +4 -54
  13. data/app/assets/config/solidus_six_saferpay_manifest.js +1 -0
  14. data/app/assets/images/solidus_six_saferpay/.keep +0 -0
  15. data/app/assets/javascripts/solidus_six_saferpay/saferpay_payment.js +4 -1
  16. data/app/assets/javascripts/spree/backend/solidus_six_saferpay.js +2 -0
  17. data/app/assets/javascripts/spree/frontend/solidus_six_saferpay.js +2 -0
  18. data/app/assets/stylesheets/spree/backend/solidus_six_saferpay.css +4 -0
  19. data/app/assets/stylesheets/spree/frontend/solidus_six_saferpay.css +4 -0
  20. data/app/controllers/spree/solidus_six_saferpay/checkout_controller.rb +82 -16
  21. data/app/controllers/spree/solidus_six_saferpay/transaction/checkout_controller.rb +1 -1
  22. data/app/models/spree/payment_method/saferpay_payment_method.rb +1 -1
  23. data/app/models/spree/payment_method/saferpay_payment_page.rb +2 -2
  24. data/app/models/spree/payment_method/saferpay_transaction.rb +2 -2
  25. data/app/services/spree/solidus_six_saferpay/cancel_authorized_payment.rb +33 -0
  26. data/app/services/spree/solidus_six_saferpay/initialize_payment.rb +0 -1
  27. data/app/services/spree/solidus_six_saferpay/initialize_transaction.rb +0 -1
  28. data/app/services/spree/solidus_six_saferpay/inquire_payment.rb +27 -1
  29. data/app/services/spree/solidus_six_saferpay/order_not_found_handler.rb +28 -0
  30. data/app/services/spree/solidus_six_saferpay/payment_not_found_handler.rb +28 -0
  31. data/app/services/spree/solidus_six_saferpay/payment_processing_success_handler.rb +26 -0
  32. data/app/views/spree/checkout/payment/_saferpay_payment.html.erb +2 -2
  33. data/app/views/spree/solidus_six_saferpay/checkout/{iframe_breakout_redirect.html.erb → iframe_breakout_redirect.erb} +1 -1
  34. data/bin/console +17 -0
  35. data/bin/rails +18 -0
  36. data/bin/rake +7 -0
  37. data/bin/setup +8 -0
  38. data/config/initializers/assets.rb +3 -0
  39. data/config/locales/de.yml +3 -0
  40. data/config/locales/en.yml +3 -0
  41. data/config/locales/fr.yml +3 -0
  42. data/config/routes.rb +8 -8
  43. data/lib/generators/solidus_six_saferpay/install/install_generator.rb +15 -3
  44. data/lib/solidus_six_saferpay.rb +6 -3
  45. data/lib/solidus_six_saferpay/configuration.rb +2 -7
  46. data/lib/solidus_six_saferpay/engine.rb +19 -10
  47. data/lib/solidus_six_saferpay/gateway.rb +11 -11
  48. data/lib/solidus_six_saferpay/payment_page_gateway.rb +8 -9
  49. data/lib/solidus_six_saferpay/transaction_gateway.rb +8 -9
  50. data/lib/solidus_six_saferpay/version.rb +3 -1
  51. data/solidus_six_saferpay.gemspec +42 -0
  52. data/spec/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller_spec.rb +16 -0
  53. data/spec/controllers/spree/solidus_six_saferpay/transaction/checkout_controller_spec.rb +16 -0
  54. data/spec/factories/payment_methods.rb +23 -0
  55. data/spec/factories/payments.rb +11 -0
  56. data/spec/factories/spree/six_saferpay_payments.rb +118 -0
  57. data/spec/models/spree/six_saferpay_payment_spec.rb +203 -0
  58. data/spec/rails_helper.rb +73 -0
  59. data/spec/services/spree/solidus_six_saferpay/assert_payment_page_spec.rb +22 -0
  60. data/spec/services/spree/solidus_six_saferpay/authorize_payment_spec.rb +39 -0
  61. data/spec/services/spree/solidus_six_saferpay/authorize_transaction_spec.rb +24 -0
  62. data/spec/services/spree/solidus_six_saferpay/cancel_authorized_payment_spec.rb +58 -0
  63. data/spec/services/spree/solidus_six_saferpay/initialize_payment_page_spec.rb +81 -0
  64. data/spec/services/spree/solidus_six_saferpay/initialize_payment_spec.rb +40 -0
  65. data/spec/services/spree/solidus_six_saferpay/initialize_transaction_spec.rb +84 -0
  66. data/spec/services/spree/solidus_six_saferpay/inquire_payment_page_payment_spec.rb +20 -0
  67. data/spec/services/spree/solidus_six_saferpay/inquire_payment_spec.rb +39 -0
  68. data/spec/services/spree/solidus_six_saferpay/inquire_transaction_payment_spec.rb +21 -0
  69. data/spec/services/spree/solidus_six_saferpay/order_not_found_handler_spec.rb +30 -0
  70. data/spec/services/spree/solidus_six_saferpay/payment_not_found_handler_spec.rb +30 -0
  71. data/spec/services/spree/solidus_six_saferpay/payment_processing_success_handler_spec.rb +34 -0
  72. data/spec/services/spree/solidus_six_saferpay/payment_validator_spec.rb +100 -0
  73. data/spec/services/spree/solidus_six_saferpay/process_authorized_payment_spec.rb +39 -0
  74. data/spec/services/spree/solidus_six_saferpay/process_payment_page_payment_spec.rb +20 -0
  75. data/spec/services/spree/solidus_six_saferpay/process_transaction_payment_spec.rb +20 -0
  76. data/spec/solidus_six_saferpay/configuration_spec.rb +12 -0
  77. data/spec/solidus_six_saferpay/error_handler_spec.rb +65 -0
  78. data/spec/solidus_six_saferpay/gateway_response_spec.rb +70 -0
  79. data/spec/solidus_six_saferpay/gateway_spec.rb +365 -0
  80. data/spec/solidus_six_saferpay/payment_page_gateway_spec.rb +392 -0
  81. data/spec/solidus_six_saferpay/transaction_gateway_spec.rb +390 -0
  82. data/spec/spec_helper.rb +21 -0
  83. data/spec/support/route_access.rb +6 -0
  84. data/spec/support/shared_examples/authorize_payment.rb +132 -0
  85. data/spec/support/shared_examples/checkout_controller.rb +294 -0
  86. data/spec/support/shared_examples/inquire_payment.rb +118 -0
  87. data/spec/support/shared_examples/process_authorized_payment.rb +202 -0
  88. data/spec/support/uses_payment_page_gateway.rb +29 -0
  89. data/spec/support/uses_transaction_gateway.rb +28 -0
  90. metadata +261 -62
  91. data/app/services/spree/solidus_six_saferpay/inquire_transaction.rb +0 -7
@@ -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,57 +1,63 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_six_saferpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Kiener
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-08 00:00:00.000000000 Z
11
+ date: 2020-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rails
14
+ name: solidus_core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.1'
19
+ version: 2.0.0
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '3'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
- version: '5.1'
29
+ version: 2.0.0
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '3'
27
33
  - !ruby/object:Gem::Dependency
28
- name: solidus
34
+ name: solidus_support
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '2.7'
39
+ version: 0.4.0
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: '2.7'
46
+ version: 0.4.0
41
47
  - !ruby/object:Gem::Dependency
42
- name: solidus_dev_support
48
+ name: six_saferpay
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '0.1'
53
+ version: '2.2'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '0.1'
60
+ version: '2.2'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: rails-i18n
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -67,61 +73,53 @@ dependencies:
67
73
  - !ruby/object:Gem::Version
68
74
  version: '5.1'
69
75
  - !ruby/object:Gem::Dependency
70
- name: six_saferpay
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '2.2'
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '2.2'
83
- - !ruby/object:Gem::Dependency
84
- name: sqlite3
76
+ name: solidus_dev_support
85
77
  requirement: !ruby/object:Gem::Requirement
86
78
  requirements:
87
- - - "~>"
79
+ - - ">="
88
80
  - !ruby/object:Gem::Version
89
- version: '1.4'
81
+ version: '0'
90
82
  type: :development
91
83
  prerelease: false
92
84
  version_requirements: !ruby/object:Gem::Requirement
93
85
  requirements:
94
- - - "~>"
86
+ - - ">="
95
87
  - !ruby/object:Gem::Version
96
- version: '1.4'
88
+ version: '0'
97
89
  - !ruby/object:Gem::Dependency
98
- name: factory_bot_rails
90
+ name: shoulda-matchers
99
91
  requirement: !ruby/object:Gem::Requirement
100
92
  requirements:
101
93
  - - "~>"
102
94
  - !ruby/object:Gem::Version
103
- version: '5.0'
95
+ version: '4.1'
104
96
  type: :development
105
97
  prerelease: false
106
98
  version_requirements: !ruby/object:Gem::Requirement
107
99
  requirements:
108
100
  - - "~>"
109
101
  - !ruby/object:Gem::Version
110
- version: '5.0'
102
+ version: '4.1'
111
103
  - !ruby/object:Gem::Dependency
112
- name: shoulda-matchers
104
+ name: rails-controller-testing
113
105
  requirement: !ruby/object:Gem::Requirement
114
106
  requirements:
115
107
  - - "~>"
116
108
  - !ruby/object:Gem::Version
117
- version: '4.1'
109
+ version: '1.0'
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: 1.0.4
118
113
  type: :development
119
114
  prerelease: false
120
115
  version_requirements: !ruby/object:Gem::Requirement
121
116
  requirements:
122
117
  - - "~>"
123
118
  - !ruby/object:Gem::Version
124
- version: '4.1'
119
+ version: '1.0'
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: 1.0.4
125
123
  - !ruby/object:Gem::Dependency
126
124
  name: pry
127
125
  requirement: !ruby/object:Gem::Requirement
@@ -150,20 +148,6 @@ dependencies:
150
148
  - - "~>"
151
149
  - !ruby/object:Gem::Version
152
150
  version: '0.3'
153
- - !ruby/object:Gem::Dependency
154
- name: simplecov
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '0.17'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '0.17'
167
151
  description: Adds Saferpay Payment Page and Transaction payment methods to your Solidus
168
152
  application
169
153
  email:
@@ -172,10 +156,20 @@ executables: []
172
156
  extensions: []
173
157
  extra_rdoc_files: []
174
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
175
168
  - MIT-LICENSE
176
169
  - README.md
177
170
  - Rakefile
178
171
  - app/assets/config/solidus_six_saferpay_manifest.js
172
+ - app/assets/images/solidus_six_saferpay/.keep
179
173
  - app/assets/images/solidus_six_saferpay/credit_cards/icons/amex.png
180
174
  - app/assets/images/solidus_six_saferpay/credit_cards/icons/bonus_card.png
181
175
  - app/assets/images/solidus_six_saferpay/credit_cards/icons/cirrus.png
@@ -202,9 +196,13 @@ files:
202
196
  - app/assets/images/solidus_six_saferpay/credit_cards/icons/worldpay.png
203
197
  - app/assets/javascripts/solidus_six_saferpay/application.js
204
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
205
201
  - app/assets/stylesheets/solidus_six_saferpay/application.css
206
202
  - app/assets/stylesheets/solidus_six_saferpay/loading_animation.scss
207
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
208
206
  - app/controllers/solidus_six_saferpay/application_controller.rb
209
207
  - app/controllers/spree/solidus_six_saferpay/checkout_controller.rb
210
208
  - app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb
@@ -218,13 +216,16 @@ files:
218
216
  - app/services/spree/solidus_six_saferpay/assert_payment_page.rb
219
217
  - app/services/spree/solidus_six_saferpay/authorize_payment.rb
220
218
  - app/services/spree/solidus_six_saferpay/authorize_transaction.rb
219
+ - app/services/spree/solidus_six_saferpay/cancel_authorized_payment.rb
221
220
  - app/services/spree/solidus_six_saferpay/initialize_payment.rb
222
221
  - app/services/spree/solidus_six_saferpay/initialize_payment_page.rb
223
222
  - app/services/spree/solidus_six_saferpay/initialize_transaction.rb
224
223
  - app/services/spree/solidus_six_saferpay/inquire_payment.rb
225
224
  - app/services/spree/solidus_six_saferpay/inquire_payment_page_payment.rb
226
- - app/services/spree/solidus_six_saferpay/inquire_transaction.rb
227
225
  - app/services/spree/solidus_six_saferpay/inquire_transaction_payment.rb
226
+ - app/services/spree/solidus_six_saferpay/order_not_found_handler.rb
227
+ - app/services/spree/solidus_six_saferpay/payment_not_found_handler.rb
228
+ - app/services/spree/solidus_six_saferpay/payment_processing_success_handler.rb
228
229
  - app/services/spree/solidus_six_saferpay/payment_validator.rb
229
230
  - app/services/spree/solidus_six_saferpay/process_authorized_payment.rb
230
231
  - app/services/spree/solidus_six_saferpay/process_payment_page_payment.rb
@@ -235,7 +236,13 @@ files:
235
236
  - app/views/spree/api/payments/source_views/_saferpay_payment.json.jbuilder
236
237
  - app/views/spree/checkout/payment/_saferpay_payment.html.erb
237
238
  - app/views/spree/six_saferpay_payments/_six_saferpay_payment.html.erb
238
- - app/views/spree/solidus_six_saferpay/checkout/iframe_breakout_redirect.html.erb
239
+ - app/views/spree/solidus_six_saferpay/checkout/iframe_breakout_redirect.erb
240
+ - bin/console
241
+ - bin/rails
242
+ - bin/rake
243
+ - bin/sandbox
244
+ - bin/setup
245
+ - config/initializers/assets.rb
239
246
  - config/locales/de.yml
240
247
  - config/locales/en.yml
241
248
  - config/locales/fr.yml
@@ -252,28 +259,220 @@ files:
252
259
  - lib/solidus_six_saferpay/payment_page_gateway.rb
253
260
  - lib/solidus_six_saferpay/transaction_gateway.rb
254
261
  - lib/solidus_six_saferpay/version.rb
255
- homepage: http://fadendaten.ch
262
+ - solidus_six_saferpay.gemspec
263
+ - spec/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller_spec.rb
264
+ - spec/controllers/spree/solidus_six_saferpay/transaction/checkout_controller_spec.rb
265
+ - spec/dummy/.ruby-version
266
+ - spec/dummy/README.md
267
+ - spec/dummy/Rakefile
268
+ - spec/dummy/app/assets/config/manifest.js
269
+ - spec/dummy/app/assets/javascripts/cable.js
270
+ - spec/dummy/app/assets/stylesheets/application.css
271
+ - spec/dummy/app/channels/application_cable/channel.rb
272
+ - spec/dummy/app/channels/application_cable/connection.rb
273
+ - spec/dummy/app/controllers/application_controller.rb
274
+ - spec/dummy/app/helpers/application_helper.rb
275
+ - spec/dummy/app/jobs/application_job.rb
276
+ - spec/dummy/app/mailers/application_mailer.rb
277
+ - spec/dummy/app/models/application_record.rb
278
+ - spec/dummy/app/views/layouts/application.html.erb
279
+ - spec/dummy/app/views/layouts/mailer.html.erb
280
+ - spec/dummy/app/views/layouts/mailer.text.erb
281
+ - spec/dummy/bin/bundle
282
+ - spec/dummy/bin/rails
283
+ - spec/dummy/bin/rake
284
+ - spec/dummy/bin/setup
285
+ - spec/dummy/bin/update
286
+ - spec/dummy/config.ru
287
+ - spec/dummy/config/application.rb
288
+ - spec/dummy/config/boot.rb
289
+ - spec/dummy/config/cable.yml
290
+ - spec/dummy/config/credentials.yml.enc
291
+ - spec/dummy/config/database.yml
292
+ - spec/dummy/config/environment.rb
293
+ - spec/dummy/config/environments/development.rb
294
+ - spec/dummy/config/environments/production.rb
295
+ - spec/dummy/config/environments/test.rb
296
+ - spec/dummy/config/initializers/application_controller_renderer.rb
297
+ - spec/dummy/config/initializers/assets.rb
298
+ - spec/dummy/config/initializers/backtrace_silencers.rb
299
+ - spec/dummy/config/initializers/content_security_policy.rb
300
+ - spec/dummy/config/initializers/cookies_serializer.rb
301
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
302
+ - spec/dummy/config/initializers/inflections.rb
303
+ - spec/dummy/config/initializers/mime_types.rb
304
+ - spec/dummy/config/initializers/spree.rb
305
+ - spec/dummy/config/initializers/wrap_parameters.rb
306
+ - spec/dummy/config/locales/en.yml
307
+ - spec/dummy/config/master.key
308
+ - spec/dummy/config/routes.rb
309
+ - spec/dummy/config/storage.yml
310
+ - spec/dummy/db/schema.rb
311
+ - spec/dummy/db/seeds.rb
312
+ - spec/dummy/public/404.html
313
+ - spec/dummy/public/422.html
314
+ - spec/dummy/public/500.html
315
+ - spec/dummy/public/apple-touch-icon-precomposed.png
316
+ - spec/dummy/public/apple-touch-icon.png
317
+ - spec/dummy/public/favicon.ico
318
+ - spec/dummy/vendor/assets/javascripts/spree/backend/all.js
319
+ - spec/dummy/vendor/assets/javascripts/spree/frontend/all.js
320
+ - spec/dummy/vendor/assets/stylesheets/spree/backend/all.css
321
+ - spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css
322
+ - spec/factories/payment_methods.rb
323
+ - spec/factories/payments.rb
324
+ - spec/factories/spree/six_saferpay_payments.rb
325
+ - spec/models/spree/six_saferpay_payment_spec.rb
326
+ - spec/rails_helper.rb
327
+ - spec/services/spree/solidus_six_saferpay/assert_payment_page_spec.rb
328
+ - spec/services/spree/solidus_six_saferpay/authorize_payment_spec.rb
329
+ - spec/services/spree/solidus_six_saferpay/authorize_transaction_spec.rb
330
+ - spec/services/spree/solidus_six_saferpay/cancel_authorized_payment_spec.rb
331
+ - spec/services/spree/solidus_six_saferpay/initialize_payment_page_spec.rb
332
+ - spec/services/spree/solidus_six_saferpay/initialize_payment_spec.rb
333
+ - spec/services/spree/solidus_six_saferpay/initialize_transaction_spec.rb
334
+ - spec/services/spree/solidus_six_saferpay/inquire_payment_page_payment_spec.rb
335
+ - spec/services/spree/solidus_six_saferpay/inquire_payment_spec.rb
336
+ - spec/services/spree/solidus_six_saferpay/inquire_transaction_payment_spec.rb
337
+ - spec/services/spree/solidus_six_saferpay/order_not_found_handler_spec.rb
338
+ - spec/services/spree/solidus_six_saferpay/payment_not_found_handler_spec.rb
339
+ - spec/services/spree/solidus_six_saferpay/payment_processing_success_handler_spec.rb
340
+ - spec/services/spree/solidus_six_saferpay/payment_validator_spec.rb
341
+ - spec/services/spree/solidus_six_saferpay/process_authorized_payment_spec.rb
342
+ - spec/services/spree/solidus_six_saferpay/process_payment_page_payment_spec.rb
343
+ - spec/services/spree/solidus_six_saferpay/process_transaction_payment_spec.rb
344
+ - spec/solidus_six_saferpay/configuration_spec.rb
345
+ - spec/solidus_six_saferpay/error_handler_spec.rb
346
+ - spec/solidus_six_saferpay/gateway_response_spec.rb
347
+ - spec/solidus_six_saferpay/gateway_spec.rb
348
+ - spec/solidus_six_saferpay/payment_page_gateway_spec.rb
349
+ - spec/solidus_six_saferpay/transaction_gateway_spec.rb
350
+ - spec/spec_helper.rb
351
+ - spec/support/route_access.rb
352
+ - spec/support/shared_examples/authorize_payment.rb
353
+ - spec/support/shared_examples/checkout_controller.rb
354
+ - spec/support/shared_examples/inquire_payment.rb
355
+ - spec/support/shared_examples/process_authorized_payment.rb
356
+ - spec/support/uses_payment_page_gateway.rb
357
+ - spec/support/uses_transaction_gateway.rb
358
+ homepage: https://github.com/fadendaten/solidus_six_saferpay
256
359
  licenses:
257
360
  - MIT
258
- metadata: {}
361
+ metadata:
362
+ homepage_uri: https://github.com/fadendaten/solidus_six_saferpay
363
+ source_code_uri: https://github.com/fadendaten/solidus_six_saferpay
259
364
  post_install_message:
260
365
  rdoc_options: []
261
366
  require_paths:
262
367
  - lib
263
368
  required_ruby_version: !ruby/object:Gem::Requirement
264
369
  requirements:
265
- - - ">="
370
+ - - "~>"
266
371
  - !ruby/object:Gem::Version
267
- version: '0'
372
+ version: '2.4'
268
373
  required_rubygems_version: !ruby/object:Gem::Requirement
269
374
  requirements:
270
375
  - - ">="
271
376
  - !ruby/object:Gem::Version
272
377
  version: '0'
273
378
  requirements: []
274
- rubyforge_project:
275
- rubygems_version: 2.7.6
379
+ rubygems_version: 3.1.4
276
380
  signing_key:
277
381
  specification_version: 4
278
382
  summary: Saferpay Payment Page and Transaction payment methods for Solidus
279
- test_files: []
383
+ test_files:
384
+ - spec/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller_spec.rb
385
+ - spec/controllers/spree/solidus_six_saferpay/transaction/checkout_controller_spec.rb
386
+ - spec/dummy/.ruby-version
387
+ - spec/dummy/README.md
388
+ - spec/dummy/Rakefile
389
+ - spec/dummy/app/assets/config/manifest.js
390
+ - spec/dummy/app/assets/javascripts/cable.js
391
+ - spec/dummy/app/assets/stylesheets/application.css
392
+ - spec/dummy/app/channels/application_cable/channel.rb
393
+ - spec/dummy/app/channels/application_cable/connection.rb
394
+ - spec/dummy/app/controllers/application_controller.rb
395
+ - spec/dummy/app/helpers/application_helper.rb
396
+ - spec/dummy/app/jobs/application_job.rb
397
+ - spec/dummy/app/mailers/application_mailer.rb
398
+ - spec/dummy/app/models/application_record.rb
399
+ - spec/dummy/app/views/layouts/application.html.erb
400
+ - spec/dummy/app/views/layouts/mailer.html.erb
401
+ - spec/dummy/app/views/layouts/mailer.text.erb
402
+ - spec/dummy/bin/bundle
403
+ - spec/dummy/bin/rails
404
+ - spec/dummy/bin/rake
405
+ - spec/dummy/bin/setup
406
+ - spec/dummy/bin/update
407
+ - spec/dummy/config.ru
408
+ - spec/dummy/config/application.rb
409
+ - spec/dummy/config/boot.rb
410
+ - spec/dummy/config/cable.yml
411
+ - spec/dummy/config/credentials.yml.enc
412
+ - spec/dummy/config/database.yml
413
+ - spec/dummy/config/environment.rb
414
+ - spec/dummy/config/environments/development.rb
415
+ - spec/dummy/config/environments/production.rb
416
+ - spec/dummy/config/environments/test.rb
417
+ - spec/dummy/config/initializers/application_controller_renderer.rb
418
+ - spec/dummy/config/initializers/assets.rb
419
+ - spec/dummy/config/initializers/backtrace_silencers.rb
420
+ - spec/dummy/config/initializers/content_security_policy.rb
421
+ - spec/dummy/config/initializers/cookies_serializer.rb
422
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
423
+ - spec/dummy/config/initializers/inflections.rb
424
+ - spec/dummy/config/initializers/mime_types.rb
425
+ - spec/dummy/config/initializers/spree.rb
426
+ - spec/dummy/config/initializers/wrap_parameters.rb
427
+ - spec/dummy/config/locales/en.yml
428
+ - spec/dummy/config/master.key
429
+ - spec/dummy/config/routes.rb
430
+ - spec/dummy/config/storage.yml
431
+ - spec/dummy/db/schema.rb
432
+ - spec/dummy/db/seeds.rb
433
+ - spec/dummy/public/404.html
434
+ - spec/dummy/public/422.html
435
+ - spec/dummy/public/500.html
436
+ - spec/dummy/public/apple-touch-icon-precomposed.png
437
+ - spec/dummy/public/apple-touch-icon.png
438
+ - spec/dummy/public/favicon.ico
439
+ - spec/dummy/vendor/assets/javascripts/spree/backend/all.js
440
+ - spec/dummy/vendor/assets/javascripts/spree/frontend/all.js
441
+ - spec/dummy/vendor/assets/stylesheets/spree/backend/all.css
442
+ - spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css
443
+ - spec/factories/payment_methods.rb
444
+ - spec/factories/payments.rb
445
+ - spec/factories/spree/six_saferpay_payments.rb
446
+ - spec/models/spree/six_saferpay_payment_spec.rb
447
+ - spec/rails_helper.rb
448
+ - spec/services/spree/solidus_six_saferpay/assert_payment_page_spec.rb
449
+ - spec/services/spree/solidus_six_saferpay/authorize_payment_spec.rb
450
+ - spec/services/spree/solidus_six_saferpay/authorize_transaction_spec.rb
451
+ - spec/services/spree/solidus_six_saferpay/cancel_authorized_payment_spec.rb
452
+ - spec/services/spree/solidus_six_saferpay/initialize_payment_page_spec.rb
453
+ - spec/services/spree/solidus_six_saferpay/initialize_payment_spec.rb
454
+ - spec/services/spree/solidus_six_saferpay/initialize_transaction_spec.rb
455
+ - spec/services/spree/solidus_six_saferpay/inquire_payment_page_payment_spec.rb
456
+ - spec/services/spree/solidus_six_saferpay/inquire_payment_spec.rb
457
+ - spec/services/spree/solidus_six_saferpay/inquire_transaction_payment_spec.rb
458
+ - spec/services/spree/solidus_six_saferpay/order_not_found_handler_spec.rb
459
+ - spec/services/spree/solidus_six_saferpay/payment_not_found_handler_spec.rb
460
+ - spec/services/spree/solidus_six_saferpay/payment_processing_success_handler_spec.rb
461
+ - spec/services/spree/solidus_six_saferpay/payment_validator_spec.rb
462
+ - spec/services/spree/solidus_six_saferpay/process_authorized_payment_spec.rb
463
+ - spec/services/spree/solidus_six_saferpay/process_payment_page_payment_spec.rb
464
+ - spec/services/spree/solidus_six_saferpay/process_transaction_payment_spec.rb
465
+ - spec/solidus_six_saferpay/configuration_spec.rb
466
+ - spec/solidus_six_saferpay/error_handler_spec.rb
467
+ - spec/solidus_six_saferpay/gateway_response_spec.rb
468
+ - spec/solidus_six_saferpay/gateway_spec.rb
469
+ - spec/solidus_six_saferpay/payment_page_gateway_spec.rb
470
+ - spec/solidus_six_saferpay/transaction_gateway_spec.rb
471
+ - spec/spec_helper.rb
472
+ - spec/support/route_access.rb
473
+ - spec/support/shared_examples/authorize_payment.rb
474
+ - spec/support/shared_examples/checkout_controller.rb
475
+ - spec/support/shared_examples/inquire_payment.rb
476
+ - spec/support/shared_examples/process_authorized_payment.rb
477
+ - spec/support/uses_payment_page_gateway.rb
478
+ - spec/support/uses_transaction_gateway.rb