geti 1.8.0 → 1.8.1

Sign up to get free protection for your applications and to get access to all the features.
File without changes
@@ -0,0 +1,12 @@
1
+ === 1.8.1 / 2013-03-26
2
+
3
+ * 1 minor enhancement
4
+
5
+ * Built gem with Hoe
6
+
7
+ === 1.8.0 / 2013-03-19
8
+
9
+ * 1 major enhancement
10
+
11
+ * Previous Release via Jeweler
12
+
@@ -0,0 +1,16 @@
1
+ History.txt
2
+ Manifest.txt
3
+ README.rdoc
4
+ Rakefile
5
+ lib/geti.rb
6
+ lib/geti/app_client.rb
7
+ lib/geti/auth_client.rb
8
+ lib/geti/client.rb
9
+ lib/geti/response.rb
10
+ lib/geti/terminal_settings.rb
11
+ spec/geti_app_client_spec.rb
12
+ spec/geti_auth_client_spec.rb
13
+ spec/helper.rb
14
+ spec/remote/geti_app_client_spec.rb
15
+ spec/remote/geti_auth_client_spec.rb
16
+ spec/remote/sample.pdf
@@ -1,12 +1,56 @@
1
1
  = geti
2
2
 
3
+ * https://github.com/versapay/geti
4
+
5
+ == DESCRIPTION:
6
+
3
7
  A middleware gem for interfacing with Global eTelecom's ACH processing service.
4
8
 
5
- == Running Specs
9
+ == FEATURES:
10
+
11
+ * Merchant Applications
12
+ * Transaction Processing
13
+
14
+ TODO:
15
+
16
+ Realtime transaction processing is currently limited to authorization. Merchant applications are more fully-featured.
17
+
18
+ == SYNOPSIS:
19
+
20
+ Merchant Application:
21
+
22
+ client = Geti::AppClient.new(credentials)
23
+ response = client.board_merchant_ach(merchant_params)
24
+
25
+ Transaction Processing
26
+
27
+ client = Geti::AuthClient.new(credentials, {:sec_code => 'WEB', :verify => []})
28
+ response = client.process({
29
+ :type => :authorize,
30
+ :amount => 1000,
31
+ :first_name => 'Bob',
32
+ :last_name => 'Smith',
33
+ :account_type => 'Checking',
34
+ :routing_number => routing_number(:authorization),
35
+ :account_number => '1234567890'
36
+ })
6
37
 
7
- Just run `rspec`. If you want to run the specs in the remote dir, you'll need to provide `config/test_credentials.yml` (an example file is present).
38
+ == REQUIREMENTS:
8
39
 
9
- == Contributing to geti
40
+ * API account from http://www.globaletelecom.com/
41
+
42
+ == INSTALL:
43
+
44
+ * bundle install
45
+
46
+ == DEVELOPERS:
47
+
48
+ After checking out the source, bundle to install gems, run specs with `rspec`.
49
+
50
+ If you want to run the specs in the remote dir, you'll need to provide
51
+ `config/test_credentials.yml` (an example file is present).
52
+
53
+ === Contributing
10
54
 
11
55
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
12
56
  * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
@@ -16,7 +60,27 @@ Just run `rspec`. If you want to run the specs in the remote dir, you'll need to
16
60
  * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
17
61
  * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
18
62
 
19
- == Copyright
63
+ == LICENSE:
64
+
65
+ (The MIT License)
66
+
67
+ Copyright (c) 2013 VersaPay Corporation
68
+
69
+ Permission is hereby granted, free of charge, to any person obtaining
70
+ a copy of this software and associated documentation files (the
71
+ "Software"), to deal in the Software without restriction, including
72
+ without limitation the rights to use, copy, modify, merge, publish,
73
+ distribute, sublicense, and/or sell copies of the Software, and to
74
+ permit persons to whom the Software is furnished to do so, subject to
75
+ the following conditions:
20
76
 
21
- Copyright (c) 2012 VersaPay Corp. See LICENSE.txt for further details.
77
+ The above copyright notice and this permission notice shall be
78
+ included in all copies or substantial portions of the Software.
22
79
 
80
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
81
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
82
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
83
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
84
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
85
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
86
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -1,47 +1,32 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require 'rubygems'
4
- require 'bundler'
5
- begin
6
- Bundler.setup(:default, :development)
7
- rescue Bundler::BundlerError => e
8
- $stderr.puts e.message
9
- $stderr.puts "Run `bundle install` to install missing gems"
10
- exit e.status_code
11
- end
12
- require 'rake'
4
+ require 'bundler/setup'
5
+ require "hoe"
13
6
 
14
- require 'jeweler'
15
- Jeweler::Tasks.new do |gem|
16
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
- gem.name = "geti"
18
- gem.homepage = "http://github.com/jamie/geti"
19
- gem.license = "MIT"
20
- gem.summary = %Q{API wrapper for GETI, an ACH provider}
21
- gem.description = %Q{API wrapper for GETI, an ACH provider}
22
- gem.email = "jamie@tracefunc.com"
23
- gem.authors = ["Jamie Macey"]
24
- gem.files.exclude "doc/*.pdf"
25
- # dependencies defined in Gemfile
26
- end
27
- Jeweler::RubygemsDotOrgTasks.new
7
+ Hoe.plugin :bundler
8
+ Hoe.plugin :git
9
+ Hoe.spec "geti" do
10
+ developer("Jamie Macey", "jamie@tracefunc.com")
11
+ license "MIT"
28
12
 
29
- require 'rcov/rcovtask'
30
- Rcov::RcovTask.new do |test|
31
- test.libs << 'test'
32
- test.pattern = 'test/**/test_*.rb'
33
- test.verbose = true
34
- test.rcov_opts << '--exclude "gems/*"'
35
- end
13
+ dependency 'savon', "~> 1.0"
14
+ dependency 'httpi', ">0"
15
+ dependency 'httpclient', ">0"
36
16
 
37
- task :default => :spec
17
+ # Development
18
+ dependency 'rake', "< 0.9", :dev
19
+ dependency 'bundler', '>0', :dev
20
+ dependency "hoe", '>0', :dev
21
+ dependency "hoe-bundler", '>0', :dev
22
+ dependency "hoe-git", '>0', :dev
38
23
 
39
- require 'rdoc/task'
40
- Rake::RDocTask.new do |rdoc|
41
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
42
-
43
- rdoc.rdoc_dir = 'rdoc'
44
- rdoc.title = "geti #{version}"
45
- rdoc.rdoc_files.include('README*')
46
- rdoc.rdoc_files.include('lib/**/*.rb')
24
+ # Test
25
+ dependency "rcov", '>0', :dev
26
+ dependency 'rspec', '>0', :dev
27
+ dependency 'guard', '>0', :dev
28
+ dependency 'guard-rspec', '>0', :dev
29
+ dependency 'rb-fsevent', '~> 0.9.1', :dev
47
30
  end
31
+
32
+ p Hoe.plugins
@@ -1,4 +1,6 @@
1
- module Geti; end
1
+ module Geti
2
+ VERSION = "1.8.1"
3
+ end
2
4
 
3
5
  require 'geti/client'
4
6
  require 'geti/auth_client'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geti
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
4
+ hash: 53
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 8
9
- - 0
10
- version: 1.8.0
9
+ - 1
10
+ version: 1.8.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jamie Macey
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-03-19 00:00:00 Z
18
+ date: 2013-03-26 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  requirement: &id001 !ruby/object:Gem::Requirement
@@ -36,7 +36,7 @@ dependencies:
36
36
  requirement: &id002 !ruby/object:Gem::Requirement
37
37
  none: false
38
38
  requirements:
39
- - - ">="
39
+ - - ">"
40
40
  - !ruby/object:Gem::Version
41
41
  hash: 3
42
42
  segments:
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirement: &id003 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
- - - ">="
53
+ - - ">"
54
54
  - !ruby/object:Gem::Version
55
55
  hash: 3
56
56
  segments:
@@ -62,6 +62,21 @@ dependencies:
62
62
  type: :runtime
63
63
  - !ruby/object:Gem::Dependency
64
64
  requirement: &id004 !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ hash: 19
70
+ segments:
71
+ - 3
72
+ - 10
73
+ version: "3.10"
74
+ version_requirements: *id004
75
+ name: rdoc
76
+ prerelease: false
77
+ type: :development
78
+ - !ruby/object:Gem::Dependency
79
+ requirement: &id005 !ruby/object:Gem::Requirement
65
80
  none: false
66
81
  requirements:
67
82
  - - <
@@ -71,78 +86,154 @@ dependencies:
71
86
  - 0
72
87
  - 9
73
88
  version: "0.9"
74
- version_requirements: *id004
89
+ version_requirements: *id005
75
90
  name: rake
76
91
  prerelease: false
77
92
  type: :development
78
93
  - !ruby/object:Gem::Dependency
79
- requirement: &id005 !ruby/object:Gem::Requirement
94
+ requirement: &id006 !ruby/object:Gem::Requirement
80
95
  none: false
81
96
  requirements:
82
- - - ">="
97
+ - - ">"
83
98
  - !ruby/object:Gem::Version
84
99
  hash: 3
85
100
  segments:
86
101
  - 0
87
102
  version: "0"
88
- version_requirements: *id005
103
+ version_requirements: *id006
89
104
  name: bundler
90
105
  prerelease: false
91
106
  type: :development
92
107
  - !ruby/object:Gem::Dependency
93
- requirement: &id006 !ruby/object:Gem::Requirement
108
+ requirement: &id007 !ruby/object:Gem::Requirement
94
109
  none: false
95
110
  requirements:
96
- - - ~>
111
+ - - ">"
97
112
  - !ruby/object:Gem::Version
98
- hash: 63
113
+ hash: 3
99
114
  segments:
100
- - 1
101
- - 8
102
- - 4
103
- version: 1.8.4
104
- version_requirements: *id006
105
- name: jeweler
115
+ - 0
116
+ version: "0"
117
+ version_requirements: *id007
118
+ name: hoe
106
119
  prerelease: false
107
120
  type: :development
108
121
  - !ruby/object:Gem::Dependency
109
- requirement: &id007 !ruby/object:Gem::Requirement
122
+ requirement: &id008 !ruby/object:Gem::Requirement
110
123
  none: false
111
124
  requirements:
112
- - - ">="
125
+ - - ">"
113
126
  - !ruby/object:Gem::Version
114
127
  hash: 3
115
128
  segments:
116
129
  - 0
117
130
  version: "0"
118
- version_requirements: *id007
131
+ version_requirements: *id008
132
+ name: hoe-bundler
133
+ prerelease: false
134
+ type: :development
135
+ - !ruby/object:Gem::Dependency
136
+ requirement: &id009 !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ">"
140
+ - !ruby/object:Gem::Version
141
+ hash: 3
142
+ segments:
143
+ - 0
144
+ version: "0"
145
+ version_requirements: *id009
146
+ name: hoe-git
147
+ prerelease: false
148
+ type: :development
149
+ - !ruby/object:Gem::Dependency
150
+ requirement: &id010 !ruby/object:Gem::Requirement
151
+ none: false
152
+ requirements:
153
+ - - ">"
154
+ - !ruby/object:Gem::Version
155
+ hash: 3
156
+ segments:
157
+ - 0
158
+ version: "0"
159
+ version_requirements: *id010
119
160
  name: rcov
120
161
  prerelease: false
121
162
  type: :development
122
- description: API wrapper for GETI, an ACH provider
123
- email: jamie@tracefunc.com
163
+ - !ruby/object:Gem::Dependency
164
+ requirement: &id011 !ruby/object:Gem::Requirement
165
+ none: false
166
+ requirements:
167
+ - - ">"
168
+ - !ruby/object:Gem::Version
169
+ hash: 3
170
+ segments:
171
+ - 0
172
+ version: "0"
173
+ version_requirements: *id011
174
+ name: rspec
175
+ prerelease: false
176
+ type: :development
177
+ - !ruby/object:Gem::Dependency
178
+ requirement: &id012 !ruby/object:Gem::Requirement
179
+ none: false
180
+ requirements:
181
+ - - ">"
182
+ - !ruby/object:Gem::Version
183
+ hash: 3
184
+ segments:
185
+ - 0
186
+ version: "0"
187
+ version_requirements: *id012
188
+ name: guard
189
+ prerelease: false
190
+ type: :development
191
+ - !ruby/object:Gem::Dependency
192
+ requirement: &id013 !ruby/object:Gem::Requirement
193
+ none: false
194
+ requirements:
195
+ - - ">"
196
+ - !ruby/object:Gem::Version
197
+ hash: 3
198
+ segments:
199
+ - 0
200
+ version: "0"
201
+ version_requirements: *id013
202
+ name: guard-rspec
203
+ prerelease: false
204
+ type: :development
205
+ - !ruby/object:Gem::Dependency
206
+ requirement: &id014 !ruby/object:Gem::Requirement
207
+ none: false
208
+ requirements:
209
+ - - ~>
210
+ - !ruby/object:Gem::Version
211
+ hash: 57
212
+ segments:
213
+ - 0
214
+ - 9
215
+ - 1
216
+ version: 0.9.1
217
+ version_requirements: *id014
218
+ name: rb-fsevent
219
+ prerelease: false
220
+ type: :development
221
+ description: A middleware gem for interfacing with Global eTelecom's ACH processing service.
222
+ email:
223
+ - jamie@tracefunc.com
124
224
  executables: []
125
225
 
126
226
  extensions: []
127
227
 
128
228
  extra_rdoc_files:
129
- - LICENSE.txt
229
+ - History.txt
230
+ - Manifest.txt
130
231
  - README.rdoc
131
232
  files:
132
- - .document
133
- - Gemfile
134
- - Gemfile.lock
135
- - Guardfile
136
- - LICENSE.txt
233
+ - History.txt
234
+ - Manifest.txt
137
235
  - README.rdoc
138
236
  - Rakefile
139
- - VERSION
140
- - certify.rb
141
- - config/test_credentials.yml.example
142
- - doc/.DS_Store
143
- - doc/implementation_notes.md
144
- - doc/readme.txt
145
- - geti.gemspec
146
237
  - lib/geti.rb
147
238
  - lib/geti/app_client.rb
148
239
  - lib/geti/auth_client.rb
@@ -155,12 +246,14 @@ files:
155
246
  - spec/remote/geti_app_client_spec.rb
156
247
  - spec/remote/geti_auth_client_spec.rb
157
248
  - spec/remote/sample.pdf
158
- homepage: http://github.com/jamie/geti
249
+ - .gemtest
250
+ homepage: https://github.com/versapay/geti
159
251
  licenses:
160
252
  - MIT
161
253
  post_install_message:
162
- rdoc_options: []
163
-
254
+ rdoc_options:
255
+ - --main
256
+ - README.rdoc
164
257
  require_paths:
165
258
  - lib
166
259
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -183,10 +276,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
276
  version: "0"
184
277
  requirements: []
185
278
 
186
- rubyforge_project:
279
+ rubyforge_project: geti
187
280
  rubygems_version: 1.8.24
188
281
  signing_key:
189
282
  specification_version: 3
190
- summary: API wrapper for GETI, an ACH provider
283
+ summary: A middleware gem for interfacing with Global eTelecom's ACH processing service.
191
284
  test_files: []
192
285
 
data/.document DELETED
@@ -1,5 +0,0 @@
1
- lib/**/*.rb
2
- bin/*
3
- -
4
- features/**/*.feature
5
- LICENSE.txt
data/Gemfile DELETED
@@ -1,20 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'savon', "~> 1.0"
4
- gem 'httpi'
5
- gem 'httpclient'
6
-
7
- group :development do
8
- gem 'rake', "< 0.9"
9
- gem "bundler"
10
- gem "jeweler", "~> 1.8.4"
11
- gem "rcov"
12
- end
13
-
14
- group :test do
15
- gem 'rspec'
16
- gem 'fuubar'
17
- gem 'guard'
18
- gem 'guard-rspec'
19
- gem 'rb-fsevent', '~> 0.9.1'
20
- end
@@ -1,90 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- akami (1.2.0)
5
- gyoku (>= 0.4.0)
6
- nokogiri (>= 1.4.0)
7
- builder (3.1.4)
8
- coderay (1.0.8)
9
- diff-lcs (1.1.3)
10
- fuubar (1.1.0)
11
- rspec (~> 2.0)
12
- rspec-instafail (~> 0.2.0)
13
- ruby-progressbar (~> 1.0.0)
14
- git (1.2.5)
15
- guard (1.6.2)
16
- listen (>= 0.6.0)
17
- lumberjack (>= 1.0.2)
18
- pry (>= 0.9.10)
19
- terminal-table (>= 1.4.3)
20
- thor (>= 0.14.6)
21
- guard-rspec (2.4.0)
22
- guard (>= 1.1)
23
- rspec (~> 2.11)
24
- gyoku (0.4.6)
25
- builder (>= 2.1.2)
26
- httpclient (2.3.2)
27
- httpi (1.1.1)
28
- rack
29
- jeweler (1.8.4)
30
- bundler (~> 1.0)
31
- git (>= 1.2.5)
32
- rake
33
- rdoc
34
- json (1.7.6)
35
- listen (0.7.2)
36
- lumberjack (1.0.2)
37
- method_source (0.8.1)
38
- nokogiri (1.5.6)
39
- nori (1.1.4)
40
- pry (0.9.11.4)
41
- coderay (~> 1.0.5)
42
- method_source (~> 0.8)
43
- slop (~> 3.4)
44
- rack (1.5.1)
45
- rake (0.8.7)
46
- rb-fsevent (0.9.3)
47
- rcov (1.0.0)
48
- rdoc (3.12.1)
49
- json (~> 1.4)
50
- rspec (2.12.0)
51
- rspec-core (~> 2.12.0)
52
- rspec-expectations (~> 2.12.0)
53
- rspec-mocks (~> 2.12.0)
54
- rspec-core (2.12.2)
55
- rspec-expectations (2.12.1)
56
- diff-lcs (~> 1.1.3)
57
- rspec-instafail (0.2.4)
58
- rspec-mocks (2.12.2)
59
- ruby-progressbar (1.0.2)
60
- savon (1.2.0)
61
- akami (~> 1.2.0)
62
- builder (>= 2.1.2)
63
- gyoku (~> 0.4.5)
64
- httpi (~> 1.1.0)
65
- nokogiri (>= 1.4.0)
66
- nori (~> 1.1.0)
67
- wasabi (~> 2.5.0)
68
- slop (3.4.3)
69
- terminal-table (1.4.5)
70
- thor (0.17.0)
71
- wasabi (2.5.1)
72
- httpi (~> 1.0)
73
- nokogiri (>= 1.4.0)
74
-
75
- PLATFORMS
76
- ruby
77
-
78
- DEPENDENCIES
79
- bundler
80
- fuubar
81
- guard
82
- guard-rspec
83
- httpclient
84
- httpi
85
- jeweler (~> 1.8.4)
86
- rake (< 0.9)
87
- rb-fsevent (~> 0.9.1)
88
- rcov
89
- rspec
90
- savon (~> 1.0)
data/Guardfile DELETED
@@ -1,4 +0,0 @@
1
- guard 'rspec', :all_after_pass => false, :all_on_start => false do
2
- watch(%r{^spec/.+_spec\.rb$})
3
- watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1].gsub('/','_')}_spec.rb" }
4
- end
@@ -1,20 +0,0 @@
1
- Copyright (c) 2012 VersaPay Corp
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.8.0
data/certify.rb DELETED
@@ -1,66 +0,0 @@
1
- $: << 'lib'
2
- require 'rubygems'
3
- require 'bundler/setup'
4
- require 'geti'
5
- require 'pp'
6
-
7
-
8
- def merchant_params
9
- { :id => 12345,
10
- :name => "ACH Merchant Cert",
11
- :industry => "Metal_Fabricators",
12
- :address => "123 Main St",
13
- :city => "Vancouver",
14
- :state => "WA",
15
- :zip => "10120",
16
- :phone => "5555551234",
17
- :business_type => "Corporation",
18
- :days_in_business => 404,
19
-
20
- :contact_name => 'George Jetson',
21
- :physical_address => "123 Main St",
22
- :physical_city => "Vancouver",
23
- :physical_state => "WA",
24
- :physical_zip => "10120",
25
- :physical_phone => "5555551234",
26
-
27
- :principal_first_name => "Carl",
28
- :principal_last_name => "Cogsley",
29
- :principal_title => 'President',
30
- :principal_address => "123 Main St",
31
- :principal_city => "Vancouver",
32
- :principal_state => "WA",
33
- :principal_zip => "10120",
34
- :principal_dob => "1965-04-28",
35
- :principal_ssn => '111222123',
36
-
37
- :average_amount => "4000",
38
- :max_amount => "7600",
39
-
40
- :taxpayer_name => "Carl Cogsley",
41
- :taxpayer_id => "123456789",
42
-
43
- :routing_number => "490000018",
44
- :account_number => "123456789",
45
- }
46
- end
47
-
48
- def test_credentials
49
- YAML.load(File.read('config/test_credentials.yml'))
50
- end
51
-
52
- client = Geti::AppClient.new(test_credentials)
53
-
54
- # Step 2: Create and board a new ACH merchant named “ACH Merchant Cert”. This merchant should have 1 Location and 1 Terminal.
55
- # Step 3: Email GETI the Merchant ID received for “ACH Merchant Cert”.
56
- #response = client.board_merchant_ach(merchant_params)
57
- id = '26'
58
-
59
- # Step 4: GETI will activate this merchant and email back when complete.
60
- # Step 5: Run “Retrieve Merchant Status” with the Merchant ID you received for “ACH Merchant Cert ” and email GETI the Location ID and Terminal ID.
61
- #response = client.retrieve_merchant_status(id)
62
-
63
- # Step 6: Upload a pdf to “ACH Merchant Cert” (this would be a signed merchant application in production) and email GETI when complete.
64
- #response = client.upload_supporting_docs(id, File.read('./spec/remote/sample.pdf'))
65
-
66
- pp response
@@ -1,6 +0,0 @@
1
- app:
2
- user: SomeUser
3
- pass: password
4
- auth:
5
- user: SomeUser
6
- pass: password
Binary file
@@ -1,29 +0,0 @@
1
- Notes received from Brooklynne Rukse <brukse@globaletelecom.com> (our
2
- technical contact) while planning for realtime integration.
3
-
4
- > > 14 Aug, "RE: GETI Authorization Gateway Integration & Documentation"
5
- >
6
- > The SEC code is not determined by the type of services you offer, it is determined by how you receive payment. Please let me know which of the following applies to your business.
7
- >
8
- > · PPD - Authorization is made in person and Merchant initiates transaction at a later time. A check is not present.
9
- > · CCD - Authorization is made between two companies to transfer funds.
10
- > · POP - Payment is made in person at the point of sale.
11
- > · TEL - Payment is made by phone or fax. A check is not present.
12
- > · WEB - Payment is made through the internet. A check is not present.
13
- >
14
- > The DL Requirement, Check Verification and Identity Verification are turned on or off for each merchant based on their risk. This is decided during merchant underwriting and is not determined by the gateway. For this reason you want to test against all terminal ids related to the transaction types you are processing.
15
-
16
- We're all online, so we'll be doing WEB. But, we should be handling all
17
- verification cases as that determination is not in Geti's hands.
18
-
19
- > > > 17 Aug, "RE: Certification Credentials for VersaPay"
20
- > >
21
- > > The api gives real time responses (Approved/Declined) immediately however the transactions are not processed until the next business day. Any file transactions that is submitted before Noon CST are processed the same day.
22
- >
23
- > [Jamie] Oh. So a transaction submitted Monday 8am via FTP goes through same day, but one submitted at the same time over SOAP isn't processed until Tuesday?
24
- >
25
- > > That is correct
26
-
27
- So doing batch file uploads will process (before noon) a day sooner or
28
- (after noon) at the same time. We don't have any expectations regarding
29
- realtime approval currently, so giving up on the realtime aspect makes sense.
@@ -1,28 +0,0 @@
1
- # This is incomplete software
2
-
3
- Done:
4
-
5
- - SOAP requests are all hooked up (authentication, xml format, etc)
6
- - Can make debug/info and authorize calls
7
- - Handles success/failure and exception responses
8
-
9
-
10
- To Do:
11
-
12
- - Parse response to decode bitfields
13
- - Make response wrapper useful to users of this library
14
- - Limit Exceeded/Manager Needed overrides
15
- - Confirm decline behaviour
16
- - Re-presented checks
17
- - Voids
18
- - Certification
19
- - Bundle into a gem
20
-
21
-
22
-
23
-
24
- ### Application Processing
25
-
26
- New Merchant Application XSD is https://demo.eftchecks.com/webservices/Schemas/App/NewMerchApp_ACH.xsd
27
-
28
- Sample data is https://demo.eftchecks.com/webservices/Schemas/App/Example/NewMerchAppSample_ACH.xml
@@ -1,83 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = "geti"
8
- s.version = "1.8.0"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Jamie Macey"]
12
- s.date = "2013-03-19"
13
- s.description = "API wrapper for GETI, an ACH provider"
14
- s.email = "jamie@tracefunc.com"
15
- s.extra_rdoc_files = [
16
- "LICENSE.txt",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".document",
21
- "Gemfile",
22
- "Gemfile.lock",
23
- "Guardfile",
24
- "LICENSE.txt",
25
- "README.rdoc",
26
- "Rakefile",
27
- "VERSION",
28
- "certify.rb",
29
- "config/test_credentials.yml.example",
30
- "doc/.DS_Store",
31
- "doc/implementation_notes.md",
32
- "doc/readme.txt",
33
- "geti.gemspec",
34
- "lib/geti.rb",
35
- "lib/geti/app_client.rb",
36
- "lib/geti/auth_client.rb",
37
- "lib/geti/client.rb",
38
- "lib/geti/response.rb",
39
- "lib/geti/terminal_settings.rb",
40
- "spec/geti_app_client_spec.rb",
41
- "spec/geti_auth_client_spec.rb",
42
- "spec/helper.rb",
43
- "spec/remote/geti_app_client_spec.rb",
44
- "spec/remote/geti_auth_client_spec.rb",
45
- "spec/remote/sample.pdf"
46
- ]
47
- s.homepage = "http://github.com/jamie/geti"
48
- s.licenses = ["MIT"]
49
- s.require_paths = ["lib"]
50
- s.rubygems_version = "1.8.24"
51
- s.summary = "API wrapper for GETI, an ACH provider"
52
-
53
- if s.respond_to? :specification_version then
54
- s.specification_version = 3
55
-
56
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
57
- s.add_runtime_dependency(%q<savon>, ["~> 1.0"])
58
- s.add_runtime_dependency(%q<httpi>, [">= 0"])
59
- s.add_runtime_dependency(%q<httpclient>, [">= 0"])
60
- s.add_development_dependency(%q<rake>, ["< 0.9"])
61
- s.add_development_dependency(%q<bundler>, [">= 0"])
62
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
63
- s.add_development_dependency(%q<rcov>, [">= 0"])
64
- else
65
- s.add_dependency(%q<savon>, ["~> 1.0"])
66
- s.add_dependency(%q<httpi>, [">= 0"])
67
- s.add_dependency(%q<httpclient>, [">= 0"])
68
- s.add_dependency(%q<rake>, ["< 0.9"])
69
- s.add_dependency(%q<bundler>, [">= 0"])
70
- s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
71
- s.add_dependency(%q<rcov>, [">= 0"])
72
- end
73
- else
74
- s.add_dependency(%q<savon>, ["~> 1.0"])
75
- s.add_dependency(%q<httpi>, [">= 0"])
76
- s.add_dependency(%q<httpclient>, [">= 0"])
77
- s.add_dependency(%q<rake>, ["< 0.9"])
78
- s.add_dependency(%q<bundler>, [">= 0"])
79
- s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
80
- s.add_dependency(%q<rcov>, [">= 0"])
81
- end
82
- end
83
-