{"action":"created","issue":{"url":"https://api.github.com/repos/activemerchant/active_merchant/issues/2058","repository_url":"https://api.github.com/repos/activemerchant/active_merchant","labels_url":"https://api.github.com/repos/activemerchant/active_merchant/issues/2058/labels{/name}","comments_url":"https://api.github.com/repos/activemerchant/active_merchant/issues/2058/comments","events_url":"https://api.github.com/repos/activemerchant/active_merchant/issues/2058/events","html_url":"https://github.com/activemerchant/active_merchant/issues/2058","id":146353546,"number":2058,"title":"VisaNet Peru exception","user":{"login":"rwdaigle","id":1012,"avatar_url":"https://avatars.githubusercontent.com/u/1012?v=3","gravatar_id":"","url":"https://api.github.com/users/rwdaigle","html_url":"https://github.com/rwdaigle","followers_url":"https://api.github.com/users/rwdaigle/followers","following_url":"https://api.github.com/users/rwdaigle/following{/other_user}","gists_url":"https://api.github.com/users/rwdaigle/gists{/gist_id}","starred_url":"https://api.github.com/users/rwdaigle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwdaigle/subscriptions","organizations_url":"https://api.github.com/users/rwdaigle/orgs","repos_url":"https://api.github.com/users/rwdaigle/repos","events_url":"https://api.github.com/users/rwdaigle/events{/privacy}","received_events_url":"https://api.github.com/users/rwdaigle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"rwdaigle","id":1012,"avatar_url":"https://avatars.githubusercontent.com/u/1012?v=3","gravatar_id":"","url":"https://api.github.com/users/rwdaigle","html_url":"https://github.com/rwdaigle","followers_url":"https://api.github.com/users/rwdaigle/followers","following_url":"https://api.github.com/users/rwdaigle/following{/other_user}","gists_url":"https://api.github.com/users/rwdaigle/gists{/gist_id}","starred_url":"https://api.github.com/users/rwdaigle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwdaigle/subscriptions","organizations_url":"https://api.github.com/users/rwdaigle/orgs","repos_url":"https://api.github.com/users/rwdaigle/repos","events_url":"https://api.github.com/users/rwdaigle/events{/privacy}","received_events_url":"https://api.github.com/users/rwdaigle/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2016-04-06T15:38:53Z","updated_at":"2016-04-07T20:33:01Z","closed_at":null,"body":"@shasum you're probably best positioned to look into this? Not sure under what circumstance the merchant id is not being returned?\r\n\r\n```\r\n#<TypeError: no implicit conversion of nil into String>\r\n\r\n/srv/core/current/vendor/bundle/ruby/2.1.0/bundler/gems/active_merchant-fc32c3ca8d6a/lib/active_merchant/billing/gateways/visanet_peru.rb:155:in `+'\r\n/srv/core/current/vendor/bundle/ruby/2.1.0/bundler/gems/active_merchant-fc32c3ca8d6a/lib/active_merchant/billing/gateways/visanet_peru.rb:155:in `url'\r\n/srv/core/current/vendor/bundle/ruby/2.1.0/bundler/gems/active_merchant-fc32c3ca8d6a/lib/active_merchant/billing/gateways/visanet_peru.rb:127:in `commit'\r\n/srv/core/current/vendor/bundle/ruby/2.1.0/bundler/gems/active_merchant-fc32c3ca8d6a/lib/active_merchant/billing/gateways/visanet_peru.rb:38:in `authorize'\r\n/srv/core/current/vendor/bundle/ruby/2.1.0/bundler/gems/active_merchant-fc32c3ca8d6a/lib/active_merchant/billing/gateways/visanet_peru.rb:22:in `block (2 levels) in purchase'\r\n/srv/core/current/vendor/bundle/ruby/2.1.0/bundler/gems/active_merchant-fc32c3ca8d6a/lib/active_merchant/billing/response.rb:59:in `process'\r\n```"},"comment":{"url":"https://api.github.com/repos/activemerchant/active_merchant/issues/comments/207077263","html_url":"https://github.com/activemerchant/active_merchant/issues/2058#issuecomment-207077263","issue_url":"https://api.github.com/repos/activemerchant/active_merchant/issues/2058","id":207077263,"user":{"login":"rwdaigle","id":1012,"avatar_url":"https://avatars.githubusercontent.com/u/1012?v=3","gravatar_id":"","url":"https://api.github.com/users/rwdaigle","html_url":"https://github.com/rwdaigle","followers_url":"https://api.github.com/users/rwdaigle/followers","following_url":"https://api.github.com/users/rwdaigle/following{/other_user}","gists_url":"https://api.github.com/users/rwdaigle/gists{/gist_id}","starred_url":"https://api.github.com/users/rwdaigle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwdaigle/subscriptions","organizations_url":"https://api.github.com/users/rwdaigle/orgs","repos_url":"https://api.github.com/users/rwdaigle/repos","events_url":"https://api.github.com/users/rwdaigle/events{/privacy}","received_events_url":"https://api.github.com/users/rwdaigle/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T20:33:01Z","updated_at":"2016-04-07T20:33:01Z","body":"> we're stripping out bad characters from passed in order_id's\r\n\r\nUgh, that seems bad, no? Chances of collision are high - and changing data seems much worse than creating new data. Is that really a pattern we want to propagate? "}}