bluepay 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4b8c60d7a7435833ded8a2dcb67bdc922ad753a
|
4
|
+
data.tar.gz: c50882b1f4839eb2940bebdcb438fff5d5e7bdda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56176030b8a91a4941f475bcf854d6932cf7b0fd565037b22f31f8bcedbe8a37ba2285f44fefb224ac481cf8f9be27a6763ae535d7f5a0f8fa313a244df39fb4
|
7
|
+
data.tar.gz: 976a8df2dbe71fd7079f2dbab60991bbfc791a494d77427092e0d872d412ea0065e04fdf636da3ae19b30f609e11427403a69fbd77a908f4ec0f473e5e65b26d
|
data/bluepay.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'bluepay'
|
3
|
-
s.version = '1.0.
|
4
|
-
s.date = '2016-
|
3
|
+
s.version = '1.0.6'
|
4
|
+
s.date = '2016-11-15'
|
5
5
|
s.summary = "BluePay gateway rubygem"
|
6
6
|
s.description = "This gem is intended to be used along with a BluePay gateway account to process credit card and ACH transactions"
|
7
7
|
s.authors = ["Justin Slingerland, Susan Schmidt"]
|
data/lib/api_request.rb
CHANGED
@@ -121,10 +121,14 @@ class BluePay
|
|
121
121
|
else
|
122
122
|
response = headers.body
|
123
123
|
end
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
124
|
+
if path == "/interfaces/bpdailyreport2"
|
125
|
+
response
|
126
|
+
else
|
127
|
+
response.split("&").each do |pair|
|
128
|
+
(key, val) = pair.split("=")
|
129
|
+
val = "" if val == nil
|
130
|
+
@RESPONSE_HASH[URI.unescape(key)] = URI.unescape(val)
|
131
|
+
end
|
128
132
|
end
|
129
133
|
end
|
130
|
-
end
|
134
|
+
end
|
@@ -27,8 +27,5 @@ report.get_settled_transaction_report(
|
|
27
27
|
exclude_errors: '1' # Do not include errored transactions? Yes
|
28
28
|
)
|
29
29
|
|
30
|
-
# Makes the API request with BluePay
|
31
|
-
report.process
|
32
|
-
|
33
|
-
# Reads the response from BluePay
|
34
|
-
puts report.get_response
|
30
|
+
# Makes the API request with BluePay and returns response
|
31
|
+
puts report.process
|
@@ -26,8 +26,5 @@ report.get_transaction_report(
|
|
26
26
|
exclude_errors: '1' # Do not include errored transactions? Yes
|
27
27
|
)
|
28
28
|
|
29
|
-
# Makes the API request with BluePay
|
30
|
-
report.process
|
31
|
-
|
32
|
-
# Reads the response from BluePay
|
33
|
-
puts report.get_response
|
29
|
+
# Makes the API request with BluePay and returns response
|
30
|
+
puts report.process
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bluepay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Slingerland, Susan Schmidt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This gem is intended to be used along with a BluePay gateway account
|
14
14
|
to process credit card and ACH transactions
|
@@ -17,15 +17,12 @@ executables: []
|
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
|
-
- README
|
21
|
-
- Rakefile
|
22
|
-
- bluepay.gemspec
|
23
20
|
- lib/api_request.rb
|
24
21
|
- lib/api_response.rb
|
25
22
|
- lib/bluepay.rb
|
26
23
|
- lib/cacert.pem
|
27
24
|
- test/Get_Data/Retrieve_Settlement_Data.rb
|
28
|
-
- test/Get_Data/
|
25
|
+
- test/Get_Data/retrieve_transaction_data.rb
|
29
26
|
- test/Get_Data/Single_Transaction_Query.rb
|
30
27
|
- test/Get_Data/Transaction_Notification.rb
|
31
28
|
- test/Rebill/Cancel_Recurring_Payment.rb
|
@@ -33,15 +30,18 @@ files:
|
|
33
30
|
- test/Rebill/Create_Recurring_Payment_CC.rb
|
34
31
|
- test/Rebill/Get_Recurring_Payment_Status.rb
|
35
32
|
- test/Rebill/Update_Recurring_Payment.rb
|
36
|
-
- test/Transactions/CHarge_Customer_CC.rb
|
37
33
|
- test/Transactions/Cancel_Transaction.rb
|
38
34
|
- test/Transactions/Charge_Customer_ACH.rb
|
35
|
+
- test/Transactions/CHarge_Customer_CC.rb
|
39
36
|
- test/Transactions/Check_Customer_Credit.rb
|
40
37
|
- test/Transactions/Customer_Defined_Data.rb
|
41
38
|
- test/Transactions/How_To_Use_Token.rb
|
42
39
|
- test/Transactions/Return_Funds.rb
|
43
40
|
- test/Transactions/Store_Payment_Information.rb
|
44
41
|
- test/Transactions/Swipe.rb
|
42
|
+
- bluepay.gemspec
|
43
|
+
- Rakefile
|
44
|
+
- README
|
45
45
|
homepage: http://www.bluepay.com
|
46
46
|
licenses:
|
47
47
|
- GPL
|
@@ -62,9 +62,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
64
|
rubyforge_project:
|
65
|
-
rubygems_version: 2.
|
65
|
+
rubygems_version: 2.0.14.1
|
66
66
|
signing_key:
|
67
67
|
specification_version: 4
|
68
68
|
summary: BluePay gateway rubygem
|
69
69
|
test_files: []
|
70
|
-
has_rdoc: true
|