{"action":"closed","number":149,"pull_request":{"url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/pulls/149","id":81395554,"html_url":"https://github.com/drastik/com.drastikbydesign.stripe/pull/149","diff_url":"https://github.com/drastik/com.drastikbydesign.stripe/pull/149.diff","patch_url":"https://github.com/drastik/com.drastikbydesign.stripe/pull/149.patch","issue_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/issues/149","number":149,"state":"closed","locked":false,"title":"Errors when donors repeat across multiple stripe accounts","user":{"login":"agh1","id":1682375,"avatar_url":"https://avatars.githubusercontent.com/u/1682375?v=3","gravatar_id":"","url":"https://api.github.com/users/agh1","html_url":"https://github.com/agh1","followers_url":"https://api.github.com/users/agh1/followers","following_url":"https://api.github.com/users/agh1/following{/other_user}","gists_url":"https://api.github.com/users/agh1/gists{/gist_id}","starred_url":"https://api.github.com/users/agh1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agh1/subscriptions","organizations_url":"https://api.github.com/users/agh1/orgs","repos_url":"https://api.github.com/users/agh1/repos","events_url":"https://api.github.com/users/agh1/events{/privacy}","received_events_url":"https://api.github.com/users/agh1/received_events","type":"User","site_admin":false},"body":"If a site has two stripe accounts and someone donates via one and then via the other, the second contribution will fail because the customer ID won't be found in the other account.  This bypasses that by checking the payment processor ID.\r\n\r\nNOTE: This is tested in 4.6 on one-off donations.  I have not tested this on subscriptions or plans because our client with multiple accounts does not have those.  I have no reason to think that it won't work there, but I can't vouch for it.","created_at":"2016-08-15T23:56:43Z","updated_at":"2016-08-16T16:25:46Z","closed_at":"2016-08-16T16:25:46Z","merged_at":"2016-08-16T16:25:46Z","merge_commit_sha":"110ad478c06983e13c742bd78e884cac6ffb9837","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/pulls/149/commits","review_comments_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/pulls/149/comments","review_comment_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/issues/149/comments","statuses_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/statuses/472bbaa28c9152ccc8006f568c480dfe18b255e5","head":{"label":"aghstrategies:multi-customer-list-4.6","ref":"multi-customer-list-4.6","sha":"472bbaa28c9152ccc8006f568c480dfe18b255e5","user":{"login":"aghstrategies","id":9421263,"avatar_url":"https://avatars.githubusercontent.com/u/9421263?v=3","gravatar_id":"","url":"https://api.github.com/users/aghstrategies","html_url":"https://github.com/aghstrategies","followers_url":"https://api.github.com/users/aghstrategies/followers","following_url":"https://api.github.com/users/aghstrategies/following{/other_user}","gists_url":"https://api.github.com/users/aghstrategies/gists{/gist_id}","starred_url":"https://api.github.com/users/aghstrategies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghstrategies/subscriptions","organizations_url":"https://api.github.com/users/aghstrategies/orgs","repos_url":"https://api.github.com/users/aghstrategies/repos","events_url":"https://api.github.com/users/aghstrategies/events{/privacy}","received_events_url":"https://api.github.com/users/aghstrategies/received_events","type":"Organization","site_admin":false},"repo":{"id":62084970,"name":"com.drastikbydesign.stripe","full_name":"aghstrategies/com.drastikbydesign.stripe","owner":{"login":"aghstrategies","id":9421263,"avatar_url":"https://avatars.githubusercontent.com/u/9421263?v=3","gravatar_id":"","url":"https://api.github.com/users/aghstrategies","html_url":"https://github.com/aghstrategies","followers_url":"https://api.github.com/users/aghstrategies/followers","following_url":"https://api.github.com/users/aghstrategies/following{/other_user}","gists_url":"https://api.github.com/users/aghstrategies/gists{/gist_id}","starred_url":"https://api.github.com/users/aghstrategies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghstrategies/subscriptions","organizations_url":"https://api.github.com/users/aghstrategies/orgs","repos_url":"https://api.github.com/users/aghstrategies/repos","events_url":"https://api.github.com/users/aghstrategies/events{/privacy}","received_events_url":"https://api.github.com/users/aghstrategies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aghstrategies/com.drastikbydesign.stripe","description":"CMS Independent Stripe payment processor for CiviCRM 4.x","fork":true,"url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe","forks_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/forks","keys_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/teams","hooks_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/hooks","issue_events_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/issues/events{/number}","events_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/events","assignees_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/assignees{/user}","branches_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/branches{/branch}","tags_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/tags","blobs_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/git/refs{/sha}","trees_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/statuses/{sha}","languages_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/languages","stargazers_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/stargazers","contributors_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/contributors","subscribers_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/subscribers","subscription_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/subscription","commits_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/commits{/sha}","git_commits_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/git/commits{/sha}","comments_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/comments{/number}","issue_comment_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/issues/comments{/number}","contents_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/contents/{+path}","compare_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/merges","archive_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/downloads","issues_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/issues{/number}","pulls_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/pulls{/number}","milestones_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/milestones{/number}","notifications_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/labels{/name}","releases_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/releases{/id}","deployments_url":"https://api.github.com/repos/aghstrategies/com.drastikbydesign.stripe/deployments","created_at":"2016-06-27T20:14:30Z","updated_at":"2016-06-27T20:14:31Z","pushed_at":"2016-08-15T23:58:29Z","git_url":"git://github.com/aghstrategies/com.drastikbydesign.stripe.git","ssh_url":"git@github.com:aghstrategies/com.drastikbydesign.stripe.git","clone_url":"https://github.com/aghstrategies/com.drastikbydesign.stripe.git","svn_url":"https://github.com/aghstrategies/com.drastikbydesign.stripe","homepage":null,"size":452,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"4.7-dev"}},"base":{"label":"drastik:4.6-dev","ref":"4.6-dev","sha":"69fc43c51869e7d096e69474829772371c8b7bde","user":{"login":"drastik","id":1258227,"avatar_url":"https://avatars.githubusercontent.com/u/1258227?v=3","gravatar_id":"","url":"https://api.github.com/users/drastik","html_url":"https://github.com/drastik","followers_url":"https://api.github.com/users/drastik/followers","following_url":"https://api.github.com/users/drastik/following{/other_user}","gists_url":"https://api.github.com/users/drastik/gists{/gist_id}","starred_url":"https://api.github.com/users/drastik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drastik/subscriptions","organizations_url":"https://api.github.com/users/drastik/orgs","repos_url":"https://api.github.com/users/drastik/repos","events_url":"https://api.github.com/users/drastik/events{/privacy}","received_events_url":"https://api.github.com/users/drastik/received_events","type":"User","site_admin":false},"repo":{"id":5255392,"name":"com.drastikbydesign.stripe","full_name":"drastik/com.drastikbydesign.stripe","owner":{"login":"drastik","id":1258227,"avatar_url":"https://avatars.githubusercontent.com/u/1258227?v=3","gravatar_id":"","url":"https://api.github.com/users/drastik","html_url":"https://github.com/drastik","followers_url":"https://api.github.com/users/drastik/followers","following_url":"https://api.github.com/users/drastik/following{/other_user}","gists_url":"https://api.github.com/users/drastik/gists{/gist_id}","starred_url":"https://api.github.com/users/drastik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drastik/subscriptions","organizations_url":"https://api.github.com/users/drastik/orgs","repos_url":"https://api.github.com/users/drastik/repos","events_url":"https://api.github.com/users/drastik/events{/privacy}","received_events_url":"https://api.github.com/users/drastik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/drastik/com.drastikbydesign.stripe","description":"CMS Independent Stripe payment processor for CiviCRM 4.x","fork":false,"url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe","forks_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/forks","keys_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/teams","hooks_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/hooks","issue_events_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/issues/events{/number}","events_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/events","assignees_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/assignees{/user}","branches_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/branches{/branch}","tags_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/tags","blobs_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/git/refs{/sha}","trees_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/statuses/{sha}","languages_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/languages","stargazers_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/stargazers","contributors_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/contributors","subscribers_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/subscribers","subscription_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/subscription","commits_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/commits{/sha}","git_commits_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/git/commits{/sha}","comments_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/comments{/number}","issue_comment_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/issues/comments{/number}","contents_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/contents/{+path}","compare_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/merges","archive_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/downloads","issues_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/issues{/number}","pulls_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/pulls{/number}","milestones_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/milestones{/number}","notifications_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/labels{/name}","releases_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/releases{/id}","deployments_url":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/deployments","created_at":"2012-08-01T05:34:47Z","updated_at":"2016-07-17T10:15:00Z","pushed_at":"2016-08-16T16:25:46Z","git_url":"git://github.com/drastik/com.drastikbydesign.stripe.git","ssh_url":"git@github.com:drastik/com.drastikbydesign.stripe.git","clone_url":"https://github.com/drastik/com.drastikbydesign.stripe.git","svn_url":"https://github.com/drastik/com.drastikbydesign.stripe","homepage":null,"size":509,"stargazers_count":30,"watchers_count":30,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":52,"forks":39,"open_issues":52,"watchers":30,"default_branch":"4.7-dev"}},"_links":{"self":{"href":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/pulls/149"},"html":{"href":"https://github.com/drastik/com.drastikbydesign.stripe/pull/149"},"issue":{"href":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/issues/149"},"comments":{"href":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/issues/149/comments"},"review_comments":{"href":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/pulls/149/comments"},"review_comment":{"href":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/pulls/149/commits"},"statuses":{"href":"https://api.github.com/repos/drastik/com.drastikbydesign.stripe/statuses/472bbaa28c9152ccc8006f568c480dfe18b255e5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"drastik","id":1258227,"avatar_url":"https://avatars.githubusercontent.com/u/1258227?v=3","gravatar_id":"","url":"https://api.github.com/users/drastik","html_url":"https://github.com/drastik","followers_url":"https://api.github.com/users/drastik/followers","following_url":"https://api.github.com/users/drastik/following{/other_user}","gists_url":"https://api.github.com/users/drastik/gists{/gist_id}","starred_url":"https://api.github.com/users/drastik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drastik/subscriptions","organizations_url":"https://api.github.com/users/drastik/orgs","repos_url":"https://api.github.com/users/drastik/repos","events_url":"https://api.github.com/users/drastik/events{/privacy}","received_events_url":"https://api.github.com/users/drastik/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":4,"additions":67,"deletions":14,"changed_files":3}}
{"actor":{"display_login":"drastik"}}