{"action":"opened","issue":{"url":"https://api.github.com/repos/mozilla/payments-ui/issues/378","labels_url":"https://api.github.com/repos/mozilla/payments-ui/issues/378/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/payments-ui/issues/378/comments","events_url":"https://api.github.com/repos/mozilla/payments-ui/issues/378/events","html_url":"https://github.com/mozilla/payments-ui/issues/378","id":104297598,"number":378,"title":"Sign out before processing an email-only donation","user":{"login":"kumar303","id":55398,"avatar_url":"https://avatars.githubusercontent.com/u/55398?v=3","gravatar_id":"","url":"https://api.github.com/users/kumar303","html_url":"https://github.com/kumar303","followers_url":"https://api.github.com/users/kumar303/followers","following_url":"https://api.github.com/users/kumar303/following{/other_user}","gists_url":"https://api.github.com/users/kumar303/gists{/gist_id}","starred_url":"https://api.github.com/users/kumar303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumar303/subscriptions","organizations_url":"https://api.github.com/users/kumar303/orgs","repos_url":"https://api.github.com/users/kumar303/repos","events_url":"https://api.github.com/users/kumar303/events{/privacy}","received_events_url":"https://api.github.com/users/kumar303/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-01T15:57:42Z","updated_at":"2015-09-01T15:57:42Z","closed_at":null,"body":"When submitting a donation (one-time or recurring), the user can enter an email address. If they are already signed in but the email they enter is *different* from their signed-in email then the backend endpoint will get confused. You'll see an error like 'buyer does not exist' when creating the donation. We could fix this by either signing out first from the UI to clear the cookie (that's good as a quick fix) or disallow a custom email entry when the user is signed in. In other words: show their email address at the top so that they know they are subscribing with their existing user account."}}