{"action":"created","comment":{"url":"https://api.github.com/repos/andela/nazgul-rc/pulls/comments/186482471","pull_request_review_id":118069002,"id":186482471,"diff_hunk":"@@ -0,0 +1,33 @@\n+import { loadTranslations } from \"/server/startup/i18n\";\n+\n+import ar from \"./ar.json\";\n+import bg from \"./bg.json\";\n+import cs from \"./cs.json\";\n+import de from \"./de.json\";\n+import el from \"./el.json\";\n+import en from \"./en.json\";\n+import es from \"./es.json\";\n+import fr from \"./fr.json\";\n+import he from \"./he.json\";\n+import hr from \"./hr.json\";\n+import hu from \"./hu.json\";\n+import it from \"./it.json\";\n+import my from \"./my.json\";\n+import nb from \"./nb.json\";\n+import nl from \"./nl.json\";\n+import pl from \"./pl.json\";\n+import pt from \"./pt.json\";\n+import ro from \"./ro.json\";\n+import ru from \"./ru.json\";\n+import sl from \"./sl.json\";\n+import sv from \"./sv.json\";","path":"imports/plugins/custom/payments-paystack/server/i18n/index.js","position":23,"original_position":23,"commit_id":"694db2264482796597dbf90769cac6063b200f3a","original_commit_id":"694db2264482796597dbf90769cac6063b200f3a","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'import' is only available in ES6 (use 'esversion: 6').","created_at":"2018-05-07T16:58:18Z","updated_at":"2018-05-07T16:58:20Z","html_url":"https://github.com/andela/nazgul-rc/pull/2#discussion_r186482471","pull_request_url":"https://api.github.com/repos/andela/nazgul-rc/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/nazgul-rc/pulls/comments/186482471"},"html":{"href":"https://github.com/andela/nazgul-rc/pull/2#discussion_r186482471"},"pull_request":{"href":"https://api.github.com/repos/andela/nazgul-rc/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/andela/nazgul-rc/pulls/2","id":186396297,"html_url":"https://github.com/andela/nazgul-rc/pull/2","diff_url":"https://github.com/andela/nazgul-rc/pull/2.diff","patch_url":"https://github.com/andela/nazgul-rc/pull/2.patch","issue_url":"https://api.github.com/repos/andela/nazgul-rc/issues/2","number":2,"state":"open","locked":false,"title":"#157244155: Integrate paystack payment","user":{"login":"Felglitzzz","id":29508652,"avatar_url":"https://avatars2.githubusercontent.com/u/29508652?v=4","gravatar_id":"","url":"https://api.github.com/users/Felglitzzz","html_url":"https://github.com/Felglitzzz","followers_url":"https://api.github.com/users/Felglitzzz/followers","following_url":"https://api.github.com/users/Felglitzzz/following{/other_user}","gists_url":"https://api.github.com/users/Felglitzzz/gists{/gist_id}","starred_url":"https://api.github.com/users/Felglitzzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Felglitzzz/subscriptions","organizations_url":"https://api.github.com/users/Felglitzzz/orgs","repos_url":"https://api.github.com/users/Felglitzzz/repos","events_url":"https://api.github.com/users/Felglitzzz/events{/privacy}","received_events_url":"https://api.github.com/users/Felglitzzz/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nIntegrates paystack payment as one of the payment options for users\r\n\r\n#### Description of Task to be completed?\r\n\r\n- create a custom plugin for paystack payment option\r\n- Tweak the checkout files to reflect needful fields\r\n- Integrate the paystack inline API\r\n- Integrate server methods to allow for payments via paystack\r\n\r\n#### How should this be manually tested?\r\n\r\n- npm run git clone `https://github.com/andela/nazgul-rc.git` to clone the repository\r\n- navigate to the nazgul-rc folder\r\n- run `curl https://install.meteor.com/ | sh`\r\n- run `npm install -g reaction-cli`\r\n- install dependencies with`meteor npm install`\r\n- run `reaction` to start up server\r\n- once app is running, navigate to the app using localhost:3000\r\n- navigate to shop page\r\n- add items to checkout by clicking the cart icon\r\n- enter the needful details, select a shipping rate and fill your details in the form\r\n- click on \"Complete your order\" to make payment\r\n- follow the payment instructions\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n#157245700\r\n#### Screenshots (if appropriate)\r\n<img width=\"1440\" alt=\"paystack\" src=\"https://user-images.githubusercontent.com/29508652/39712129-d65a84d6-5219-11e8-861f-37099da9edc8.png\">\r\n<img width=\"1440\" alt=\"paystack2\" src=\"https://user-images.githubusercontent.com/29508652/39712131-d68204ca-5219-11e8-9fe9-92e71c769356.png\">\r\n<img width=\"1440\" alt=\"paystack3\" src=\"https://user-images.githubusercontent.com/29508652/39712132-d6a41d4e-5219-11e8-8a1b-e5f0ef0cec99.png\">\r\n<img width=\"1440\" alt=\"paystack4\" src=\"https://user-images.githubusercontent.com/29508652/39712133-d6c8303a-5219-11e8-9b60-ef3118519403.png\">\r\n","created_at":"2018-05-07T16:14:25Z","updated_at":"2018-05-07T16:58:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c76fbc3f550427a63a685cf3504854695fbbb1c9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/nazgul-rc/pulls/2/commits","review_comments_url":"https://api.github.com/repos/andela/nazgul-rc/pulls/2/comments","review_comment_url":"https://api.github.com/repos/andela/nazgul-rc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/nazgul-rc/issues/2/comments","statuses_url":"https://api.github.com/repos/andela/nazgul-rc/statuses/694db2264482796597dbf90769cac6063b200f3a","head":{"label":"andela:feature/157244155/integrate-paystack-payment","ref":"feature/157244155/integrate-paystack-payment","sha":"694db2264482796597dbf90769cac6063b200f3a","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":130388469,"name":"nazgul-rc","full_name":"andela/nazgul-rc","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/nazgul-rc","description":null,"fork":false,"url":"https://api.github.com/repos/andela/nazgul-rc","forks_url":"https://api.github.com/repos/andela/nazgul-rc/forks","keys_url":"https://api.github.com/repos/andela/nazgul-rc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/nazgul-rc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/nazgul-rc/teams","hooks_url":"https://api.github.com/repos/andela/nazgul-rc/hooks","issue_events_url":"https://api.github.com/repos/andela/nazgul-rc/issues/events{/number}","events_url":"https://api.github.com/repos/andela/nazgul-rc/events","assignees_url":"https://api.github.com/repos/andela/nazgul-rc/assignees{/user}","branches_url":"https://api.github.com/repos/andela/nazgul-rc/branches{/branch}","tags_url":"https://api.github.com/repos/andela/nazgul-rc/tags","blobs_url":"https://api.github.com/repos/andela/nazgul-rc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/nazgul-rc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/nazgul-rc/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/nazgul-rc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/nazgul-rc/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/nazgul-rc/languages","stargazers_url":"https://api.github.com/repos/andela/nazgul-rc/stargazers","contributors_url":"https://api.github.com/repos/andela/nazgul-rc/contributors","subscribers_url":"https://api.github.com/repos/andela/nazgul-rc/subscribers","subscription_url":"https://api.github.com/repos/andela/nazgul-rc/subscription","commits_url":"https://api.github.com/repos/andela/nazgul-rc/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/nazgul-rc/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/nazgul-rc/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/nazgul-rc/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/nazgul-rc/contents/{+path}","compare_url":"https://api.github.com/repos/andela/nazgul-rc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/nazgul-rc/merges","archive_url":"https://api.github.com/repos/andela/nazgul-rc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/nazgul-rc/downloads","issues_url":"https://api.github.com/repos/andela/nazgul-rc/issues{/number}","pulls_url":"https://api.github.com/repos/andela/nazgul-rc/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/nazgul-rc/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/nazgul-rc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/nazgul-rc/labels{/name}","releases_url":"https://api.github.com/repos/andela/nazgul-rc/releases{/id}","deployments_url":"https://api.github.com/repos/andela/nazgul-rc/deployments","created_at":"2018-04-20T16:34:56Z","updated_at":"2018-05-03T14:41:45Z","pushed_at":"2018-05-07T16:48:09Z","git_url":"git://github.com/andela/nazgul-rc.git","ssh_url":"git@github.com:andela/nazgul-rc.git","clone_url":"https://github.com/andela/nazgul-rc.git","svn_url":"https://github.com/andela/nazgul-rc","homepage":null,"size":38161,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:demo","ref":"demo","sha":"88e1eb2ac7d65b171a7c638a57a82f31a4d5ec25","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":130388469,"name":"nazgul-rc","full_name":"andela/nazgul-rc","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/nazgul-rc","description":null,"fork":false,"url":"https://api.github.com/repos/andela/nazgul-rc","forks_url":"https://api.github.com/repos/andela/nazgul-rc/forks","keys_url":"https://api.github.com/repos/andela/nazgul-rc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/nazgul-rc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/nazgul-rc/teams","hooks_url":"https://api.github.com/repos/andela/nazgul-rc/hooks","issue_events_url":"https://api.github.com/repos/andela/nazgul-rc/issues/events{/number}","events_url":"https://api.github.com/repos/andela/nazgul-rc/events","assignees_url":"https://api.github.com/repos/andela/nazgul-rc/assignees{/user}","branches_url":"https://api.github.com/repos/andela/nazgul-rc/branches{/branch}","tags_url":"https://api.github.com/repos/andela/nazgul-rc/tags","blobs_url":"https://api.github.com/repos/andela/nazgul-rc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/nazgul-rc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/nazgul-rc/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/nazgul-rc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/nazgul-rc/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/nazgul-rc/languages","stargazers_url":"https://api.github.com/repos/andela/nazgul-rc/stargazers","contributors_url":"https://api.github.com/repos/andela/nazgul-rc/contributors","subscribers_url":"https://api.github.com/repos/andela/nazgul-rc/subscribers","subscription_url":"https://api.github.com/repos/andela/nazgul-rc/subscription","commits_url":"https://api.github.com/repos/andela/nazgul-rc/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/nazgul-rc/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/nazgul-rc/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/nazgul-rc/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/nazgul-rc/contents/{+path}","compare_url":"https://api.github.com/repos/andela/nazgul-rc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/nazgul-rc/merges","archive_url":"https://api.github.com/repos/andela/nazgul-rc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/nazgul-rc/downloads","issues_url":"https://api.github.com/repos/andela/nazgul-rc/issues{/number}","pulls_url":"https://api.github.com/repos/andela/nazgul-rc/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/nazgul-rc/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/nazgul-rc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/nazgul-rc/labels{/name}","releases_url":"https://api.github.com/repos/andela/nazgul-rc/releases{/id}","deployments_url":"https://api.github.com/repos/andela/nazgul-rc/deployments","created_at":"2018-04-20T16:34:56Z","updated_at":"2018-05-03T14:41:45Z","pushed_at":"2018-05-07T16:48:09Z","git_url":"git://github.com/andela/nazgul-rc.git","ssh_url":"git@github.com:andela/nazgul-rc.git","clone_url":"https://github.com/andela/nazgul-rc.git","svn_url":"https://github.com/andela/nazgul-rc","homepage":null,"size":38161,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/nazgul-rc/pulls/2"},"html":{"href":"https://github.com/andela/nazgul-rc/pull/2"},"issue":{"href":"https://api.github.com/repos/andela/nazgul-rc/issues/2"},"comments":{"href":"https://api.github.com/repos/andela/nazgul-rc/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/nazgul-rc/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/nazgul-rc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/nazgul-rc/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/andela/nazgul-rc/statuses/694db2264482796597dbf90769cac6063b200f3a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}