{"action":"created","issue":{"url":"https://api.github.com/repos/gotealeaf/paypal-basics/issues/2","repository_url":"https://api.github.com/repos/gotealeaf/paypal-basics","labels_url":"https://api.github.com/repos/gotealeaf/paypal-basics/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/gotealeaf/paypal-basics/issues/2/comments","events_url":"https://api.github.com/repos/gotealeaf/paypal-basics/issues/2/events","html_url":"https://github.com/gotealeaf/paypal-basics/issues/2","id":135180814,"number":2,"title":"Fix unpaid registrations","user":{"login":"Javix","id":83579,"avatar_url":"https://avatars.githubusercontent.com/u/83579?v=3","gravatar_id":"","url":"https://api.github.com/users/Javix","html_url":"https://github.com/Javix","followers_url":"https://api.github.com/users/Javix/followers","following_url":"https://api.github.com/users/Javix/following{/other_user}","gists_url":"https://api.github.com/users/Javix/gists{/gist_id}","starred_url":"https://api.github.com/users/Javix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Javix/subscriptions","organizations_url":"https://api.github.com/users/Javix/orgs","repos_url":"https://api.github.com/users/Javix/repos","events_url":"https://api.github.com/users/Javix/events{/privacy}","received_events_url":"https://api.github.com/users/Javix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-21T09:11:17Z","updated_at":"2016-02-21T16:59:08Z","closed_at":null,"body":"Thank you for sharing PayPal basic payment described at [your blog](https://launchschool.com/blog/basic-paypal-checkout-processing-in-rails). One point which is not perfect is that if the status of PayPal payment is different from `Completed` (for whatever reason you want), you will still have one or X unpaid registrations with nil attributes: `purchased_at`, `status`, `transaction_id`."},"comment":{"url":"https://api.github.com/repos/gotealeaf/paypal-basics/issues/comments/186857710","html_url":"https://github.com/gotealeaf/paypal-basics/issues/2#issuecomment-186857710","issue_url":"https://api.github.com/repos/gotealeaf/paypal-basics/issues/2","id":186857710,"user":{"login":"knwang","id":211127,"avatar_url":"https://avatars.githubusercontent.com/u/211127?v=3","gravatar_id":"","url":"https://api.github.com/users/knwang","html_url":"https://github.com/knwang","followers_url":"https://api.github.com/users/knwang/followers","following_url":"https://api.github.com/users/knwang/following{/other_user}","gists_url":"https://api.github.com/users/knwang/gists{/gist_id}","starred_url":"https://api.github.com/users/knwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knwang/subscriptions","organizations_url":"https://api.github.com/users/knwang/orgs","repos_url":"https://api.github.com/users/knwang/repos","events_url":"https://api.github.com/users/knwang/events{/privacy}","received_events_url":"https://api.github.com/users/knwang/received_events","type":"User","site_admin":false},"created_at":"2016-02-21T16:59:08Z","updated_at":"2016-02-21T16:59:08Z","body":"Thanks @Javix \r\n\r\nAre you referring to the sample code or the article? If you can submit a PR that would be appreciated! "}}