activemerchant 1.39.1 → 1.39.2
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/CHANGELOG +4 -0
- data/lib/active_merchant/billing/gateways/eway_rapid.rb +4 -5
- data/lib/active_merchant/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +2 -2
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG
CHANGED
@@ -129,7 +129,7 @@ module ActiveMerchant #:nodoc:
|
|
129
129
|
}
|
130
130
|
add_credit_card(post, payment_method)
|
131
131
|
|
132
|
-
commit_form(endpoint, build_form_request(post))
|
132
|
+
commit_form(endpoint, build_form_request(post), :identification => identification)
|
133
133
|
end
|
134
134
|
|
135
135
|
def add_metadata(doc, options)
|
@@ -228,14 +228,13 @@ module ActiveMerchant #:nodoc:
|
|
228
228
|
return EwayRapidResponse.new(false, e.response.message, {:status_code => e.response.code}, :test => test?)
|
229
229
|
end
|
230
230
|
|
231
|
-
def commit_form(url, request)
|
231
|
+
def commit_form(url, request, parameters)
|
232
232
|
http_response = raw_ssl_request(:post, url, request)
|
233
233
|
|
234
234
|
success = (http_response.code.to_s == "302")
|
235
235
|
message = (success ? "Succeeded" : http_response.body)
|
236
|
-
if success
|
237
|
-
|
238
|
-
end
|
236
|
+
authorization = parameters[:identification] if success
|
237
|
+
|
239
238
|
Response.new(success, message, {:location => http_response["Location"]}, :authorization => authorization, :test => test?)
|
240
239
|
end
|
241
240
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activemerchant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.39.
|
4
|
+
version: 1.39.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -37,7 +37,7 @@ cert_chain:
|
|
37
37
|
Z1BvU1BxN25rK3MyRlFVQko5VVpGSzFsZ016aG8vNGZaZ3pKd2J1K2NPOFNO
|
38
38
|
dWFMUy9iagpoUGFTVHlWVTB5Q1Nudz09Ci0tLS0tRU5EIENFUlRJRklDQVRF
|
39
39
|
LS0tLS0K
|
40
|
-
date: 2013-10-
|
40
|
+
date: 2013-10-10 00:00:00.000000000 Z
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: activesupport
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
W!���S�UDM^O�
|
2
|
+
Tp�^����_����i~������ʐ�RjS���ǝ��<z�cN;���y�ţ��b.e�|�����9���&�
|