{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/6460","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/6460/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/6460/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/6460/events","html_url":"https://github.com/Automattic/wp-calypso/pull/6460","id":163252210,"number":6460,"title":"Jetpack connect new routes","user":{"login":"johnHackworth","id":1554855,"avatar_url":"https://avatars.githubusercontent.com/u/1554855?v=3","gravatar_id":"","url":"https://api.github.com/users/johnHackworth","html_url":"https://github.com/johnHackworth","followers_url":"https://api.github.com/users/johnHackworth/followers","following_url":"https://api.github.com/users/johnHackworth/following{/other_user}","gists_url":"https://api.github.com/users/johnHackworth/gists{/gist_id}","starred_url":"https://api.github.com/users/johnHackworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnHackworth/subscriptions","organizations_url":"https://api.github.com/users/johnHackworth/orgs","repos_url":"https://api.github.com/users/johnHackworth/repos","events_url":"https://api.github.com/users/johnHackworth/events{/privacy}","received_events_url":"https://api.github.com/users/johnHackworth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/.org%20Plans","name":".org Plans","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Jetpack","name":"Jetpack","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"johnHackworth","id":1554855,"avatar_url":"https://avatars.githubusercontent.com/u/1554855?v=3","gravatar_id":"","url":"https://api.github.com/users/johnHackworth","html_url":"https://github.com/johnHackworth","followers_url":"https://api.github.com/users/johnHackworth/followers","following_url":"https://api.github.com/users/johnHackworth/following{/other_user}","gists_url":"https://api.github.com/users/johnHackworth/gists{/gist_id}","starred_url":"https://api.github.com/users/johnHackworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnHackworth/subscriptions","organizations_url":"https://api.github.com/users/johnHackworth/orgs","repos_url":"https://api.github.com/users/johnHackworth/repos","events_url":"https://api.github.com/users/johnHackworth/events{/privacy}","received_events_url":"https://api.github.com/users/johnHackworth/received_events","type":"User","site_admin":false},"assignees":[{"login":"johnHackworth","id":1554855,"avatar_url":"https://avatars.githubusercontent.com/u/1554855?v=3","gravatar_id":"","url":"https://api.github.com/users/johnHackworth","html_url":"https://github.com/johnHackworth","followers_url":"https://api.github.com/users/johnHackworth/followers","following_url":"https://api.github.com/users/johnHackworth/following{/other_user}","gists_url":"https://api.github.com/users/johnHackworth/gists{/gist_id}","starred_url":"https://api.github.com/users/johnHackworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnHackworth/subscriptions","organizations_url":"https://api.github.com/users/johnHackworth/orgs","repos_url":"https://api.github.com/users/johnHackworth/repos","events_url":"https://api.github.com/users/johnHackworth/events{/privacy}","received_events_url":"https://api.github.com/users/johnHackworth/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/94","html_url":"https://github.com/Automattic/wp-calypso/milestones/Jetpack%20NUX%20m1","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/94/labels","id":1799332,"number":94,"title":"Jetpack NUX m1","description":"Iterating on Jetpack Connect and Premium Plugins Autoconfig, improvements to flows, testing alternatives","creator":{"login":"rickybanister","id":437258,"avatar_url":"https://avatars.githubusercontent.com/u/437258?v=3","gravatar_id":"","url":"https://api.github.com/users/rickybanister","html_url":"https://github.com/rickybanister","followers_url":"https://api.github.com/users/rickybanister/followers","following_url":"https://api.github.com/users/rickybanister/following{/other_user}","gists_url":"https://api.github.com/users/rickybanister/gists{/gist_id}","starred_url":"https://api.github.com/users/rickybanister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickybanister/subscriptions","organizations_url":"https://api.github.com/users/rickybanister/orgs","repos_url":"https://api.github.com/users/rickybanister/repos","events_url":"https://api.github.com/users/rickybanister/events{/privacy}","received_events_url":"https://api.github.com/users/rickybanister/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":15,"state":"open","created_at":"2016-05-31T17:44:42Z","updated_at":"2016-06-30T19:50:08Z","due_on":"2016-06-29T22:00:00Z","closed_at":null},"comments":4,"created_at":"2016-06-30T19:50:08Z","updated_at":"2016-06-30T21:15:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/6460","html_url":"https://github.com/Automattic/wp-calypso/pull/6460","diff_url":"https://github.com/Automattic/wp-calypso/pull/6460.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/6460.patch"},"body":"Closes https://github.com/Automattic/wp-calypso/issues/6398\r\n\r\nThis PR adds two new routes for jetpack connect, intended to be able to promote our premium & pro plans, so they can end with the user directly on the checkout screen with the plan already in the cart. \r\n\r\nVideo of the whole flow:\r\nhttps://cloudup.com/cDFOCXpYI_d\r\n\r\nThese routes are http://calypso.localhost:3000/jetpack/connect/premium\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1554855/16501871/efa2dea2-3f0b-11e6-9fb5-1db26d9c5861.png)\r\n\r\nand http://calypso.localhost:3000/jetpack/connect/pro\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1554855/16501877/fb7a564c-3f0b-11e6-9384-7859fada09b0.png)\r\n\r\n\r\nHow to test:\r\n=========\r\n\r\n1. You will need a jetpack site, not connected, running latest jetpack's master\r\n2. Go to  http://calypso.localhost:3000/jetpack/connect/premium\r\n3. You should see the same copy than in the screencap up there.\r\n4. Connect your site\r\n5. After connecting your site, you should be redirected to the checkout page, and you should have your new connected site selected and a premium card should be in the shopping cart\r\n6. Disconnect your site and repeat the same process with http://calypso.localhost:3000/jetpack/connect/pro. This time the plan in the cart should be the \"proffesional\" one.\r\n![image](https://cloud.githubusercontent.com/assets/1554855/16501981/7359f028-3f0c-11e6-9264-dd025a178022.png)\r\n\r\n\r\nping @richardmuscat @oskosk @ryelle \n\nTest live: https://calypso.live/?branch=add/jetpack-connect-new-routes"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/229791212","html_url":"https://github.com/Automattic/wp-calypso/pull/6460#issuecomment-229791212","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/6460","id":229791212,"user":{"login":"rickybanister","id":437258,"avatar_url":"https://avatars.githubusercontent.com/u/437258?v=3","gravatar_id":"","url":"https://api.github.com/users/rickybanister","html_url":"https://github.com/rickybanister","followers_url":"https://api.github.com/users/rickybanister/followers","following_url":"https://api.github.com/users/rickybanister/following{/other_user}","gists_url":"https://api.github.com/users/rickybanister/gists{/gist_id}","starred_url":"https://api.github.com/users/rickybanister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickybanister/subscriptions","organizations_url":"https://api.github.com/users/rickybanister/orgs","repos_url":"https://api.github.com/users/rickybanister/repos","events_url":"https://api.github.com/users/rickybanister/events{/privacy}","received_events_url":"https://api.github.com/users/rickybanister/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T21:15:51Z","updated_at":"2016-06-30T21:15:51Z","body":"@johnHackworth that's fine, let's just make it say 'Professional' instead of 'Pro'"}}
{"actor":{"display_login":"rickybanister"}}