{"action":"created","issue":{"url":"https://api.github.com/repos/django/djangoproject.com/issues/360","labels_url":"https://api.github.com/repos/django/djangoproject.com/issues/360/labels{/name}","comments_url":"https://api.github.com/repos/django/djangoproject.com/issues/360/comments","events_url":"https://api.github.com/repos/django/djangoproject.com/issues/360/events","html_url":"https://github.com/django/djangoproject.com/pull/360","id":55417541,"number":360,"title":"Improve error handling in payment form and add receipt email. Fix #342","user":{"login":"jezdez","id":1610,"avatar_url":"https://avatars.githubusercontent.com/u/1610?v=3","gravatar_id":"","url":"https://api.github.com/users/jezdez","html_url":"https://github.com/jezdez","followers_url":"https://api.github.com/users/jezdez/followers","following_url":"https://api.github.com/users/jezdez/following{/other_user}","gists_url":"https://api.github.com/users/jezdez/gists{/gist_id}","starred_url":"https://api.github.com/users/jezdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jezdez/subscriptions","organizations_url":"https://api.github.com/users/jezdez/orgs","repos_url":"https://api.github.com/users/jezdez/repos","events_url":"https://api.github.com/users/jezdez/events{/privacy}","received_events_url":"https://api.github.com/users/jezdez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-25T14:33:53Z","updated_at":"2015-01-25T14:47:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/django/djangoproject.com/pulls/360","html_url":"https://github.com/django/djangoproject.com/pull/360","diff_url":"https://github.com/django/djangoproject.com/pull/360.diff","patch_url":"https://github.com/django/djangoproject.com/pull/360.patch"},"body":"- raise a new DonationError for:\r\n - invalid card\r\n - some kind of error querying the Stripe API (e.g. reuse of stripe token)\r\n - broken network connection to Stripe API\r\n\r\n- let errors bubble up:\r\n - auth tokens are wrong (we've changed them?)\r\n - other stripe errors and general exceptions\r\n\r\n- added tests for new behavior\r\n\r\n- improved frontend help for payment form\r\n\r\n- stop passing fixed_amount to template since it's unused\r\n\r\n- Added optional email field to send Stripe receipt to.\r\n\r\n- Added tabindex to donation form fields.\r\n\r\n- Improved DjangoHero and Donation admin UI.\r\n\r\n- Change color of submit button and other call-to-action things on focus."},"comment":{"url":"https://api.github.com/repos/django/djangoproject.com/issues/comments/71375706","html_url":"https://github.com/django/djangoproject.com/pull/360#issuecomment-71375706","issue_url":"https://api.github.com/repos/django/djangoproject.com/issues/360","id":71375706,"user":{"login":"jezdez","id":1610,"avatar_url":"https://avatars.githubusercontent.com/u/1610?v=3","gravatar_id":"","url":"https://api.github.com/users/jezdez","html_url":"https://github.com/jezdez","followers_url":"https://api.github.com/users/jezdez/followers","following_url":"https://api.github.com/users/jezdez/following{/other_user}","gists_url":"https://api.github.com/users/jezdez/gists{/gist_id}","starred_url":"https://api.github.com/users/jezdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jezdez/subscriptions","organizations_url":"https://api.github.com/users/jezdez/orgs","repos_url":"https://api.github.com/users/jezdez/repos","events_url":"https://api.github.com/users/jezdez/events{/privacy}","received_events_url":"https://api.github.com/users/jezdez/received_events","type":"User","site_admin":false},"created_at":"2015-01-25T14:47:40Z","updated_at":"2015-01-25T14:47:40Z","body":"BTW, test coverage via Travis is currently broken due to https://github.com/travis-ci/travis-ci/issues/3138"}}