GitHub PullRequestEvent at 2014-03-27 23:36:04
Repository: cashier
Actor: briankiewel
Payload: {"action":"opened","number":38,"pull_request":{"url":"https://api.github.com/repos/laravel/cashier/pulls/38","id":14088869,"html_url":"https://github.com/laravel/cashier/pull/38","diff_url":"https://github.com/laravel/cashier/pull/38.diff","patch_url":"https://github.com/laravel/cashier/pull/38.patch","issue_url":"https://api.github.com/repos/laravel/cashier/issues/38","number":38,"state":"open","title":"A couple no card up front fixes","user":{"login":"briankiewel","id":1514568,"avatar_url":"https://avatars.githubusercontent.com/u/1514568?","gravatar_id":"480bbb7ccf0f09a5ecc31d743a8c8941","url":"https://api.github.com/users/briankiewel","html_url":"https://github.com/briankiewel","followers_url":"https://api.github.com/users/briankiewel/followers","following_url":"https://api.github.com/users/briankiewel/following{/other_user}","gists_url":"https://api.github.com/users/briankiewel/gists{/gist_id}","starred_url":"https://api.github.com/users/briankiewel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briankiewel/subscriptions","organizations_url":"https://api.github.com/users/briankiewel/orgs","repos_url":"https://api.github.com/users/briankiewel/repos","events_url":"https://api.github.com/users/briankiewel/events{/privacy}","received_events_url":"https://api.github.com/users/briankiewel/received_events","type":"User","site_admin":false},"body":"When creating a new subscription without a token, Cashier was attempting to load the last four of the user's default card which obviously didn't exist. The error below was showing on subscribe.\r\n\r\n    Unrecognized request URL (GET: /v1/customers/cus_xxxxxxxxxxxxxx/cards/). Please see https://stripe.com/docs or we can help at https://support.stripe.com/.\r\n\r\nAlso set `$token` to default null so no card up front subscriptions can be created with just `create()` instead of `create(null)`.","created_at":"2014-03-27T23:36:04Z","updated_at":"2014-03-27T23:36:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/laravel/cashier/pulls/38/commits","review_comments_url":"https://api.github.com/repos/laravel/cashier/pulls/38/comments","review_comment_url":"https://api.github.com/repos/laravel/cashier/pulls/comments/{number}","comments_url":"https://api.github.com/repos/laravel/cashier/issues/38/comments","statuses_url":"https://api.github.com/repos/laravel/cashier/statuses/75e543efb84389939bfd9e6f396f933a54c3adb7","head":{"label":"briankiewel:develop","ref":"develop","sha":"75e543efb84389939bfd9e6f396f933a54c3adb7","user":{"login":"briankiewel","id":1514568,"avatar_url":"https://avatars.githubusercontent.com/u/1514568?","gravatar_id":"480bbb7ccf0f09a5ecc31d743a8c8941","url":"https://api.github.com/users/briankiewel","html_url":"https://github.com/briankiewel","followers_url":"https://api.github.com/users/briankiewel/followers","following_url":"https://api.github.com/users/briankiewel/following{/other_user}","gists_url":"https://api.github.com/users/briankiewel/gists{/gist_id}","starred_url":"https://api.github.com/users/briankiewel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briankiewel/subscriptions","organizations_url":"https://api.github.com/users/briankiewel/orgs","repos_url":"https://api.github.com/users/briankiewel/repos","events_url":"https://api.github.com/users/briankiewel/events{/privacy}","received_events_url":"https://api.github.com/users/briankiewel/received_events","type":"User","site_admin":false},"repo":{"id":17407809,"name":"cashier","full_name":"briankiewel/cashier","owner":{"login":"briankiewel","id":1514568,"avatar_url":"https://avatars.githubusercontent.com/u/1514568?","gravatar_id":"480bbb7ccf0f09a5ecc31d743a8c8941","url":"https://api.github.com/users/briankiewel","html_url":"https://github.com/briankiewel","followers_url":"https://api.github.com/users/briankiewel/followers","following_url":"https://api.github.com/users/briankiewel/following{/other_user}","gists_url":"https://api.github.com/users/briankiewel/gists{/gist_id}","starred_url":"https://api.github.com/users/briankiewel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briankiewel/subscriptions","organizations_url":"https://api.github.com/users/briankiewel/orgs","repos_url":"https://api.github.com/users/briankiewel/repos","events_url":"https://api.github.com/users/briankiewel/events{/privacy}","received_events_url":"https://api.github.com/users/briankiewel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/briankiewel/cashier","description":"Laravel + Stripe = Painless subscription billing.","fork":true,"url":"https://api.github.com/repos/briankiewel/cashier","forks_url":"https://api.github.com/repos/briankiewel/cashier/forks","keys_url":"https://api.github.com/repos/briankiewel/cashier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/briankiewel/cashier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/briankiewel/cashier/teams","hooks_url":"https://api.github.com/repos/briankiewel/cashier/hooks","issue_events_url":"https://api.github.com/repos/briankiewel/cashier/issues/events{/number}","events_url":"https://api.github.com/repos/briankiewel/cashier/events","assignees_url":"https://api.github.com/repos/briankiewel/cashier/assignees{/user}","branches_url":"https://api.github.com/repos/briankiewel/cashier/branches{/branch}","tags_url":"https://api.github.com/repos/briankiewel/cashier/tags","blobs_url":"https://api.github.com/repos/briankiewel/cashier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/briankiewel/cashier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/briankiewel/cashier/git/refs{/sha}","trees_url":"https://api.github.com/repos/briankiewel/cashier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/briankiewel/cashier/statuses/{sha}","languages_url":"https://api.github.com/repos/briankiewel/cashier/languages","stargazers_url":"https://api.github.com/repos/briankiewel/cashier/stargazers","contributors_url":"https://api.github.com/repos/briankiewel/cashier/contributors","subscribers_url":"https://api.github.com/repos/briankiewel/cashier/subscribers","subscription_url":"https://api.github.com/repos/briankiewel/cashier/subscription","commits_url":"https://api.github.com/repos/briankiewel/cashier/commits{/sha}","git_commits_url":"https://api.github.com/repos/briankiewel/cashier/git/commits{/sha}","comments_url":"https://api.github.com/repos/briankiewel/cashier/comments{/number}","issue_comment_url":"https://api.github.com/repos/briankiewel/cashier/issues/comments/{number}","contents_url":"https://api.github.com/repos/briankiewel/cashier/contents/{+path}","compare_url":"https://api.github.com/repos/briankiewel/cashier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/briankiewel/cashier/merges","archive_url":"https://api.github.com/repos/briankiewel/cashier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/briankiewel/cashier/downloads","issues_url":"https://api.github.com/repos/briankiewel/cashier/issues{/number}","pulls_url":"https://api.github.com/repos/briankiewel/cashier/pulls{/number}","milestones_url":"https://api.github.com/repos/briankiewel/cashier/milestones{/number}","notifications_url":"https://api.github.com/repos/briankiewel/cashier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/briankiewel/cashier/labels{/name}","releases_url":"https://api.github.com/repos/briankiewel/cashier/releases{/id}","created_at":"2014-03-04T16:02:20Z","updated_at":"2014-03-27T23:36:04Z","pushed_at":"2014-03-27T23:24:46Z","git_url":"git://github.com/briankiewel/cashier.git","ssh_url":"git@github.com:briankiewel/cashier.git","clone_url":"https://github.com/briankiewel/cashier.git","svn_url":"https://github.com/briankiewel/cashier","homepage":"http://laravel.com","size":45688,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"laravel:master","ref":"master","sha":"831959619787aac82b09d0d45a26d051d2e285dd","user":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?","gravatar_id":"94305630bd933660cf2597c0f9c548d4","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"repo":{"id":17388759,"name":"cashier","full_name":"laravel/cashier","owner":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?","gravatar_id":"94305630bd933660cf2597c0f9c548d4","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/laravel/cashier","description":"Laravel + Stripe = Painless subscription billing.","fork":false,"url":"https://api.github.com/repos/laravel/cashier","forks_url":"https://api.github.com/repos/laravel/cashier/forks","keys_url":"https://api.github.com/repos/laravel/cashier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laravel/cashier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laravel/cashier/teams","hooks_url":"https://api.github.com/repos/laravel/cashier/hooks","issue_events_url":"https://api.github.com/repos/laravel/cashier/issues/events{/number}","events_url":"https://api.github.com/repos/laravel/cashier/events","assignees_url":"https://api.github.com/repos/laravel/cashier/assignees{/user}","branches_url":"https://api.github.com/repos/laravel/cashier/branches{/branch}","tags_url":"https://api.github.com/repos/laravel/cashier/tags","blobs_url":"https://api.github.com/repos/laravel/cashier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laravel/cashier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laravel/cashier/git/refs{/sha}","trees_url":"https://api.github.com/repos/laravel/cashier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laravel/cashier/statuses/{sha}","languages_url":"https://api.github.com/repos/laravel/cashier/languages","stargazers_url":"https://api.github.com/repos/laravel/cashier/stargazers","contributors_url":"https://api.github.com/repos/laravel/cashier/contributors","subscribers_url":"https://api.github.com/repos/laravel/cashier/subscribers","subscription_url":"https://api.github.com/repos/laravel/cashier/subscription","commits_url":"https://api.github.com/repos/laravel/cashier/commits{/sha}","git_commits_url":"https://api.github.com/repos/laravel/cashier/git/commits{/sha}","comments_url":"https://api.github.com/repos/laravel/cashier/comments{/number}","issue_comment_url":"https://api.github.com/repos/laravel/cashier/issues/comments/{number}","contents_url":"https://api.github.com/repos/laravel/cashier/contents/{+path}","compare_url":"https://api.github.com/repos/laravel/cashier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laravel/cashier/merges","archive_url":"https://api.github.com/repos/laravel/cashier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laravel/cashier/downloads","issues_url":"https://api.github.com/repos/laravel/cashier/issues{/number}","pulls_url":"https://api.github.com/repos/laravel/cashier/pulls{/number}","milestones_url":"https://api.github.com/repos/laravel/cashier/milestones{/number}","notifications_url":"https://api.github.com/repos/laravel/cashier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laravel/cashier/labels{/name}","releases_url":"https://api.github.com/repos/laravel/cashier/releases{/id}","created_at":"2014-03-04T03:11:44Z","updated_at":"2014-03-25T20:40:50Z","pushed_at":"2014-03-25T20:40:52Z","git_url":"git://github.com/laravel/cashier.git","ssh_url":"git@github.com:laravel/cashier.git","clone_url":"https://github.com/laravel/cashier.git","svn_url":"https://github.com/laravel/cashier","homepage":"http://laravel.com","size":46230,"stargazers_count":484,"watchers_count":484,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":41,"mirror_url":null,"open_issues_count":9,"forks":41,"open_issues":9,"watchers":484,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/laravel/cashier/pulls/38"},"html":{"href":"https://github.com/laravel/cashier/pull/38"},"issue":{"href":"https://api.github.com/repos/laravel/cashier/issues/38"},"comments":{"href":"https://api.github.com/repos/laravel/cashier/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/laravel/cashier/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/laravel/cashier/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/laravel/cashier/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/laravel/cashier/statuses/75e543efb84389939bfd9e6f396f933a54c3adb7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":6,"deletions":3,"changed_files":1}}