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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61c03727b2b4ca4c5cf14196c5c19e63727ea86a
4
- data.tar.gz: 02322a12b0f2ae84ba58d53a7ecfa32f98b55fb6
3
+ metadata.gz: 25131b6aba3bdd77249b7c79294ae7a0016cba76
4
+ data.tar.gz: 1a66aeec86f8ff7e6f2396ece8f27b1034fad314
5
5
  SHA512:
6
- metadata.gz: 0cd151c20ea0de92c4bab24e989ba8597ad8ce412753aca5c860bbbad3e117905a0869d7b11110b0204fbb39e9daf8bc50e25ceb4e998c85e3f155aad8c4daca
7
- data.tar.gz: ba638b856acb17cb8db02dff6ac07268b8d0a07c420b2e899018bd10e23aa04c9cd0c943c6a3aad064b18ea2196334a035960bf2b61f6fdbad2ed7d2f85e04c2
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
- @customer_profile.merchant_id = AuthorizeNet::Util.getXmlValue(xml, 'customer id')
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authorize_net
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Avenir Interactive LLC