{"action":"created","issue":{"url":"https://api.github.com/repos/edx/ecommerce/issues/85","labels_url":"https://api.github.com/repos/edx/ecommerce/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/edx/ecommerce/issues/85/comments","events_url":"https://api.github.com/repos/edx/ecommerce/issues/85/events","html_url":"https://github.com/edx/ecommerce/pull/85","id":73425097,"number":85,"title":"PayPal payment creation and execution","user":{"login":"rlucioni","id":969289,"avatar_url":"https://avatars.githubusercontent.com/u/969289?v=3","gravatar_id":"","url":"https://api.github.com/users/rlucioni","html_url":"https://github.com/rlucioni","followers_url":"https://api.github.com/users/rlucioni/followers","following_url":"https://api.github.com/users/rlucioni/following{/other_user}","gists_url":"https://api.github.com/users/rlucioni/gists{/gist_id}","starred_url":"https://api.github.com/users/rlucioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlucioni/subscriptions","organizations_url":"https://api.github.com/users/rlucioni/orgs","repos_url":"https://api.github.com/users/rlucioni/repos","events_url":"https://api.github.com/users/rlucioni/events{/privacy}","received_events_url":"https://api.github.com/users/rlucioni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-05T20:38:55Z","updated_at":"2015-05-07T03:13:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/ecommerce/pulls/85","html_url":"https://github.com/edx/ecommerce/pull/85","diff_url":"https://github.com/edx/ecommerce/pull/85.diff","patch_url":"https://github.com/edx/ecommerce/pull/85.patch"},"body":"This PR includes a PayPal payment processor responsible for payment creation as well as a view responsible for payment execution. At a high level, the PayPal payment process is as follows:\r\n\r\n1. Otto contacts the PayPal API to create a new payment.\r\n2. The PayPal API response includes an `approval_url` to which the user should be sent.\r\n3. Once the user approves the created payment, PayPal sends them to a page on Otto located at the `return_url` provided during payment creation.\r\n4. Otto contacts the PayPal API to execute the approved payment, and redirects the user to a receipt page on the LMS.\r\n\r\n@jimabramson and @clintonb, could you please review this when you're able?"},"comment":{"url":"https://api.github.com/repos/edx/ecommerce/issues/comments/99696711","html_url":"https://github.com/edx/ecommerce/pull/85#issuecomment-99696711","issue_url":"https://api.github.com/repos/edx/ecommerce/issues/85","id":99696711,"user":{"login":"clintonb","id":910510,"avatar_url":"https://avatars.githubusercontent.com/u/910510?v=3","gravatar_id":"","url":"https://api.github.com/users/clintonb","html_url":"https://github.com/clintonb","followers_url":"https://api.github.com/users/clintonb/followers","following_url":"https://api.github.com/users/clintonb/following{/other_user}","gists_url":"https://api.github.com/users/clintonb/gists{/gist_id}","starred_url":"https://api.github.com/users/clintonb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintonb/subscriptions","organizations_url":"https://api.github.com/users/clintonb/orgs","repos_url":"https://api.github.com/users/clintonb/repos","events_url":"https://api.github.com/users/clintonb/events{/privacy}","received_events_url":"https://api.github.com/users/clintonb/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T03:13:19Z","updated_at":"2015-05-07T03:13:19Z","body":":+1:  Please wait for a second approval from @jimabramson before merging."}}