{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/11826","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/11826/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/11826/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/11826/events","html_url":"https://github.com/Automattic/wp-calypso/pull/11826","id":212411058,"number":11826,"title":"Checkout: Update discount message when upgrading from domain to plan","user":{"login":"gziolo","id":699132,"avatar_url":"https://avatars1.githubusercontent.com/u/699132?v=3","gravatar_id":"","url":"https://api.github.com/users/gziolo","html_url":"https://github.com/gziolo","followers_url":"https://api.github.com/users/gziolo/followers","following_url":"https://api.github.com/users/gziolo/following{/other_user}","gists_url":"https://api.github.com/users/gziolo/gists{/gist_id}","starred_url":"https://api.github.com/users/gziolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gziolo/subscriptions","organizations_url":"https://api.github.com/users/gziolo/orgs","repos_url":"https://api.github.com/users/gziolo/repos","events_url":"https://api.github.com/users/gziolo/events{/privacy}","received_events_url":"https://api.github.com/users/gziolo/received_events","type":"User","site_admin":false},"labels":[{"id":285010121,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Checkout","name":"Checkout","color":"006b75","default":false},{"id":542899089,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Size]%20M","name":"[Size] M","color":"8d478a","default":false},{"id":285010019,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20Needs%20Author%20Reply","name":"[Status] Needs Author Reply","color":"eb6420","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":"gziolo","id":699132,"avatar_url":"https://avatars1.githubusercontent.com/u/699132?v=3","gravatar_id":"","url":"https://api.github.com/users/gziolo","html_url":"https://github.com/gziolo","followers_url":"https://api.github.com/users/gziolo/followers","following_url":"https://api.github.com/users/gziolo/following{/other_user}","gists_url":"https://api.github.com/users/gziolo/gists{/gist_id}","starred_url":"https://api.github.com/users/gziolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gziolo/subscriptions","organizations_url":"https://api.github.com/users/gziolo/orgs","repos_url":"https://api.github.com/users/gziolo/repos","events_url":"https://api.github.com/users/gziolo/events{/privacy}","received_events_url":"https://api.github.com/users/gziolo/received_events","type":"User","site_admin":false},"assignees":[{"login":"gziolo","id":699132,"avatar_url":"https://avatars1.githubusercontent.com/u/699132?v=3","gravatar_id":"","url":"https://api.github.com/users/gziolo","html_url":"https://github.com/gziolo","followers_url":"https://api.github.com/users/gziolo/followers","following_url":"https://api.github.com/users/gziolo/following{/other_user}","gists_url":"https://api.github.com/users/gziolo/gists{/gist_id}","starred_url":"https://api.github.com/users/gziolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gziolo/subscriptions","organizations_url":"https://api.github.com/users/gziolo/orgs","repos_url":"https://api.github.com/users/gziolo/repos","events_url":"https://api.github.com/users/gziolo/events{/privacy}","received_events_url":"https://api.github.com/users/gziolo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-03-07T11:55:18Z","updated_at":"2017-03-08T10:26:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/11826","html_url":"https://github.com/Automattic/wp-calypso/pull/11826","diff_url":"https://github.com/Automattic/wp-calypso/pull/11826.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/11826.patch"},"body":"Part of #11480. ~~Requires backend patch `D4628-code`.~~\r\n\r\nWe currently show this notice below the cart details to indicate the discount:\r\n\r\n> You're saving $20! Your recent domain purchase is deducted from the price ($35.88), since the plan includes a free domain.\r\n\r\nThis is not actually right, since the discount is not related to the price of the domain. The actual details of how the discount is applied are a bit too complicated to go over in this notice. For consistency, probably best to just repeat the same message from the plan selection screen.\r\n\r\nAlso worth covering the renewal price here, to save any unpleasant surprises down the road.\r\n\r\n> You're getting a $888 discount off the regular price of the plan ($888), because you already paid for the domain. \r\n> \r\n> The plan and the domain can be renewed together for $888 / year. \r\n\r\nAfter changes:\r\n\r\n![screen shot 2017-03-07 at 12 54 46](https://cloud.githubusercontent.com/assets/699132/23655441/4856fa40-0335-11e7-9854-c3001bba4d2b.png)\r\n\r\n### Testing\r\n1. ~~Apply backend patch `D4628-code`.~~\r\n2. Purchase domain using domain only site flow.\r\n3. Go to My Sites.\r\n4. Click `Create Site` button.\r\n5. Select plan and theme.\r\n6. You should see checkout page with the updated discount copy.\r\n![screen shot 2017-03-07 at 12 54 46](https://cloud.githubusercontent.com/assets/699132/23655441/4856fa40-0335-11e7-9854-c3001bba4d2b.png)\r\n\r\n### Review\r\n\r\n* [ ] Code\r\n* [ ] Product\r\n"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/285004456","html_url":"https://github.com/Automattic/wp-calypso/pull/11826#issuecomment-285004456","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/11826","id":285004456,"user":{"login":"ranh","id":426518,"avatar_url":"https://avatars0.githubusercontent.com/u/426518?v=3","gravatar_id":"","url":"https://api.github.com/users/ranh","html_url":"https://github.com/ranh","followers_url":"https://api.github.com/users/ranh/followers","following_url":"https://api.github.com/users/ranh/following{/other_user}","gists_url":"https://api.github.com/users/ranh/gists{/gist_id}","starred_url":"https://api.github.com/users/ranh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranh/subscriptions","organizations_url":"https://api.github.com/users/ranh/orgs","repos_url":"https://api.github.com/users/ranh/repos","events_url":"https://api.github.com/users/ranh/events{/privacy}","received_events_url":"https://api.github.com/users/ranh/received_events","type":"User","site_admin":false},"created_at":"2017-03-08T10:26:34Z","updated_at":"2017-03-08T10:26:34Z","body":"Product 👍 "}}
{"actor":{"display_login":"ranh"}}