tanga_activemerchant 1.38.0.2 → 1.38.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: 1546df1c7784f6179eb33719cd045df1dfd0d470
4
- data.tar.gz: 9a7975ed3cdc3918f0787fba306f442c1ce67c43
3
+ metadata.gz: 91f4ed3b5367566a5f0953688d02f7b683027d14
4
+ data.tar.gz: dbfa1a112bfdaa3ace38cf9e37d20b1303555a87
5
5
  SHA512:
6
- metadata.gz: 9387fdd0045cd96006e71682aa3ab313e25fd55062b6595c1b3ae473b781ece6a79ae0650eceb59bb6b1ca5be37ac1e74a8d706c8be0cf55bf21f5dc5c724b05
7
- data.tar.gz: 2d5794432a77d347c6b5444572b84454bc6021d3b4bbaa75223fffe9547bfbda62d0cbe0198607d806c026c64b11495edf0fa848680f900928f7ce169330dd44
6
+ metadata.gz: c98a42f85caf21ec5ca996028655809a2128ae04ee712f80e82dfd0da40b058d45ce73920655cbff5d3935f033742858a9eda8166a927929fdde817a7da1dd17
7
+ data.tar.gz: 3b5f4c39f6b4575efb5b44d9072a9e799eb3087dd6af017dc6a5d09fc6bf7904f64e4945085af555952feec29247ddc90c8f3133fc6c57c592370e7ceca11e72
@@ -841,7 +841,14 @@ module ActiveMerchant #:nodoc:
841
841
 
842
842
  response_params = parse(action, xml)
843
843
 
844
- message = response_params['messages']['message']['text']
844
+ message = nil
845
+ begin
846
+ message = response_params['messages']['message']['text']
847
+ rescue TypeError => e
848
+ TangaServices.logger.error(service: 'authnet', alert_tanga_devs: true, authnet_response: xml.to_s, exception: e.message)
849
+ raise
850
+ end
851
+
845
852
  test_mode = test? || message =~ /Test Mode/
846
853
  success = response_params['messages']['result_code'] == 'Ok'
847
854
  response_params['direct_response'] = parse_direct_response(response_params['direct_response']) if response_params['direct_response']
@@ -1,3 +1,3 @@
1
1
  module ActiveMerchant
2
- VERSION = "1.38.0.2"
2
+ VERSION = "1.38.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tanga_activemerchant
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.38.0.2
4
+ version: 1.38.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Luetke
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
11
  - gem-public_cert.pem
12
- date: 2016-04-21 00:00:00.000000000 Z
12
+ date: 2016-10-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -510,7 +510,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
510
510
  version: '0'
511
511
  requirements: []
512
512
  rubyforge_project: activemerchant
513
- rubygems_version: 2.4.5.1
513
+ rubygems_version: 2.5.1
514
514
  signing_key:
515
515
  specification_version: 4
516
516
  summary: Framework and tools for dealing with credit card transactions.