prismpay 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/prismpay.rb +5 -5
- metadata +1 -1
data/lib/prismpay.rb
CHANGED
@@ -66,7 +66,7 @@ module PrismPay
|
|
66
66
|
# need to merge the gateway instance options with the options
|
67
67
|
|
68
68
|
response = @client.request :process_cc_sale do
|
69
|
-
http.auth.ssl.verify_mode :none
|
69
|
+
http.auth.ssl.verify_mode = :none
|
70
70
|
soap.body &build_cc_sale_auth(amount, creditcard, options)
|
71
71
|
end
|
72
72
|
|
@@ -78,7 +78,7 @@ module PrismPay
|
|
78
78
|
def cc_authorize(amount, creditcard, options = {})
|
79
79
|
# reserve funds for future captures
|
80
80
|
response = @client.request :process_cc_auth do
|
81
|
-
http.auth.ssl.verify_mode :none
|
81
|
+
http.auth.ssl.verify_mode = :none
|
82
82
|
soap.body &build_cc_sale_auth(amount, creditcard, options)
|
83
83
|
end
|
84
84
|
|
@@ -92,7 +92,7 @@ module PrismPay
|
|
92
92
|
# making the call to the build methods
|
93
93
|
|
94
94
|
response = @client.request :process_cc_post do
|
95
|
-
http.auth.ssl.verify_mode :none
|
95
|
+
http.auth.ssl.verify_mode = :none
|
96
96
|
soap.body &build_cc_capture(amount, authorization, pp_txn_id, options)
|
97
97
|
end
|
98
98
|
|
@@ -103,7 +103,7 @@ module PrismPay
|
|
103
103
|
def cc_void(amount, identification, pp_txn_id, options = {})
|
104
104
|
# voids previous transactions
|
105
105
|
response = @client.request :process_cc_void do
|
106
|
-
http.auth.ssl.verify_mode :none
|
106
|
+
http.auth.ssl.verify_mode = :none
|
107
107
|
soap.body &build_cc_void(amount, identification, pp_txn_id, options)
|
108
108
|
end
|
109
109
|
|
@@ -114,7 +114,7 @@ module PrismPay
|
|
114
114
|
def credit(amount, identification, pp_txn_id, options = {})
|
115
115
|
# applies credit back against previous transaction
|
116
116
|
response = @client.request :process_credit do
|
117
|
-
http.auth.ssl.verify_mode :none
|
117
|
+
http.auth.ssl.verify_mode = :none
|
118
118
|
soap.body &build_credit(amount, identification, pp_txn_id, options)
|
119
119
|
end
|
120
120
|
|