solidus_six_saferpay 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +220 -0
- data/Rakefile +56 -0
- data/app/assets/config/solidus_six_saferpay_manifest.js +2 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/amex.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/cirrus.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/delta.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/diners_club.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/directdebit.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/discover.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/egold.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/maestro.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/mastercard.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/paypal.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/solo.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/switch.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/twint.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/visa.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/visaelectron.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/westernunion.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/wirecard.png +0 -0
- data/app/assets/images/solidus_six_saferpay/credit_cards/icons/worldpay.png +0 -0
- data/app/assets/javascripts/solidus_six_saferpay/application.js +14 -0
- data/app/assets/javascripts/solidus_six_saferpay/saferpay_payment.js +120 -0
- data/app/assets/stylesheets/solidus_six_saferpay/application.css +15 -0
- data/app/assets/stylesheets/solidus_six_saferpay/loading_animation.scss +30 -0
- data/app/assets/stylesheets/solidus_six_saferpay/payments.scss +10 -0
- data/app/controllers/solidus_six_saferpay/application_controller.rb +5 -0
- data/app/controllers/spree/solidus_six_saferpay/checkout_controller.rb +93 -0
- data/app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb +27 -0
- data/app/controllers/spree/solidus_six_saferpay/transaction/checkout_controller.rb +27 -0
- data/app/helpers/solidus_six_saferpay/application_helper.rb +4 -0
- data/app/jobs/solidus_six_saferpay/application_job.rb +4 -0
- data/app/mailers/solidus_six_saferpay/application_mailer.rb +6 -0
- data/app/models/solidus_six_saferpay/application_record.rb +5 -0
- data/app/models/spree/payment_method/saferpay_payment_method.rb +46 -0
- data/app/models/spree/payment_method/saferpay_payment_page.rb +13 -0
- data/app/models/spree/payment_method/saferpay_transaction.rb +12 -0
- data/app/models/spree/six_saferpay_payment.rb +69 -0
- data/app/services/spree/route_access.rb +5 -0
- data/app/services/spree/solidus_six_saferpay/assert_payment_page.rb +8 -0
- data/app/services/spree/solidus_six_saferpay/authorize_payment.rb +60 -0
- data/app/services/spree/solidus_six_saferpay/authorize_transaction.rb +8 -0
- data/app/services/spree/solidus_six_saferpay/initialize_payment.rb +57 -0
- data/app/services/spree/solidus_six_saferpay/initialize_payment_page.rb +15 -0
- data/app/services/spree/solidus_six_saferpay/initialize_transaction.rb +16 -0
- data/app/services/spree/solidus_six_saferpay/inquire_payment.rb +43 -0
- data/app/services/spree/solidus_six_saferpay/inquire_payment_page_payment.rb +7 -0
- data/app/services/spree/solidus_six_saferpay/inquire_transaction.rb +7 -0
- data/app/services/spree/solidus_six_saferpay/inquire_transaction_payment.rb +7 -0
- data/app/services/spree/solidus_six_saferpay/payment_validator.rb +62 -0
- data/app/services/spree/solidus_six_saferpay/process_authorized_payment.rb +87 -0
- data/app/services/spree/solidus_six_saferpay/process_payment_page_payment.rb +7 -0
- data/app/services/spree/solidus_six_saferpay/process_transaction_payment.rb +7 -0
- data/app/services/spree/solidus_six_saferpay/use_payment_page_gateway.rb +11 -0
- data/app/services/spree/solidus_six_saferpay/use_transaction_gateway.rb +11 -0
- data/app/views/spree/admin/payments/source_views/_saferpay_payment.erb +36 -0
- data/app/views/spree/api/payments/source_views/_saferpay_payment.json.jbuilder +1 -0
- data/app/views/spree/checkout/payment/_saferpay_payment.html.erb +12 -0
- data/app/views/spree/six_saferpay_payments/_six_saferpay_payment.html.erb +16 -0
- data/app/views/spree/solidus_six_saferpay/checkout/iframe_breakout_redirect.html.erb +7 -0
- data/config/locales/de.yml +52 -0
- data/config/locales/en.yml +52 -0
- data/config/locales/fr.yml +51 -0
- data/config/routes.rb +17 -0
- data/db/migrate/20190523075638_create_six_saferpay_payments.rb +31 -0
- data/lib/generators/solidus_six_saferpay/install/install_generator.rb +20 -0
- data/lib/solidus_six_saferpay.rb +5 -0
- data/lib/solidus_six_saferpay/configuration.rb +12 -0
- data/lib/solidus_six_saferpay/engine.rb +25 -0
- data/lib/solidus_six_saferpay/error_handler.rb +21 -0
- data/lib/solidus_six_saferpay/gateway.rb +183 -0
- data/lib/solidus_six_saferpay/gateway_response.rb +38 -0
- data/lib/solidus_six_saferpay/invalid_saferpay_payment.rb +11 -0
- data/lib/solidus_six_saferpay/payment_page_gateway.rb +55 -0
- data/lib/solidus_six_saferpay/transaction_gateway.rb +47 -0
- data/lib/solidus_six_saferpay/version.rb +3 -0
- data/lib/tasks/solidus_six_saferpay_tasks.rake +4 -0
- metadata +319 -0
@@ -0,0 +1,38 @@
|
|
1
|
+
module SolidusSixSaferpay
|
2
|
+
|
3
|
+
class GatewayResponse
|
4
|
+
attr_reader :api_response, :message, :test, :error_name, :authorization
|
5
|
+
|
6
|
+
def initialize(success, message, api_response, options = {})
|
7
|
+
@success, @message, @api_response = success, message, api_response
|
8
|
+
@error_name = options[:error_name]
|
9
|
+
@authorization = options[:authorization]
|
10
|
+
end
|
11
|
+
|
12
|
+
def success?
|
13
|
+
@success
|
14
|
+
end
|
15
|
+
|
16
|
+
def to_s
|
17
|
+
message
|
18
|
+
end
|
19
|
+
|
20
|
+
# To ensure that solidus sets the response_code after successful capture,
|
21
|
+
# we need to pass it as an "authorization", however if we do this then
|
22
|
+
# solidus also expects there to be an "avs_result"
|
23
|
+
#
|
24
|
+
# see https://github.com/solidusio/solidus/blob/master/core/app/models/spree/payment/processing.rb#L171
|
25
|
+
def avs_result
|
26
|
+
{}
|
27
|
+
end
|
28
|
+
|
29
|
+
# To ensure that solidus sets the response_code after successful capture,
|
30
|
+
# we need to pass it as an "authorization", however if we do this then
|
31
|
+
# solidus also expects this response to respond to :cvv_result
|
32
|
+
#
|
33
|
+
# see https://github.com/solidusio/solidus/blob/master/core/app/models/spree/payment/processing.rb#L171
|
34
|
+
def cvv_result
|
35
|
+
nil
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
module SolidusSixSaferpay
|
2
|
+
class InvalidSaferpayPayment < StandardError
|
3
|
+
def initialize(message: I18n.t(:general_error, scope: [:solidus_six_saferpay, :errors]), details: "")
|
4
|
+
super("#{message}: #{details}".strip)
|
5
|
+
end
|
6
|
+
|
7
|
+
def full_message
|
8
|
+
message
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
module SolidusSixSaferpay
|
2
|
+
class PaymentPageGateway < Gateway
|
3
|
+
|
4
|
+
def initialize(options = {})
|
5
|
+
super(
|
6
|
+
options.merge(
|
7
|
+
success_url: url_helpers.solidus_six_saferpay_payment_page_success_url,
|
8
|
+
fail_url: url_helpers.solidus_six_saferpay_payment_page_fail_url
|
9
|
+
)
|
10
|
+
)
|
11
|
+
end
|
12
|
+
|
13
|
+
def inquire(saferpay_payment, options = {})
|
14
|
+
inquire_response = perform_assert_request(saferpay_payment, options)
|
15
|
+
|
16
|
+
response(
|
17
|
+
true,
|
18
|
+
"Saferpay Payment Page inquire (assert) response: #{inquire_response.to_h}",
|
19
|
+
inquire_response
|
20
|
+
)
|
21
|
+
rescue SixSaferpay::Error => e
|
22
|
+
handle_error(e, inquire_response)
|
23
|
+
end
|
24
|
+
|
25
|
+
# NOTE: Since PaymentPage payments are automatically authorized,
|
26
|
+
# the passed amount has no effect because the payment is automatically
|
27
|
+
# authorized for the full amount
|
28
|
+
def authorize(_amount, saferpay_payment, options = {})
|
29
|
+
assert(saferpay_payment, options)
|
30
|
+
end
|
31
|
+
|
32
|
+
def assert(saferpay_payment, options = {})
|
33
|
+
assert_response = perform_assert_request(saferpay_payment, options)
|
34
|
+
|
35
|
+
response(
|
36
|
+
true,
|
37
|
+
"Saferpay Payment Page assert response: #{assert_response.to_h}",
|
38
|
+
assert_response
|
39
|
+
)
|
40
|
+
rescue SixSaferpay::Error => e
|
41
|
+
handle_error(e, assert_response)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def interface_initialize_object(order, payment_method)
|
47
|
+
SixSaferpay::SixPaymentPage::Initialize.new(interface_initialize_params(order, payment_method))
|
48
|
+
end
|
49
|
+
|
50
|
+
def perform_assert_request(saferpay_payment, options = {})
|
51
|
+
payment_page_assert = SixSaferpay::SixPaymentPage::Assert.new(token: saferpay_payment.token)
|
52
|
+
SixSaferpay::Client.post(payment_page_assert)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
module SolidusSixSaferpay
|
2
|
+
class TransactionGateway < Gateway
|
3
|
+
|
4
|
+
def initialize(options = {})
|
5
|
+
super(
|
6
|
+
options.merge(
|
7
|
+
success_url: url_helpers.solidus_six_saferpay_transaction_success_url,
|
8
|
+
fail_url: url_helpers.solidus_six_saferpay_transaction_fail_url
|
9
|
+
)
|
10
|
+
)
|
11
|
+
end
|
12
|
+
|
13
|
+
def inquire(saferpay_payment, options = {})
|
14
|
+
transaction_inquire = SixSaferpay::SixTransaction::Inquire.new(transaction_reference: saferpay_payment.transaction_id)
|
15
|
+
inquire_response = SixSaferpay::Client.post(transaction_inquire)
|
16
|
+
|
17
|
+
response(
|
18
|
+
true,
|
19
|
+
"Saferpay Transaction inquire response: #{inquire_response.to_h}",
|
20
|
+
inquire_response
|
21
|
+
)
|
22
|
+
rescue SixSaferpay::Error => e
|
23
|
+
handle_error(e, inquire_response)
|
24
|
+
end
|
25
|
+
|
26
|
+
# NOTE: Saferpay does not allow authorization for partial amounts.
|
27
|
+
# Therefore, the given amount is ignored
|
28
|
+
def authorize(_amount, saferpay_payment, options = {})
|
29
|
+
transaction_authorize = SixSaferpay::SixTransaction::Authorize.new(token: saferpay_payment.token)
|
30
|
+
authorize_response = SixSaferpay::Client.post(transaction_authorize)
|
31
|
+
|
32
|
+
response(
|
33
|
+
true,
|
34
|
+
"Saferpay Transaction authorize response: #{authorize_response.to_h}",
|
35
|
+
authorize_response
|
36
|
+
)
|
37
|
+
rescue SixSaferpay::Error => e
|
38
|
+
handle_error(e, authorize_response)
|
39
|
+
end
|
40
|
+
|
41
|
+
private
|
42
|
+
|
43
|
+
def interface_initialize_object(order, payment_method)
|
44
|
+
SixSaferpay::SixTransaction::Initialize.new(interface_initialize_params(order, payment_method))
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
metadata
ADDED
@@ -0,0 +1,319 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: solidus_six_saferpay
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Simon Kiener
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-11-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
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
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '5.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: solidus
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.7'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
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
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.3.3
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.3.3
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rails-i18n
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '5.1'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '5.1'
|
69
|
+
- !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.1'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2.1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: sqlite3
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.4'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.4'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec-rails
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '3.8'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '3.8'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: factory_bot_rails
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '5.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '5.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: shoulda-matchers
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '4.1'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '4.1'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: pry
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.12'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.12'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: pry-rails
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0.3'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
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
|
+
description: Adds Saferpay Payment Page and Transaction payment methods to your Solidus
|
210
|
+
application
|
211
|
+
email:
|
212
|
+
- jugglinghobo@gmail.com
|
213
|
+
executables: []
|
214
|
+
extensions: []
|
215
|
+
extra_rdoc_files: []
|
216
|
+
files:
|
217
|
+
- MIT-LICENSE
|
218
|
+
- README.md
|
219
|
+
- Rakefile
|
220
|
+
- app/assets/config/solidus_six_saferpay_manifest.js
|
221
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/amex.png
|
222
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/cirrus.png
|
223
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/delta.png
|
224
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/diners_club.png
|
225
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/directdebit.png
|
226
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/discover.png
|
227
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/egold.png
|
228
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/maestro.png
|
229
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/mastercard.png
|
230
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/paypal.png
|
231
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/solo.png
|
232
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/switch.png
|
233
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/twint.png
|
234
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/visa.png
|
235
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/visaelectron.png
|
236
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/westernunion.png
|
237
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/wirecard.png
|
238
|
+
- app/assets/images/solidus_six_saferpay/credit_cards/icons/worldpay.png
|
239
|
+
- app/assets/javascripts/solidus_six_saferpay/application.js
|
240
|
+
- app/assets/javascripts/solidus_six_saferpay/saferpay_payment.js
|
241
|
+
- app/assets/stylesheets/solidus_six_saferpay/application.css
|
242
|
+
- app/assets/stylesheets/solidus_six_saferpay/loading_animation.scss
|
243
|
+
- app/assets/stylesheets/solidus_six_saferpay/payments.scss
|
244
|
+
- app/controllers/solidus_six_saferpay/application_controller.rb
|
245
|
+
- app/controllers/spree/solidus_six_saferpay/checkout_controller.rb
|
246
|
+
- app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb
|
247
|
+
- app/controllers/spree/solidus_six_saferpay/transaction/checkout_controller.rb
|
248
|
+
- app/helpers/solidus_six_saferpay/application_helper.rb
|
249
|
+
- app/jobs/solidus_six_saferpay/application_job.rb
|
250
|
+
- app/mailers/solidus_six_saferpay/application_mailer.rb
|
251
|
+
- app/models/solidus_six_saferpay/application_record.rb
|
252
|
+
- app/models/spree/payment_method/saferpay_payment_method.rb
|
253
|
+
- app/models/spree/payment_method/saferpay_payment_page.rb
|
254
|
+
- app/models/spree/payment_method/saferpay_transaction.rb
|
255
|
+
- app/models/spree/six_saferpay_payment.rb
|
256
|
+
- app/services/spree/route_access.rb
|
257
|
+
- app/services/spree/solidus_six_saferpay/assert_payment_page.rb
|
258
|
+
- app/services/spree/solidus_six_saferpay/authorize_payment.rb
|
259
|
+
- app/services/spree/solidus_six_saferpay/authorize_transaction.rb
|
260
|
+
- app/services/spree/solidus_six_saferpay/initialize_payment.rb
|
261
|
+
- app/services/spree/solidus_six_saferpay/initialize_payment_page.rb
|
262
|
+
- app/services/spree/solidus_six_saferpay/initialize_transaction.rb
|
263
|
+
- app/services/spree/solidus_six_saferpay/inquire_payment.rb
|
264
|
+
- app/services/spree/solidus_six_saferpay/inquire_payment_page_payment.rb
|
265
|
+
- app/services/spree/solidus_six_saferpay/inquire_transaction.rb
|
266
|
+
- app/services/spree/solidus_six_saferpay/inquire_transaction_payment.rb
|
267
|
+
- app/services/spree/solidus_six_saferpay/payment_validator.rb
|
268
|
+
- app/services/spree/solidus_six_saferpay/process_authorized_payment.rb
|
269
|
+
- app/services/spree/solidus_six_saferpay/process_payment_page_payment.rb
|
270
|
+
- app/services/spree/solidus_six_saferpay/process_transaction_payment.rb
|
271
|
+
- app/services/spree/solidus_six_saferpay/use_payment_page_gateway.rb
|
272
|
+
- app/services/spree/solidus_six_saferpay/use_transaction_gateway.rb
|
273
|
+
- app/views/spree/admin/payments/source_views/_saferpay_payment.erb
|
274
|
+
- app/views/spree/api/payments/source_views/_saferpay_payment.json.jbuilder
|
275
|
+
- app/views/spree/checkout/payment/_saferpay_payment.html.erb
|
276
|
+
- app/views/spree/six_saferpay_payments/_six_saferpay_payment.html.erb
|
277
|
+
- app/views/spree/solidus_six_saferpay/checkout/iframe_breakout_redirect.html.erb
|
278
|
+
- config/locales/de.yml
|
279
|
+
- config/locales/en.yml
|
280
|
+
- config/locales/fr.yml
|
281
|
+
- config/routes.rb
|
282
|
+
- db/migrate/20190523075638_create_six_saferpay_payments.rb
|
283
|
+
- lib/generators/solidus_six_saferpay/install/install_generator.rb
|
284
|
+
- lib/solidus_six_saferpay.rb
|
285
|
+
- lib/solidus_six_saferpay/configuration.rb
|
286
|
+
- lib/solidus_six_saferpay/engine.rb
|
287
|
+
- lib/solidus_six_saferpay/error_handler.rb
|
288
|
+
- lib/solidus_six_saferpay/gateway.rb
|
289
|
+
- lib/solidus_six_saferpay/gateway_response.rb
|
290
|
+
- lib/solidus_six_saferpay/invalid_saferpay_payment.rb
|
291
|
+
- lib/solidus_six_saferpay/payment_page_gateway.rb
|
292
|
+
- lib/solidus_six_saferpay/transaction_gateway.rb
|
293
|
+
- lib/solidus_six_saferpay/version.rb
|
294
|
+
- lib/tasks/solidus_six_saferpay_tasks.rake
|
295
|
+
homepage: http://fadendaten.ch
|
296
|
+
licenses:
|
297
|
+
- MIT
|
298
|
+
metadata: {}
|
299
|
+
post_install_message:
|
300
|
+
rdoc_options: []
|
301
|
+
require_paths:
|
302
|
+
- lib
|
303
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
304
|
+
requirements:
|
305
|
+
- - ">="
|
306
|
+
- !ruby/object:Gem::Version
|
307
|
+
version: '0'
|
308
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
309
|
+
requirements:
|
310
|
+
- - ">="
|
311
|
+
- !ruby/object:Gem::Version
|
312
|
+
version: '0'
|
313
|
+
requirements: []
|
314
|
+
rubyforge_project:
|
315
|
+
rubygems_version: 2.7.6
|
316
|
+
signing_key:
|
317
|
+
specification_version: 4
|
318
|
+
summary: Saferpay Payment Page and Transaction payment methods for Solidus
|
319
|
+
test_files: []
|