{"action":"created","issue":{"url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/304","repository_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro","labels_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/304/labels{/name}","comments_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/304/comments","events_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/304/events","html_url":"https://github.com/restrictcontentpro/restrict-content-pro/issues/304","id":121528452,"number":304,"title":"Stripe: add support for prorating plans","user":{"login":"carter2422","id":1648631,"avatar_url":"https://avatars.githubusercontent.com/u/1648631?v=3","gravatar_id":"","url":"https://api.github.com/users/carter2422","html_url":"https://github.com/carter2422","followers_url":"https://api.github.com/users/carter2422/followers","following_url":"https://api.github.com/users/carter2422/following{/other_user}","gists_url":"https://api.github.com/users/carter2422/gists{/gist_id}","starred_url":"https://api.github.com/users/carter2422/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carter2422/subscriptions","organizations_url":"https://api.github.com/users/carter2422/orgs","repos_url":"https://api.github.com/users/carter2422/repos","events_url":"https://api.github.com/users/carter2422/events{/privacy}","received_events_url":"https://api.github.com/users/carter2422/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"carter2422","id":1648631,"avatar_url":"https://avatars.githubusercontent.com/u/1648631?v=3","gravatar_id":"","url":"https://api.github.com/users/carter2422","html_url":"https://github.com/carter2422","followers_url":"https://api.github.com/users/carter2422/followers","following_url":"https://api.github.com/users/carter2422/following{/other_user}","gists_url":"https://api.github.com/users/carter2422/gists{/gist_id}","starred_url":"https://api.github.com/users/carter2422/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carter2422/subscriptions","organizations_url":"https://api.github.com/users/carter2422/orgs","repos_url":"https://api.github.com/users/carter2422/repos","events_url":"https://api.github.com/users/carter2422/events{/privacy}","received_events_url":"https://api.github.com/users/carter2422/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/milestones/28","html_url":"https://github.com/restrictcontentpro/restrict-content-pro/milestones/2.5","labels_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/milestones/28/labels","id":1375221,"number":28,"title":"2.5","description":"","creator":{"login":"pippinsplugins","id":1034109,"avatar_url":"https://avatars.githubusercontent.com/u/1034109?v=3","gravatar_id":"","url":"https://api.github.com/users/pippinsplugins","html_url":"https://github.com/pippinsplugins","followers_url":"https://api.github.com/users/pippinsplugins/followers","following_url":"https://api.github.com/users/pippinsplugins/following{/other_user}","gists_url":"https://api.github.com/users/pippinsplugins/gists{/gist_id}","starred_url":"https://api.github.com/users/pippinsplugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pippinsplugins/subscriptions","organizations_url":"https://api.github.com/users/pippinsplugins/orgs","repos_url":"https://api.github.com/users/pippinsplugins/repos","events_url":"https://api.github.com/users/pippinsplugins/events{/privacy}","received_events_url":"https://api.github.com/users/pippinsplugins/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":16,"state":"open","created_at":"2015-10-25T13:56:14Z","updated_at":"2016-03-17T17:04:24Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-12-10T16:42:08Z","updated_at":"2016-03-17T17:04:24Z","closed_at":"2016-03-17T17:04:24Z","body":"If a user re-upgrades while a previous Plan is active Stripe will attempt to prorate the plan, while RCP will also charge the full amount. This leads to customers being charged more than they should be even at full rate. \r\n\r\n![screen shot 2015-12-10 at 10 41 00 am](https://cloud.githubusercontent.com/assets/1648631/11721684/a60a5e7c-9f2a-11e5-96cb-8f71dd73d9ec.png)\r\n\r\n\r\nWe need to add support for prorating."},"comment":{"url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/comments/197975776","html_url":"https://github.com/restrictcontentpro/restrict-content-pro/issues/304#issuecomment-197975776","issue_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/304","id":197975776,"user":{"login":"pippinsplugins","id":1034109,"avatar_url":"https://avatars.githubusercontent.com/u/1034109?v=3","gravatar_id":"","url":"https://api.github.com/users/pippinsplugins","html_url":"https://github.com/pippinsplugins","followers_url":"https://api.github.com/users/pippinsplugins/followers","following_url":"https://api.github.com/users/pippinsplugins/following{/other_user}","gists_url":"https://api.github.com/users/pippinsplugins/gists{/gist_id}","starred_url":"https://api.github.com/users/pippinsplugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pippinsplugins/subscriptions","organizations_url":"https://api.github.com/users/pippinsplugins/orgs","repos_url":"https://api.github.com/users/pippinsplugins/repos","events_url":"https://api.github.com/users/pippinsplugins/events{/privacy}","received_events_url":"https://api.github.com/users/pippinsplugins/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T17:04:24Z","updated_at":"2016-03-17T17:04:24Z","body":"This is all working really well. A few minor items to address over on #195 but otherwise good to go."}}