{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/cashier/issues/151","labels_url":"https://api.github.com/repos/laravel/cashier/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/laravel/cashier/issues/151/comments","events_url":"https://api.github.com/repos/laravel/cashier/issues/151/events","html_url":"https://github.com/laravel/cashier/pull/151","id":64268804,"number":151,"title":"[Proposal] Change cancellation webhook to correct hook from Stripe API","user":{"login":"TheShiftExchange","id":1210658,"avatar_url":"https://avatars.githubusercontent.com/u/1210658?v=3","gravatar_id":"","url":"https://api.github.com/users/TheShiftExchange","html_url":"https://github.com/TheShiftExchange","followers_url":"https://api.github.com/users/TheShiftExchange/followers","following_url":"https://api.github.com/users/TheShiftExchange/following{/other_user}","gists_url":"https://api.github.com/users/TheShiftExchange/gists{/gist_id}","starred_url":"https://api.github.com/users/TheShiftExchange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheShiftExchange/subscriptions","organizations_url":"https://api.github.com/users/TheShiftExchange/orgs","repos_url":"https://api.github.com/users/TheShiftExchange/repos","events_url":"https://api.github.com/users/TheShiftExchange/events{/privacy}","received_events_url":"https://api.github.com/users/TheShiftExchange/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-25T13:30:59Z","updated_at":"2015-03-25T15:49:12Z","closed_at":"2015-03-25T13:44:48Z","pull_request":{"url":"https://api.github.com/repos/laravel/cashier/pulls/151","html_url":"https://github.com/laravel/cashier/pull/151","diff_url":"https://github.com/laravel/cashier/pull/151.diff","patch_url":"https://github.com/laravel/cashier/pull/151.patch"},"body":"As discussed in closed PR https://github.com/laravel/cashier/pull/150\r\n\r\nThere is corresponding doc changes here as well: https://github.com/laravel/docs/pull/1277"},"comment":{"url":"https://api.github.com/repos/laravel/cashier/issues/comments/86091301","html_url":"https://github.com/laravel/cashier/pull/151#issuecomment-86091301","issue_url":"https://api.github.com/repos/laravel/cashier/issues/151","id":86091301,"user":{"login":"TheShiftExchange","id":1210658,"avatar_url":"https://avatars.githubusercontent.com/u/1210658?v=3","gravatar_id":"","url":"https://api.github.com/users/TheShiftExchange","html_url":"https://github.com/TheShiftExchange","followers_url":"https://api.github.com/users/TheShiftExchange/followers","following_url":"https://api.github.com/users/TheShiftExchange/following{/other_user}","gists_url":"https://api.github.com/users/TheShiftExchange/gists{/gist_id}","starred_url":"https://api.github.com/users/TheShiftExchange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheShiftExchange/subscriptions","organizations_url":"https://api.github.com/users/TheShiftExchange/orgs","repos_url":"https://api.github.com/users/TheShiftExchange/repos","events_url":"https://api.github.com/users/TheShiftExchange/events{/privacy}","received_events_url":"https://api.github.com/users/TheShiftExchange/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T15:49:12Z","updated_at":"2015-03-25T15:49:12Z","body":"Because `cancel()` is calling back to Stripe and re-telling it to cancel the subscription?\r\n\r\nHmmm... so is there a command in Cashier that only cancels a subscription on the Cashier side - without a call back to Stripe?\r\n\r\ni.e.\r\n\r\n```\r\nif (($billable) && ($billable->subscribed())) {\r\n         $billable->subscription()->cancelOnlyForCashier();\r\n}\r\n```"}}