{"action":"closed","issue":{"url":"https://api.github.com/repos/sharetribe/sharetribe/issues/2082","repository_url":"https://api.github.com/repos/sharetribe/sharetribe","labels_url":"https://api.github.com/repos/sharetribe/sharetribe/issues/2082/labels{/name}","comments_url":"https://api.github.com/repos/sharetribe/sharetribe/issues/2082/comments","events_url":"https://api.github.com/repos/sharetribe/sharetribe/issues/2082/events","html_url":"https://github.com/sharetribe/sharetribe/issues/2082","id":158272653,"number":2082,"title":"Help migrating to braintree payment gateway","user":{"login":"clehner","id":95347,"avatar_url":"https://avatars.githubusercontent.com/u/95347?v=3","gravatar_id":"","url":"https://api.github.com/users/clehner","html_url":"https://github.com/clehner","followers_url":"https://api.github.com/users/clehner/followers","following_url":"https://api.github.com/users/clehner/following{/other_user}","gists_url":"https://api.github.com/users/clehner/gists{/gist_id}","starred_url":"https://api.github.com/users/clehner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clehner/subscriptions","organizations_url":"https://api.github.com/users/clehner/orgs","repos_url":"https://api.github.com/users/clehner/repos","events_url":"https://api.github.com/users/clehner/events{/privacy}","received_events_url":"https://api.github.com/users/clehner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-03T01:16:05Z","updated_at":"2016-06-03T05:30:00Z","closed_at":"2016-06-03T05:30:00Z","body":"When I attempt to create a transaction I get an error:\r\n```\r\nJun 02 21:08:37 gsn bundle[11037]: {\"method\":\"GET\",\"path\":\"/en/transactions/new\",\"format\":\"html\",\"controller\":\"transactions\",\"action\":\"new\",\"status\":500,\"error\":\"ArgumentError: Cannot find new transaction path to listing_id: 238200, payment_gateway: , payment_process: {:id=>58167, :community_id=>18532, :author_is_seller=>true, :process=>:preauthorize}, booking: false\",\"duration\":108.05,\"view\":0.0,\"db\":30.42,\"params\":{\"utf8\":\"✓\",\"listing_id\":\"238200\",\"locale\":\"en\"},\"host\":\"gsn.celehner.com\",\"community_id\":18532,\"current_user_id\":\"qBFawj_sEwbV5sOZEh1IQQ\",\"request_uuid\":\"45da8ca0-d6ca-48fa-812f-f20fc509fa7f\"}\r\nJun 02 21:08:37 gsn bundle[11037]: ArgumentError (Cannot find new transaction path to listing_id: 238200, payment_gateway: , payment_process: {:id=>58167, :community_id=>18532, :author_is_seller=>true, :process=>:preauthorize}, booking: false):\r\nJun 02 21:08:37 gsn bundle[11037]: app/controllers/transactions_controller.rb:47:in `block in new'\r\nJun 02 21:08:37 gsn bundle[11037]: app/services/result.rb:52:in `on_success'\r\nJun 02 21:08:37 gsn bundle[11037]: app/controllers/transactions_controller.rb:29:in `new'\r\nJun 02 21:08:37 gsn bundle[11037]: lib/rack_middleware/custom_cookie_renamer.rb:11:in `call'\r\nJun 02 21:08:37 gsn bundle[11037]: {\"method\":\"GET\",\"path\":\"/500\",\"format\":\"html\",\"controller\":\"errors\",\"action\":\"server_error\",\"status\":500,\"duration\":89.87,\"view\":3.55,\"db\":1.34,\"params\":{\"utf8\":\"✓\",\"listing_id\":\"238200\",\"locale\":\"en\"},\"host\":null,\"community_id\":null,\"current_user_id\":null,\"request_uuid\":null}\r\n```\r\n\r\nrunning be726387f2ccae84e8d26557f9ddf9c5c3ed7560, production mode. debian testing.\r\n\r\nThe setup I did is basically as follows:\r\n\r\n1. Set up sharetribe according to the readme.\r\n1. Import SQL dump from hosted sharetribe.\r\n1. Insert row in `payment_gateways` with braintree sandbox credentials.\r\n1. Update payment method in `payment_settings` table to be `braintree`\r\n\r\nNow when I click the request button on a listing to create a transaction, I get an error \"Marketplace temporarily unavailable\" in the browser, and the stack trace as above. I notice in the stack trace `payment_gateway:` is empty, which makes me think the payment gateway is not set up properly. Also, I can't find in the web UI any links to configure the braintree payment method in the admin settings or in the user settings. Is there an additional step to setting up the braintree payment gateway that I am missing?"}}
{"actor":{"display_login":"rap1ds"}}