spree_gtpay 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -7
- metadata +63 -81
data/README.md
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
|
1
|
+
Spree GTPay [![Code Climate](https://codeclimate.com/github/vinsol/Spree-Gtpay.png)](https://codeclimate.com/github/vinsol/Spree-Gtpay) [![Build Status](https://travis-ci.org/vinsol/Spree-GTPay.svg?branch=master)](https://travis-ci.org/vinsol/Spree-GTPay)
|
2
2
|
==========
|
3
3
|
|
4
|
-
Enable spree store to allow payment via [
|
4
|
+
Enable spree store to allow payment via [GTBank](http://gtbank.com/) Payment (a foremost Nigerian bank)
|
5
5
|
|
6
6
|
####For customer:
|
7
7
|
|
8
|
-
Customer can pay via
|
8
|
+
Customer can pay via GTBank payment method at Checkout. Customer can also see the list of GTBank Transactions initiated by them.
|
9
9
|
|
10
10
|
####For admin:
|
11
11
|
|
12
|
-
Admin can see the list of
|
12
|
+
Admin can see the list of GTBank Transactions initiated by customers under admin section. Admin can also ping GTBank gateway for an updated status of a transaction and the transaction is then updated accordingly.
|
13
13
|
|
14
14
|
|
15
15
|
Installation
|
@@ -43,8 +43,8 @@ Configuration
|
|
43
43
|
2. Click update after adding your credentials in the screen that follows:
|
44
44
|
|
45
45
|
```
|
46
|
-
Payment Url: Provide payment url provided by
|
47
|
-
Merchant: provide merchant id provided bt
|
46
|
+
Payment Url: Provide payment url provided by GTBank.
|
47
|
+
Merchant: provide merchant id provided bt GTBank
|
48
48
|
```
|
49
49
|
|
50
50
|
3. After this you need to create ```initializers/gtbank_constant.rb``` and add below mentioned to the same file.
|
@@ -53,7 +53,7 @@ Configuration
|
|
53
53
|
GT_DATA = {:product_id => "xxxx", :mac_id => "xxxxxxxxx", :query_url => "xxxxxx" }
|
54
54
|
```
|
55
55
|
|
56
|
-
These are the details which are provided by interswitch(Ask about it from
|
56
|
+
These are the details which are provided by interswitch(Ask about it from GTBank if you dont have it) and replace xxx with exact values provided.
|
57
57
|
|
58
58
|
|
59
59
|
Testing
|
metadata
CHANGED
@@ -1,130 +1,112 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_gtpay
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 1
|
10
|
-
version: 1.0.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Abhishek Jain
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2014-03-25 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: spree_core
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
18
|
+
requirements:
|
26
19
|
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 15
|
29
|
-
segments:
|
30
|
-
- 2
|
31
|
-
- 0
|
32
|
-
- 0
|
20
|
+
- !ruby/object:Gem::Version
|
33
21
|
version: 2.0.0
|
34
22
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: delayed_job_active_record
|
38
23
|
prerelease: false
|
39
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.0.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: delayed_job_active_record
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
40
33
|
none: false
|
41
|
-
requirements:
|
34
|
+
requirements:
|
42
35
|
- - ~>
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
hash: 63
|
45
|
-
segments:
|
46
|
-
- 4
|
47
|
-
- 0
|
48
|
-
- 0
|
36
|
+
- !ruby/object:Gem::Version
|
49
37
|
version: 4.0.0
|
50
38
|
type: :runtime
|
51
|
-
|
52
|
-
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 4.0.0
|
46
|
+
description: Enable spree store to allow payment via GTPay, a GTBank Payment Gateway
|
47
|
+
for Nigeria
|
53
48
|
email: info@vinsol.com
|
54
49
|
executables: []
|
55
|
-
|
56
50
|
extensions: []
|
57
|
-
|
58
51
|
extra_rdoc_files: []
|
59
|
-
|
60
|
-
files:
|
52
|
+
files:
|
61
53
|
- LICENSE
|
62
54
|
- README.md
|
63
|
-
- app/assets/javascripts/admin/spree_gtpay.js
|
64
|
-
- app/assets/javascripts/store/spree_gtpay.js
|
65
|
-
- app/assets/stylesheets/admin/spree_gtpay.css
|
66
|
-
- app/assets/stylesheets/store/spree_gtpay.css
|
67
|
-
- app/controllers/spree/admin/gtpay_transactions_controller.rb
|
68
|
-
- app/controllers/spree/checkout_controller_decorator.rb
|
69
|
-
- app/controllers/spree/gtpay_transactions_controller.rb
|
70
|
-
- app/helpers/spree/admin/base_helper_decorator.rb
|
71
55
|
- app/mailers/spree/transaction_notification_mailer.rb
|
56
|
+
- app/assets/stylesheets/store/spree_gtpay.css
|
57
|
+
- app/assets/stylesheets/admin/spree_gtpay.css
|
58
|
+
- app/assets/javascripts/store/spree_gtpay.js
|
59
|
+
- app/assets/javascripts/admin/spree_gtpay.js
|
60
|
+
- app/overrides/add_tab_for_gtpay_transactions.rb
|
61
|
+
- app/models/spree/user_decorator.rb
|
72
62
|
- app/models/spree/gateway/gtpay.rb
|
63
|
+
- app/models/spree/payment_decorator.rb
|
73
64
|
- app/models/spree/gtpay_transaction.rb
|
74
65
|
- app/models/spree/order_decorator.rb
|
75
|
-
- app/
|
76
|
-
- app/
|
77
|
-
- app/
|
66
|
+
- app/controllers/spree/checkout_controller_decorator.rb
|
67
|
+
- app/controllers/spree/gtpay_transactions_controller.rb
|
68
|
+
- app/controllers/spree/admin/gtpay_transactions_controller.rb
|
69
|
+
- app/views/spree/gtpay_transactions/index.html.erb
|
70
|
+
- app/views/spree/checkout/payment/_gateway.html.erb
|
71
|
+
- app/views/spree/checkout/confirm.html.erb
|
78
72
|
- app/views/spree/admin/gtpay_transactions/_search_form.html.erb
|
79
73
|
- app/views/spree/admin/gtpay_transactions/index.html.erb
|
80
74
|
- app/views/spree/admin/gtpay_transactions/query_interface.js.erb
|
81
|
-
- app/views/spree/checkout/confirm.html.erb
|
82
|
-
- app/views/spree/checkout/payment/_gateway.html.erb
|
83
|
-
- app/views/spree/gtpay_transactions/index.html.erb
|
84
75
|
- app/views/spree/transaction_notification_mailer/send_mail.html.erb
|
85
|
-
-
|
86
|
-
- config/locales/en.yml
|
76
|
+
- app/helpers/spree/admin/base_helper_decorator.rb
|
87
77
|
- config/routes.rb
|
78
|
+
- config/locales/en.yml
|
79
|
+
- config/initializers/constants.rb
|
88
80
|
- lib/generators/spree_gtpay/install/install_generator.rb
|
81
|
+
- lib/webpay_methods.rb
|
82
|
+
- lib/spree_gtpay.rb
|
89
83
|
- lib/spree_gtpay/engine.rb
|
90
84
|
- lib/spree_gtpay/factories.rb
|
91
|
-
- lib/spree_gtpay.rb
|
92
|
-
- lib/webpay_methods.rb
|
93
85
|
- db/migrate/20140117061910_gtpay_transaction.rb
|
94
|
-
homepage: http://
|
95
|
-
licenses:
|
86
|
+
homepage: http://vinsol.com
|
87
|
+
licenses:
|
96
88
|
- MIT
|
97
89
|
post_install_message:
|
98
90
|
rdoc_options: []
|
99
|
-
|
100
|
-
require_paths:
|
91
|
+
require_paths:
|
101
92
|
- lib
|
102
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
93
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
103
94
|
none: false
|
104
|
-
requirements:
|
105
|
-
- -
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
hash: 53
|
108
|
-
segments:
|
109
|
-
- 1
|
110
|
-
- 9
|
111
|
-
- 3
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
112
98
|
version: 1.9.3
|
113
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
100
|
none: false
|
115
|
-
requirements:
|
116
|
-
- -
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
|
119
|
-
|
120
|
-
- 0
|
121
|
-
version: "0"
|
122
|
-
requirements:
|
101
|
+
requirements:
|
102
|
+
- - ! '>='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
requirements:
|
123
106
|
- none
|
124
107
|
rubyforge_project:
|
125
|
-
rubygems_version: 1.8.
|
108
|
+
rubygems_version: 1.8.25
|
126
109
|
signing_key:
|
127
110
|
specification_version: 3
|
128
111
|
summary: GTPay gateway
|
129
112
|
test_files: []
|
130
|
-
|