{"action":"created","comment":{"url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/pulls/comments/38029784","id":38029784,"diff_hunk":"@@ -1,132 +1,21 @@\n-Shopify Offsite Gateway Simulator\n+Hosted Payment SDK Simulator\n ===========================\n \n-This is a common API that simplifies the onboarding of new payment providers, specifically Offsite Gateways / Hosted Payment Pages, that are looking to be used on [Shopify](http://www.shopify.com). By supporting a common API for redirect, cancel, complete, and callback phases of a payment flow, we are giving gateway implementers a way to integrate with Shopify at any time, without requiring a large amount of customization or validation work or bottlenecks by the Shopify integration team.\n+This tool will allow you to simulate the redirects and callbacks needed to build and integration using the [Hosted Payment SDK](https://docs.shopify.com/hosted-payment-sdk). It also serves as a [calculator](https://offsite-gateway-sim.herokuapp.com/calculator) that can be used to verify your signature algorithm.\n \n-### Getting Started\n+To use the simulator please familiarize yourself with the [Hosted Payment SDK](https://docs.shopify.com/hosted-payment-sdk) documentation and then:\n \n-Follow these simple steps to get started.\n+1. Add a payment gateway with “Redirect URL” of `https://offsite-gateway-sim.herokuapp.com/`.","path":"README.md","position":12,"original_position":12,"commit_id":"c3264a2560323e8bc94cd2c6d1305adf164cb86b","original_commit_id":"c3264a2560323e8bc94cd2c6d1305adf164cb86b","user":{"login":"andrewpaliga","id":2962326,"avatar_url":"https://avatars.githubusercontent.com/u/2962326?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewpaliga","html_url":"https://github.com/andrewpaliga","followers_url":"https://api.github.com/users/andrewpaliga/followers","following_url":"https://api.github.com/users/andrewpaliga/following{/other_user}","gists_url":"https://api.github.com/users/andrewpaliga/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewpaliga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewpaliga/subscriptions","organizations_url":"https://api.github.com/users/andrewpaliga/orgs","repos_url":"https://api.github.com/users/andrewpaliga/repos","events_url":"https://api.github.com/users/andrewpaliga/events{/privacy}","received_events_url":"https://api.github.com/users/andrewpaliga/received_events","type":"User","site_admin":false},"body":"Don't we want smart quotes? ","created_at":"2015-08-26T20:20:33Z","updated_at":"2015-08-26T20:20:33Z","html_url":"https://github.com/Shopify/offsite-gateway-sim/pull/19#discussion_r38029784","pull_request_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/Shopify/offsite-gateway-sim/pulls/comments/38029784"},"html":{"href":"https://github.com/Shopify/offsite-gateway-sim/pull/19#discussion_r38029784"},"pull_request":{"href":"https://api.github.com/repos/Shopify/offsite-gateway-sim/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/pulls/19","id":43440809,"html_url":"https://github.com/Shopify/offsite-gateway-sim/pull/19","diff_url":"https://github.com/Shopify/offsite-gateway-sim/pull/19.diff","patch_url":"https://github.com/Shopify/offsite-gateway-sim/pull/19.patch","issue_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/issues/19","number":19,"state":"open","locked":false,"title":"Update to hosted payment simulator","user":{"login":"andrewpaliga","id":2962326,"avatar_url":"https://avatars.githubusercontent.com/u/2962326?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewpaliga","html_url":"https://github.com/andrewpaliga","followers_url":"https://api.github.com/users/andrewpaliga/followers","following_url":"https://api.github.com/users/andrewpaliga/following{/other_user}","gists_url":"https://api.github.com/users/andrewpaliga/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewpaliga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewpaliga/subscriptions","organizations_url":"https://api.github.com/users/andrewpaliga/orgs","repos_url":"https://api.github.com/users/andrewpaliga/repos","events_url":"https://api.github.com/users/andrewpaliga/events{/privacy}","received_events_url":"https://api.github.com/users/andrewpaliga/received_events","type":"User","site_admin":false},"body":"We'll need to rename the url and a few other changes if we are good with the name change. \r\n\r\n@girasquid @louiskearns @mhashemi86 \r\n\r\n","created_at":"2015-08-26T19:20:59Z","updated_at":"2015-08-26T20:20:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ef193470c8ddf84a48170b2256d505cbbc4bcb9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/pulls/19/commits","review_comments_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/pulls/19/comments","review_comment_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/issues/19/comments","statuses_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/statuses/c3264a2560323e8bc94cd2c6d1305adf164cb86b","head":{"label":"Shopify:update_to_hosted_payment_simulator","ref":"update_to_hosted_payment_simulator","sha":"c3264a2560323e8bc94cd2c6d1305adf164cb86b","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":17987862,"name":"offsite-gateway-sim","full_name":"Shopify/offsite-gateway-sim","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/offsite-gateway-sim","description":null,"fork":false,"url":"https://api.github.com/repos/Shopify/offsite-gateway-sim","forks_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/forks","keys_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/teams","hooks_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/hooks","issue_events_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/events","assignees_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/tags","blobs_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/languages","stargazers_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/stargazers","contributors_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/contributors","subscribers_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/subscribers","subscription_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/subscription","commits_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/merges","archive_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/downloads","issues_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/releases{/id}","created_at":"2014-03-21T17:20:25Z","updated_at":"2015-06-16T18:16:49Z","pushed_at":"2015-08-26T19:22:26Z","git_url":"git://github.com/Shopify/offsite-gateway-sim.git","ssh_url":"git@github.com:Shopify/offsite-gateway-sim.git","clone_url":"https://github.com/Shopify/offsite-gateway-sim.git","svn_url":"https://github.com/Shopify/offsite-gateway-sim","homepage":null,"size":1073,"stargazers_count":12,"watchers_count":12,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":12,"default_branch":"master"}},"base":{"label":"Shopify:master","ref":"master","sha":"5a2fcd2489e45b4eb771486cdc7d84a751bc853f","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":17987862,"name":"offsite-gateway-sim","full_name":"Shopify/offsite-gateway-sim","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/offsite-gateway-sim","description":null,"fork":false,"url":"https://api.github.com/repos/Shopify/offsite-gateway-sim","forks_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/forks","keys_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/teams","hooks_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/hooks","issue_events_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/events","assignees_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/tags","blobs_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/languages","stargazers_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/stargazers","contributors_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/contributors","subscribers_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/subscribers","subscription_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/subscription","commits_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/merges","archive_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/downloads","issues_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/offsite-gateway-sim/releases{/id}","created_at":"2014-03-21T17:20:25Z","updated_at":"2015-06-16T18:16:49Z","pushed_at":"2015-08-26T19:22:26Z","git_url":"git://github.com/Shopify/offsite-gateway-sim.git","ssh_url":"git@github.com:Shopify/offsite-gateway-sim.git","clone_url":"https://github.com/Shopify/offsite-gateway-sim.git","svn_url":"https://github.com/Shopify/offsite-gateway-sim","homepage":null,"size":1073,"stargazers_count":12,"watchers_count":12,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shopify/offsite-gateway-sim/pulls/19"},"html":{"href":"https://github.com/Shopify/offsite-gateway-sim/pull/19"},"issue":{"href":"https://api.github.com/repos/Shopify/offsite-gateway-sim/issues/19"},"comments":{"href":"https://api.github.com/repos/Shopify/offsite-gateway-sim/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/Shopify/offsite-gateway-sim/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/Shopify/offsite-gateway-sim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Shopify/offsite-gateway-sim/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/Shopify/offsite-gateway-sim/statuses/c3264a2560323e8bc94cd2c6d1305adf164cb86b"}}}}