{"action":"created","issue":{"url":"https://api.github.com/repos/pagseguro/android/issues/16","labels_url":"https://api.github.com/repos/pagseguro/android/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/pagseguro/android/issues/16/comments","events_url":"https://api.github.com/repos/pagseguro/android/issues/16/events","html_url":"https://github.com/pagseguro/android/issues/16","id":92464166,"number":16,"title":"Não consigo integrar com SandBox","user":{"login":"CEduardo899","id":13140027,"avatar_url":"https://avatars.githubusercontent.com/u/13140027?v=3","gravatar_id":"","url":"https://api.github.com/users/CEduardo899","html_url":"https://github.com/CEduardo899","followers_url":"https://api.github.com/users/CEduardo899/followers","following_url":"https://api.github.com/users/CEduardo899/following{/other_user}","gists_url":"https://api.github.com/users/CEduardo899/gists{/gist_id}","starred_url":"https://api.github.com/users/CEduardo899/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CEduardo899/subscriptions","organizations_url":"https://api.github.com/users/CEduardo899/orgs","repos_url":"https://api.github.com/users/CEduardo899/repos","events_url":"https://api.github.com/users/CEduardo899/events{/privacy}","received_events_url":"https://api.github.com/users/CEduardo899/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-01T19:14:58Z","updated_at":"2015-08-28T04:20:33Z","closed_at":null,"body":"Boa tarde,\r\nverificando o código da PagSeguro.class verifiquei que o mesmo endereço de produção esta para o SandBox.\r\nPRODUCTION(\"https://ws.wallet.pagseguro.uol.com.br/mobile-gateway\", \"https://df.uol.com.br\"),\r\nSANDBOX(\"https://ws.wallet.pagseguro.uol.com.br/mobile-gateway\", \"https://df.uol.com.br\"),\r\n\r\nOutra coisa, quando utilizo a versão 0.4 com o Token de produção eu consigo realizar o pagamento, porem fica instável as vezes da certo outras não e os pagamentos que dão certo vão para o ambiente de produção, conforme print abaixo.\r\n\r\n![psproducao](https://cloud.githubusercontent.com/assets/13140027/8462600/6303caf8-200b-11e5-993b-accfebbd7552.jpg)\r\n\r\nQuando mudo o Token para SandBox sempre da erro. Quando utilizo a versão 0.7 sempre da erro tanto com o Token de produção e SandBox.\r\nSegue abaixo o trecho do código que estou utilizando.O Token que esta codigo é do SandBox\r\n\r\nBigDecimal amount = new BigDecimal(\"10.0\");\r\n        //quantidade de parcelas\r\n        int quantityParcel = 1;\r\n        PagSeguro.pay(new PagSeguroRequest()\r\n                        .withNewItem(\"Item Description\", quantityParcel, amount)\r\n                        .withVendorEmail(\"carloseduardo_15@hotmail.com\")\r\n                        .withBuyerEmail(\"comprador@mail.com.br\")\r\n                        .withBuyerCPF(\"00000000000\")\r\n                        .withBuyerCellphoneNumber(\"5511000000000\")\r\n                        .withReferenceCode(\"123\")\r\n                        .withEnvironment(PagSeguro.Environment.SANDBOX)            .   withAuthorization(\"carloseduardo_15@hotmail.com\",\"0F927F7621894E049235971F0BF2F399\"),\r\n\r\n                getActivity(),\r\n                R.id.frame_container,\r\n                new PagSeguro.PagSeguroListener() {\r\n                    @Override\r\n                    public void onSuccess(PagSeguroResponse response, Context context) {\r\n                        Toast.makeText(context, \"Lib PS retornou pagamento aprovado! \" + response, Toast.LENGTH_LONG).show();\r\n                    }\r\n\r\n                    @Override\r\n                    public void onFailure(PagSeguroResponse response, Context context) {\r\n                        Log.e(\"Dudu\", response.getMessage());\r\n                        Toast.makeText(context, \"Lib PS retornou FALHA no pagamento! \" + response, Toast.LENGTH_LONG).show();\r\n\r\n                    }\r\n                });"},"comment":{"url":"https://api.github.com/repos/pagseguro/android/issues/comments/135629220","html_url":"https://github.com/pagseguro/android/issues/16#issuecomment-135629220","issue_url":"https://api.github.com/repos/pagseguro/android/issues/16","id":135629220,"user":{"login":"ranieripieper","id":1408608,"avatar_url":"https://avatars.githubusercontent.com/u/1408608?v=3","gravatar_id":"","url":"https://api.github.com/users/ranieripieper","html_url":"https://github.com/ranieripieper","followers_url":"https://api.github.com/users/ranieripieper/followers","following_url":"https://api.github.com/users/ranieripieper/following{/other_user}","gists_url":"https://api.github.com/users/ranieripieper/gists{/gist_id}","starred_url":"https://api.github.com/users/ranieripieper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranieripieper/subscriptions","organizations_url":"https://api.github.com/users/ranieripieper/orgs","repos_url":"https://api.github.com/users/ranieripieper/repos","events_url":"https://api.github.com/users/ranieripieper/events{/privacy}","received_events_url":"https://api.github.com/users/ranieripieper/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T04:20:33Z","updated_at":"2015-08-28T04:20:33Z","body":"Estou tendo o mesmo problema. \r\nVocê conseguiu resolver de alguma forma?"}}