{"action":"created","issue":{"url":"https://api.github.com/repos/dycodedev/veritrans-node/issues/5","repository_url":"https://api.github.com/repos/dycodedev/veritrans-node","labels_url":"https://api.github.com/repos/dycodedev/veritrans-node/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/dycodedev/veritrans-node/issues/5/comments","events_url":"https://api.github.com/repos/dycodedev/veritrans-node/issues/5/events","html_url":"https://github.com/dycodedev/veritrans-node/issues/5","id":152589221,"number":5,"title":"404 - Error: The requested resource is not found","user":{"login":"yogieputra8","id":6022596,"avatar_url":"https://avatars.githubusercontent.com/u/6022596?v=3","gravatar_id":"","url":"https://api.github.com/users/yogieputra8","html_url":"https://github.com/yogieputra8","followers_url":"https://api.github.com/users/yogieputra8/followers","following_url":"https://api.github.com/users/yogieputra8/following{/other_user}","gists_url":"https://api.github.com/users/yogieputra8/gists{/gist_id}","starred_url":"https://api.github.com/users/yogieputra8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogieputra8/subscriptions","organizations_url":"https://api.github.com/users/yogieputra8/orgs","repos_url":"https://api.github.com/users/yogieputra8/repos","events_url":"https://api.github.com/users/yogieputra8/events{/privacy}","received_events_url":"https://api.github.com/users/yogieputra8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-02T16:26:54Z","updated_at":"2016-05-02T16:49:10Z","closed_at":null,"body":"Saya coba bikin simple app pake ExpressJS manfaatin lib ini untuk check status dari orderan saya yg sudah sukses masuk ke Veritrans via Sandbox, berikut code saya:\r\n```\r\nvar PORT = 4040;\r\nvar serverKey = \"-SERVERKEY-\";\r\nvar clientKey = \"-CLIENTKEY-\";\r\nvar url = \"https://api.sandbox.veritrans.co.id/v2\";\r\n\r\n\r\nconst config2 = {\r\n    serverKey: serverKey,\r\n    clientKey: clientKey,\r\n    url: url\r\n};\r\nconst Veritrans = require('veritrans');\r\nconst vt = new Veritrans(config2);\r\n\r\nvar http = require('http');\r\nvar express = require('express');\r\nvar bodyParser = require('body-parser');\r\nvar app = express();\r\n\r\napp.use(bodyParser.json());\r\napp.use(express.static(__dirname + '/public')); \r\napp.use(bodyParser.json());\r\n\r\napp.use(function(req, res, next) {\r\n    res.header(\"Access-Control-Allow-Origin\", \"*\");\r\n    res.header(\"Access-Control-Allow-Headers\", \"Origin, X-Requested-With, Content-Type, Accept\");\r\n    next();\r\n});\r\n\r\n\r\napp.get('/status/:id', function(req, res) {\r\n    var id = req.params.id;\r\n    console.log(id)\r\n\r\n    vt.transaction.status(id, (err, result) => {\r\n        if (err) {\r\n            console.error(err);\r\n            return res.redirect('/transaction/' + id);\r\n        }\r\n        return res.redirect('/transaction/' + id);\r\n    });\r\n});\r\n\r\napp.listen(PORT, function() {\r\n    console.log('Express listening on port ' + PORT + '!');\r\n});\r\n```\r\n\r\nLalu saya coba GET Request via Postman\r\n```http://localhost:4040/status/100030002_prepaid_1462182481 ```\r\nDi Console saya keluar error:\r\n```{ [Error: The requested resource is not found] code: '404' }```\r\nPadahal orderID ini ada di Sandbox nya\r\n<a href='http://postimg.org/image/volb9y0sx/' target='_blank'><img src='http://s32.postimg.org/volb9y0sx/Screen_Shot_2016_05_02_at_11_24_14_PM.jpg' border='0' alt=\"Screen Shot 2016 05 02 at 11 24 14 PM\" /></a>\r\n\r\nIni kenapa ya? Apakah saya ada yang kelewatan?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dycodedev/veritrans-node/issues/comments/216289798","html_url":"https://github.com/dycodedev/veritrans-node/issues/5#issuecomment-216289798","issue_url":"https://api.github.com/repos/dycodedev/veritrans-node/issues/5","id":216289798,"user":{"login":"alwint3r","id":12936093,"avatar_url":"https://avatars.githubusercontent.com/u/12936093?v=3","gravatar_id":"","url":"https://api.github.com/users/alwint3r","html_url":"https://github.com/alwint3r","followers_url":"https://api.github.com/users/alwint3r/followers","following_url":"https://api.github.com/users/alwint3r/following{/other_user}","gists_url":"https://api.github.com/users/alwint3r/gists{/gist_id}","starred_url":"https://api.github.com/users/alwint3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alwint3r/subscriptions","organizations_url":"https://api.github.com/users/alwint3r/orgs","repos_url":"https://api.github.com/users/alwint3r/repos","events_url":"https://api.github.com/users/alwint3r/events{/privacy}","received_events_url":"https://api.github.com/users/alwint3r/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T16:49:10Z","updated_at":"2016-05-02T16:49:10Z","body":"Barusan saya coba pakai method yang sama dengan order id yang ada di akun sandbox saya dan berhasil. Apakah ada order id yang lain yang bisa dicoba?"}}