prismpay 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/prismpay.rb +8 -621
- data/lib/{ReportingService.xml → prismpay/ReportingService.xml} +0 -0
- data/lib/{TransactionService.xml → prismpay/TransactionService.xml} +710 -408
- data/lib/{prism_credit_response.rb → prismpay/prism_credit_response.rb} +0 -0
- data/lib/prismpay/prismpay.rb +620 -0
- data/lib/{prismpay_am.rb → prismpay/prismpay_am.rb} +3 -6
- data/lib/{prismpay_reports.rb → prismpay/prismpay_reports.rb} +0 -7
- data/lib/{version.rb → prismpay/version.rb} +2 -2
- data/lib/{webpay.rb → prismpay/webpay.rb} +0 -4
- data/lib/{webpay.yaml → prismpay/webpay.yaml} +0 -0
- data/spec/webpay_spec.rb +1 -1
- metadata +15 -14
@@ -1,6 +1,3 @@
|
|
1
|
-
require 'activemerchant'
|
2
|
-
require 'prismpay'
|
3
|
-
|
4
1
|
module ActiveMerchant
|
5
2
|
module Billing
|
6
3
|
|
@@ -23,18 +20,18 @@ module ActiveMerchant
|
|
23
20
|
|
24
21
|
# Transactions
|
25
22
|
def check_purchase(amount, check, options = {})
|
26
|
-
result = @gateway.
|
23
|
+
result = @gateway.ach_sale(amount, check, options)
|
27
24
|
result.active_merchant_response
|
28
25
|
end
|
29
26
|
|
30
27
|
def check_void(identification, pp_txn_id, options = {})
|
31
|
-
result = @gateway.
|
28
|
+
result = @gateway.ach_void(identification, pp_txn_id, options)
|
32
29
|
result.active_merchant_response
|
33
30
|
end
|
34
31
|
|
35
32
|
def check_refund(amount, identification, pp_txn_id, options = {})
|
36
33
|
|
37
|
-
result = @gateway.
|
34
|
+
result = @gateway.ach_refund(amount, identification,
|
38
35
|
pp_txn_id, options)
|
39
36
|
|
40
37
|
result.active_merchant_response
|
File without changes
|
data/spec/webpay_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prismpay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemerchant
|
16
|
-
requirement: &
|
16
|
+
requirement: &70127631180920 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - =
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.20.4
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70127631180920
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: savon
|
27
|
-
requirement: &
|
27
|
+
requirement: &70127631180160 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 1.0.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70127631180160
|
36
36
|
description: Provide an interface to Prismpay web services, and creates an ActiveMerchant
|
37
37
|
wrapper for PrismPay web services
|
38
38
|
email: rnash@tnsolutions.com
|
@@ -40,15 +40,16 @@ executables: []
|
|
40
40
|
extensions: []
|
41
41
|
extra_rdoc_files: []
|
42
42
|
files:
|
43
|
-
- lib/prism_credit_response.rb
|
43
|
+
- lib/prismpay/prism_credit_response.rb
|
44
|
+
- lib/prismpay/prismpay.rb
|
45
|
+
- lib/prismpay/prismpay_am.rb
|
46
|
+
- lib/prismpay/prismpay_reports.rb
|
47
|
+
- lib/prismpay/ReportingService.xml
|
48
|
+
- lib/prismpay/TransactionService.xml
|
49
|
+
- lib/prismpay/version.rb
|
50
|
+
- lib/prismpay/webpay.rb
|
51
|
+
- lib/prismpay/webpay.yaml
|
44
52
|
- lib/prismpay.rb
|
45
|
-
- lib/prismpay_am.rb
|
46
|
-
- lib/prismpay_reports.rb
|
47
|
-
- lib/ReportingService.xml
|
48
|
-
- lib/TransactionService.xml
|
49
|
-
- lib/version.rb
|
50
|
-
- lib/webpay.rb
|
51
|
-
- lib/webpay.yaml
|
52
53
|
- README.md
|
53
54
|
- spec/prism_credit_response_spec.rb
|
54
55
|
- spec/prismpay_spec.rb
|