{"action":"opened","issue":{"url":"https://api.github.com/repos/singingfish/braintree_perl/issues/27","repository_url":"https://api.github.com/repos/singingfish/braintree_perl","labels_url":"https://api.github.com/repos/singingfish/braintree_perl/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/singingfish/braintree_perl/issues/27/comments","events_url":"https://api.github.com/repos/singingfish/braintree_perl/issues/27/events","html_url":"https://github.com/singingfish/braintree_perl/issues/27","id":328701592,"node_id":"MDU6SXNzdWUzMjg3MDE1OTI=","number":27,"title":"Transaction->submit_for_settlement broken by validation added in 1.3","user":{"login":"ssimms","id":566290,"node_id":"MDQ6VXNlcjU2NjI5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/566290?v=4","gravatar_id":"","url":"https://api.github.com/users/ssimms","html_url":"https://github.com/ssimms","followers_url":"https://api.github.com/users/ssimms/followers","following_url":"https://api.github.com/users/ssimms/following{/other_user}","gists_url":"https://api.github.com/users/ssimms/gists{/gist_id}","starred_url":"https://api.github.com/users/ssimms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssimms/subscriptions","organizations_url":"https://api.github.com/users/ssimms/orgs","repos_url":"https://api.github.com/users/ssimms/repos","events_url":"https://api.github.com/users/ssimms/events{/privacy}","received_events_url":"https://api.github.com/users/ssimms/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-02T01:39:41Z","updated_at":"2018-06-02T01:39:41Z","closed_at":null,"author_association":"NONE","body":"I'm getting an ArgumentError when calling:\r\n\r\n`WebService::Braintree::Transaction->submit_for_settlement($order_id, $amount);`\r\n\r\nThe code in that module sets `$params->{'amount'}` to `$amount`, and then calls the equivalently-named method in WebService::Braintree::TransactionGateway.  That method has a new verify_params call that doesn't have \"amount\" on its whitelist, which appears to be causing the failure.\r\n\r\nOn a related note, all three of submit_for_settlement, update_details, and submit_for_partial_settlement have \"description\" in their whitelist, whereas Braintree appears to be expecting \"descriptor\" (based on looking at the API docs and the equivalent Ruby gem -- I haven't actually tried using these fields)."}}
{"actor":{"display_login":"ssimms"}}