{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/12923","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/12923/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/12923/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/12923/events","html_url":"https://github.com/Automattic/wp-calypso/issues/12923","id":220346869,"number":12923,"title":"Manage Purchases: show a notice for disconnected sites with orphaned upgrades","user":{"login":"rickybanister","id":437258,"avatar_url":"https://avatars1.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},"labels":[{"id":289345365,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Purchases","name":"Purchases","color":"006b75","default":false},{"id":285009976,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Type]%20Enhancement","name":"[Type] Enhancement","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":{"login":"ryelle","id":541093,"avatar_url":"https://avatars2.githubusercontent.com/u/541093?v=3","gravatar_id":"","url":"https://api.github.com/users/ryelle","html_url":"https://github.com/ryelle","followers_url":"https://api.github.com/users/ryelle/followers","following_url":"https://api.github.com/users/ryelle/following{/other_user}","gists_url":"https://api.github.com/users/ryelle/gists{/gist_id}","starred_url":"https://api.github.com/users/ryelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryelle/subscriptions","organizations_url":"https://api.github.com/users/ryelle/orgs","repos_url":"https://api.github.com/users/ryelle/repos","events_url":"https://api.github.com/users/ryelle/events{/privacy}","received_events_url":"https://api.github.com/users/ryelle/received_events","type":"User","site_admin":false},"assignees":[{"login":"ryelle","id":541093,"avatar_url":"https://avatars2.githubusercontent.com/u/541093?v=3","gravatar_id":"","url":"https://api.github.com/users/ryelle","html_url":"https://github.com/ryelle","followers_url":"https://api.github.com/users/ryelle/followers","following_url":"https://api.github.com/users/ryelle/following{/other_user}","gists_url":"https://api.github.com/users/ryelle/gists{/gist_id}","starred_url":"https://api.github.com/users/ryelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryelle/subscriptions","organizations_url":"https://api.github.com/users/ryelle/orgs","repos_url":"https://api.github.com/users/ryelle/repos","events_url":"https://api.github.com/users/ryelle/events{/privacy}","received_events_url":"https://api.github.com/users/ryelle/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2017-04-07T22:45:22Z","updated_at":"2017-04-18T22:32:31Z","closed_at":null,"body":"With Jetpack's connection to WordPress.com it is possible for a user to purchase an upgrade, then disconnect the site from WordPress.com. This makes that purchase somewhat 'orphaned'. @ryelle has made it possible to display the disconnected site in the purchases list with the orphan purchase, but we can do the user one better.\r\n\r\nLet's show a notice beneath the site/purchase block like this:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/437258/24822310/20b9547e-1bc2-11e7-8cd9-a11f236778e5.png)\r\n\r\nThe reconnect link could jump them into step 2 of the Jetpack Connect flow (see if they have Jetpack installed or not and give them the appropriate instructions). \r\n\r\ncc @richardmuscat @beaulebens @johnHackworth \r\n\r\nRelated to: #12746"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/295003384","html_url":"https://github.com/Automattic/wp-calypso/issues/12923#issuecomment-295003384","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/12923","id":295003384,"user":{"login":"roccotripaldi","id":2694219,"avatar_url":"https://avatars2.githubusercontent.com/u/2694219?v=3","gravatar_id":"","url":"https://api.github.com/users/roccotripaldi","html_url":"https://github.com/roccotripaldi","followers_url":"https://api.github.com/users/roccotripaldi/followers","following_url":"https://api.github.com/users/roccotripaldi/following{/other_user}","gists_url":"https://api.github.com/users/roccotripaldi/gists{/gist_id}","starred_url":"https://api.github.com/users/roccotripaldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roccotripaldi/subscriptions","organizations_url":"https://api.github.com/users/roccotripaldi/orgs","repos_url":"https://api.github.com/users/roccotripaldi/repos","events_url":"https://api.github.com/users/roccotripaldi/events{/privacy}","received_events_url":"https://api.github.com/users/roccotripaldi/received_events","type":"User","site_admin":false},"created_at":"2017-04-18T22:32:31Z","updated_at":"2017-04-18T22:32:31Z","body":"hmm. could we open up a new purchases endpoint? something like `getSyncedURLbyReceiptID` and we could ensure the current user has access to receipt before returning the synced value."}}
{"actor":{"display_login":"roccotripaldi"}}