{"action":"created","issue":{"url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/1301","repository_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro","labels_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/1301/labels{/name}","comments_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/1301/comments","events_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/1301/events","html_url":"https://github.com/restrictcontentpro/restrict-content-pro/issues/1301","id":239771314,"number":1301,"title":"Incorrect prorate credit calculation when previous payment was also prorated","user":{"login":"nosegraze","id":6324272,"avatar_url":"https://avatars2.githubusercontent.com/u/6324272?v=4","gravatar_id":"","url":"https://api.github.com/users/nosegraze","html_url":"https://github.com/nosegraze","followers_url":"https://api.github.com/users/nosegraze/followers","following_url":"https://api.github.com/users/nosegraze/following{/other_user}","gists_url":"https://api.github.com/users/nosegraze/gists{/gist_id}","starred_url":"https://api.github.com/users/nosegraze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosegraze/subscriptions","organizations_url":"https://api.github.com/users/nosegraze/orgs","repos_url":"https://api.github.com/users/nosegraze/repos","events_url":"https://api.github.com/users/nosegraze/events{/privacy}","received_events_url":"https://api.github.com/users/nosegraze/received_events","type":"User","site_admin":false},"labels":[{"id":5100959,"url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/labels/bug","name":"bug","color":"fc2929","default":true},{"id":270622518,"url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/labels/has%20PR","name":"has PR","color":"009800","default":false},{"id":30272017,"url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/labels/needs%20testing","name":"needs testing","color":"0b02e1","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/milestones/10","html_url":"https://github.com/restrictcontentpro/restrict-content-pro/milestone/10","labels_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/milestones/10/labels","id":892505,"number":10,"title":"3.0","description":null,"creator":{"login":"pippinsplugins","id":1034109,"avatar_url":"https://avatars1.githubusercontent.com/u/1034109?v=4","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":24,"closed_issues":0,"state":"open","created_at":"2014-12-05T04:16:04Z","updated_at":"2018-01-14T11:29:47Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2017-06-30T12:57:16Z","updated_at":"2018-02-09T12:51:04Z","closed_at":null,"author_association":"MEMBER","body":"From a customer:\r\n\r\n> One of my Group Account members (ID52) took out a £60.00 subscription on 19 May 2017.\r\n> One day later she upgraded to a subscription costing £80.00, and was asked for a payment of £20.14. This is correct and all is fine.\r\n> Today (29 June 2017) she wanted to upgrade again, this time to a subscription costing £100.00. The system should have offered her a Proration Credit of around £73.00, but it has only offered £17.95, asking for £82.05.\r\n\r\nIn short, he's saying the problem is we use the price of _the user's last payment_ (which in this case was already a prorated amount of £20.14) when calculating proration credits, and we should instead be using the price of the subscription level (in this case £80). Is that right?"},"comment":{"url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/comments/364425415","html_url":"https://github.com/restrictcontentpro/restrict-content-pro/issues/1301#issuecomment-364425415","issue_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/1301","id":364425415,"user":{"login":"nosegraze","id":6324272,"avatar_url":"https://avatars2.githubusercontent.com/u/6324272?v=4","gravatar_id":"","url":"https://api.github.com/users/nosegraze","html_url":"https://github.com/nosegraze","followers_url":"https://api.github.com/users/nosegraze/followers","following_url":"https://api.github.com/users/nosegraze/following{/other_user}","gists_url":"https://api.github.com/users/nosegraze/gists{/gist_id}","starred_url":"https://api.github.com/users/nosegraze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosegraze/subscriptions","organizations_url":"https://api.github.com/users/nosegraze/orgs","repos_url":"https://api.github.com/users/nosegraze/repos","events_url":"https://api.github.com/users/nosegraze/events{/privacy}","received_events_url":"https://api.github.com/users/nosegraze/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T12:51:04Z","updated_at":"2018-02-09T12:51:04Z","author_association":"MEMBER","body":"Customer confirmed he believes this change has fixed the issue. He included a screenshot of user notes and payment records in his last reply here: https://secure.helpscout.net/conversation/486063184/72422?folderId=1100052"}}
{"actor":{"display_login":"nosegraze"}}