ipizza-rails 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
data/ipizza-rails.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
18
18
|
s.require_paths = ['lib']
|
19
19
|
|
20
|
-
s.add_dependency(%q<ipizza>, ['
|
20
|
+
s.add_dependency(%q<ipizza>, ['>= 0.7.1'])
|
21
21
|
|
22
22
|
s.add_development_dependency('rspec', ['>= 2.5.0'])
|
23
23
|
end
|
@@ -11,6 +11,8 @@ module Ipizza
|
|
11
11
|
Ipizza::Provider::Sampo.new.payment_request(payment)
|
12
12
|
when :nordea
|
13
13
|
Ipizza::Provider::Nordea.new.payment_request(payment)
|
14
|
+
when :krediidipank
|
15
|
+
Ipizza::Provider::Krediidipank.new.payment_request(payment)
|
14
16
|
end
|
15
17
|
|
16
18
|
form_tag(request.service_url, options) do
|
@@ -31,6 +31,16 @@ development:
|
|
31
31
|
keyvers: '0001'
|
32
32
|
file_key: nordea_test_priv
|
33
33
|
|
34
|
+
krediidipank:
|
35
|
+
service_url: https://i-pank.krediidipank.ee/teller/maksa
|
36
|
+
return_url: http://localhost:3000/krep/return
|
37
|
+
cancel_url: http://localhost:3000/krep/cancel
|
38
|
+
login: dealer
|
39
|
+
file_cert: krediidipank_test_pub.pem
|
40
|
+
file_key: krediidipank_test_priv.pem
|
41
|
+
encoding: UTF-8
|
42
|
+
snd_id: testvpos
|
43
|
+
|
34
44
|
test:
|
35
45
|
swedbank:
|
36
46
|
service_url: https://www.swedbank.ee/banklink
|
@@ -64,6 +74,16 @@ test:
|
|
64
74
|
keyvers: '0001'
|
65
75
|
file_key: nordea_test_priv
|
66
76
|
|
77
|
+
krediidipank:
|
78
|
+
service_url: https://i-pank.krediidipank.ee/teller/maksa
|
79
|
+
return_url: http://test.host/krep/return
|
80
|
+
cancel_url: http://test.host/krep/cancel
|
81
|
+
login: dealer
|
82
|
+
file_cert: krediidipank_test_pub.pem
|
83
|
+
file_key: krediidipank_test_priv.pem
|
84
|
+
encoding: UTF-8
|
85
|
+
snd_id: testvpos
|
86
|
+
|
67
87
|
production:
|
68
88
|
swedbank:
|
69
89
|
service_url: https://www.swedbank.ee/banklink
|
@@ -96,3 +116,13 @@ production:
|
|
96
116
|
confirm: 'YES'
|
97
117
|
keyvers: '0001'
|
98
118
|
file_key: nordea_test_priv
|
119
|
+
|
120
|
+
krediidipank:
|
121
|
+
service_url: https://i-pank.krediidipank.ee/teller/maksa
|
122
|
+
return_url: http://myapp.host/krep/return
|
123
|
+
cancel_url: http://myapp.host/krep/cancel
|
124
|
+
login: dealer
|
125
|
+
file_cert: krediidipank_test_pub.pem
|
126
|
+
file_key: krediidipank_test_priv.pem
|
127
|
+
encoding: UTF-8
|
128
|
+
snd_id: testvpos
|
data/lib/ipizza-rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ipizza-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Priit Haamer
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2013-04-10 00:00:00 +03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -24,14 +24,14 @@ dependencies:
|
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- - "
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 1
|
30
30
|
segments:
|
31
31
|
- 0
|
32
|
-
-
|
33
|
-
-
|
34
|
-
version: 0.
|
32
|
+
- 7
|
33
|
+
- 1
|
34
|
+
version: 0.7.1
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|