activemerchant 1.12.0 → 1.12.1
Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig
CHANGED
@@ -1,3 +1 @@
|
|
1
|
-
|
2
|
-
(����=y1++�c�rP������>�X��!cADd�1`F@v��w�!�m���pX�b�R�>F�X���jB���P
|
3
|
-
�1ϗ<U�CaT#_����艓�?oOY��a�X-/m��R1|��R���i��6�x�o�I\��@��2MD-�� ���٤c!��.��.��2��ӊYEU
|
1
|
+
��.5q��JMk�W��\E�P��z��v���ou�f96��mOS?���X��b����@�����"~J�"�b҆3(U����5,�-$��/9��/�9�����$���f���}opN�n�����Kz�^C^�A<Yb�#�i��r�%�/��T_H�9�a����7c���;T9f g+a�.V����}[�ஏ� G��"ٳO�~ �;����oh�m���S�&^�Ѹ!݀�)��ܘ��!
|
data/CHANGELOG
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
= ActiveMerchant CHANGELOG
|
2
2
|
|
3
|
+
== Version 1.12.1 (Mar 21, 2011)
|
4
|
+
|
5
|
+
* Ogone: Make sure response.params is a real Hash [Soleone]
|
6
|
+
* WorldPay: Fix service_url in production mode [Soleone]
|
7
|
+
|
3
8
|
== Version 1.12.0 (Mar 1, 2011)
|
4
9
|
|
5
10
|
* DirecPay: Send phone number as mobile phone by default [Soleone]
|
@@ -221,7 +221,7 @@ module ActiveMerchant #:nodoc:
|
|
221
221
|
|
222
222
|
def parse(body)
|
223
223
|
xml = REXML::Document.new(body)
|
224
|
-
xml.root.attributes
|
224
|
+
convert_attributes_to_hash(xml.root.attributes)
|
225
225
|
end
|
226
226
|
|
227
227
|
def commit(action, parameters)
|
@@ -274,6 +274,13 @@ module ActiveMerchant #:nodoc:
|
|
274
274
|
post[key] = value if !value.blank? || options[:required]
|
275
275
|
end
|
276
276
|
|
277
|
+
def convert_attributes_to_hash(rexml_attributes)
|
278
|
+
response_hash = {}
|
279
|
+
rexml_attributes.each do |key, value|
|
280
|
+
response_hash[key] = value
|
281
|
+
end
|
282
|
+
response_hash
|
283
|
+
end
|
277
284
|
end
|
278
285
|
end
|
279
286
|
end
|
@@ -6,8 +6,8 @@ module ActiveMerchant #:nodoc:
|
|
6
6
|
module Integrations #:nodoc:
|
7
7
|
module WorldPay
|
8
8
|
|
9
|
-
mattr_accessor :
|
10
|
-
self.
|
9
|
+
mattr_accessor :production_url
|
10
|
+
self.production_url = 'https://select.worldpay.com/wcc/purchase'
|
11
11
|
|
12
12
|
mattr_accessor :test_url
|
13
13
|
self.test_url = 'https://select-test.worldpay.com/wcc/purchase'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activemerchant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 37
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 12
|
9
|
-
-
|
10
|
-
version: 1.12.
|
9
|
+
- 1
|
10
|
+
version: 1.12.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tobias Luetke
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
hPaSTyVU0yCSnw==
|
37
37
|
-----END CERTIFICATE-----
|
38
38
|
|
39
|
-
date: 2011-03-
|
39
|
+
date: 2011-03-21 00:00:00 +01:00
|
40
40
|
default_executable:
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
metadata.gz.sig
CHANGED
Binary file
|