authorize_net 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/authorize_net/transaction.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25131b6aba3bdd77249b7c79294ae7a0016cba76
|
4
|
+
data.tar.gz: 1a66aeec86f8ff7e6f2396ece8f27b1034fad314
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33541d2b9b109398bfecbdc1635b5362a4dcb347bcfca77a6ce876dcce587ca916e2dce93208117489bedd0bf2be77789a97c43d07976c1057c6b10d7deb300f
|
7
|
+
data.tar.gz: 6cf8ec0d218442015876e7ee7fc8d70be1d2871646b446308789aad7d00e7a40aeb3a40abb9e30d6831068cfe12fd72b667d1408b5bf9cb1060103498690b164
|
@@ -39,7 +39,11 @@ class AuthorizeNet::Transaction < AuthorizeNet::DataObject
|
|
39
39
|
def parse(xml)
|
40
40
|
super
|
41
41
|
|
42
|
-
|
42
|
+
merchant_id = AuthorizeNet::Util.getXmlValue(xml, 'customer id')
|
43
|
+
if !merchant_id.nil?
|
44
|
+
@customer_profile ||= AuthorizeNet::CustomerProfile.new
|
45
|
+
@customer_profile.merchant_id = merchant_id
|
46
|
+
end
|
43
47
|
end
|
44
48
|
|
45
49
|
end
|