{"action":"closed","issue":{"url":"https://api.github.com/repos/laravel/cashier/issues/493","repository_url":"https://api.github.com/repos/laravel/cashier","labels_url":"https://api.github.com/repos/laravel/cashier/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/laravel/cashier/issues/493/comments","events_url":"https://api.github.com/repos/laravel/cashier/issues/493/events","html_url":"https://github.com/laravel/cashier/issues/493","id":294854698,"node_id":"MDU6SXNzdWUyOTQ4NTQ2OTg=","number":493,"title":"newSubscription() creating two subscriptions","user":{"login":"colinbarstow","id":23583746,"node_id":"MDQ6VXNlcjIzNTgzNzQ2","avatar_url":"https://avatars1.githubusercontent.com/u/23583746?v=4","gravatar_id":"","url":"https://api.github.com/users/colinbarstow","html_url":"https://github.com/colinbarstow","followers_url":"https://api.github.com/users/colinbarstow/followers","following_url":"https://api.github.com/users/colinbarstow/following{/other_user}","gists_url":"https://api.github.com/users/colinbarstow/gists{/gist_id}","starred_url":"https://api.github.com/users/colinbarstow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinbarstow/subscriptions","organizations_url":"https://api.github.com/users/colinbarstow/orgs","repos_url":"https://api.github.com/users/colinbarstow/repos","events_url":"https://api.github.com/users/colinbarstow/events{/privacy}","received_events_url":"https://api.github.com/users/colinbarstow/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-06T17:54:28Z","updated_at":"2018-10-09T09:39:05Z","closed_at":"2018-10-09T09:39:05Z","author_association":"NONE","body":"I am not doing anything different to the documentation but for reason every time i call newSubscription() I am getting two subscriptions created in both my database and stripe subscriptions. \r\n\r\nMy code is simply this:\r\n\r\n```php\r\n$user->newSubscription($membershipPlan->title, $membershipPlan->stripe_id)->create($stripeToken);\r\n```\r\n\r\nI am on local host just using test details, could it be some sort of timeout issue?\r\n\r\nI am pulling my hair out, i've never had this issue before. Any help would be very much appreciated."}}
{"actor":{"display_login":"driesvints"}}