{"action":"created","issue":{"url":"https://api.github.com/repos/mitodl/micromasters/issues/844","repository_url":"https://api.github.com/repos/mitodl/micromasters","labels_url":"https://api.github.com/repos/mitodl/micromasters/issues/844/labels{/name}","comments_url":"https://api.github.com/repos/mitodl/micromasters/issues/844/comments","events_url":"https://api.github.com/repos/mitodl/micromasters/issues/844/events","html_url":"https://github.com/mitodl/micromasters/issues/844","id":171218698,"number":844,"title":"pay for a course on edX","user":{"login":"pdpinch","id":430126,"avatar_url":"https://avatars.githubusercontent.com/u/430126?v=3","gravatar_id":"","url":"https://api.github.com/users/pdpinch","html_url":"https://github.com/pdpinch","followers_url":"https://api.github.com/users/pdpinch/followers","following_url":"https://api.github.com/users/pdpinch/following{/other_user}","gists_url":"https://api.github.com/users/pdpinch/gists{/gist_id}","starred_url":"https://api.github.com/users/pdpinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdpinch/subscriptions","organizations_url":"https://api.github.com/users/pdpinch/orgs","repos_url":"https://api.github.com/users/pdpinch/repos","events_url":"https://api.github.com/users/pdpinch/events{/privacy}","received_events_url":"https://api.github.com/users/pdpinch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"noisecapella","id":863262,"avatar_url":"https://avatars.githubusercontent.com/u/863262?v=3","gravatar_id":"","url":"https://api.github.com/users/noisecapella","html_url":"https://github.com/noisecapella","followers_url":"https://api.github.com/users/noisecapella/followers","following_url":"https://api.github.com/users/noisecapella/following{/other_user}","gists_url":"https://api.github.com/users/noisecapella/gists{/gist_id}","starred_url":"https://api.github.com/users/noisecapella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noisecapella/subscriptions","organizations_url":"https://api.github.com/users/noisecapella/orgs","repos_url":"https://api.github.com/users/noisecapella/repos","events_url":"https://api.github.com/users/noisecapella/events{/privacy}","received_events_url":"https://api.github.com/users/noisecapella/received_events","type":"User","site_admin":false},"assignees":[{"login":"noisecapella","id":863262,"avatar_url":"https://avatars.githubusercontent.com/u/863262?v=3","gravatar_id":"","url":"https://api.github.com/users/noisecapella","html_url":"https://github.com/noisecapella","followers_url":"https://api.github.com/users/noisecapella/followers","following_url":"https://api.github.com/users/noisecapella/following{/other_user}","gists_url":"https://api.github.com/users/noisecapella/gists{/gist_id}","starred_url":"https://api.github.com/users/noisecapella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noisecapella/subscriptions","organizations_url":"https://api.github.com/users/noisecapella/orgs","repos_url":"https://api.github.com/users/noisecapella/repos","events_url":"https://api.github.com/users/noisecapella/events{/privacy}","received_events_url":"https://api.github.com/users/noisecapella/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-08-15T17:29:35Z","updated_at":"2016-08-16T20:13:28Z","closed_at":null,"body":"As a user I'd like to pay for my course on edX.\r\n\r\nOn clicking enroll, we'll ask user for credit card information\r\nOn clicking save, we'll charge user's credit card using MIT's CyberSource account\r\n\r\n- [ ] Choose Python SOAP library\r\n- [ ] Choose JavaScript SOAP library\r\n- [ ] JavaScript client that can submit credit card and order to Cybersource\r\n- [ ] write more stories based on what we find. "},"comment":{"url":"https://api.github.com/repos/mitodl/micromasters/issues/comments/240223309","html_url":"https://github.com/mitodl/micromasters/issues/844#issuecomment-240223309","issue_url":"https://api.github.com/repos/mitodl/micromasters/issues/844","id":240223309,"user":{"login":"noisecapella","id":863262,"avatar_url":"https://avatars.githubusercontent.com/u/863262?v=3","gravatar_id":"","url":"https://api.github.com/users/noisecapella","html_url":"https://github.com/noisecapella","followers_url":"https://api.github.com/users/noisecapella/followers","following_url":"https://api.github.com/users/noisecapella/following{/other_user}","gists_url":"https://api.github.com/users/noisecapella/gists{/gist_id}","starred_url":"https://api.github.com/users/noisecapella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noisecapella/subscriptions","organizations_url":"https://api.github.com/users/noisecapella/orgs","repos_url":"https://api.github.com/users/noisecapella/repos","events_url":"https://api.github.com/users/noisecapella/events{/privacy}","received_events_url":"https://api.github.com/users/noisecapella/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T20:13:28Z","updated_at":"2016-08-16T20:13:28Z","body":"Here's sample XML from an outbound request I got from their PHP client:\r\n\r\n    <?xml version=\"1.0\"?>\r\n    <SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns1=\"urn:schemas-cybersource-com:transaction-data-1.120\" xmlns:ns2=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\">\r\n      <SOAP-ENV:Header>\r\n        <ns2:Security SOAP-ENV:mustUnderstand=\"1\">\r\n          <ns2:UsernameToken>\r\n            <ns2:Username>mit_odl_ccx</ns2:Username>\r\n            <ns2:Password>your_transaction_key</ns2:Password>\r\n          </ns2:UsernameToken>\r\n        </ns2:Security>\r\n      </SOAP-ENV:Header>\r\n      <SOAP-ENV:Body>\r\n        <ns1:requestMessage>\r\n          <ns1:merchantID>mit_odl_ccx</ns1:merchantID>\r\n          <ns1:merchantReferenceCode>your_merchant_reference_code</ns1:merchantReferenceCode>\r\n          <ns1:clientLibrary>CyberSource PHP 1.0.0</ns1:clientLibrary>\r\n          <ns1:clientLibraryVersion>5.6.11-1ubuntu3.4</ns1:clientLibraryVersion>\r\n          <ns1:clientEnvironment>Linux george-laptop 4.2.0-41-generic #48-Ubuntu SMP Fri Jun 24 11:28:43 UTC 2016 x86_64</ns1:clientEnvironment>\r\n          <ns1:billTo>\r\n            <ns1:firstName>John</ns1:firstName>\r\n            <ns1:lastName>Doe</ns1:lastName>\r\n            <ns1:street1>1295 Charleston Road</ns1:street1>\r\n            <ns1:city>Mountain View</ns1:city>\r\n            <ns1:state>CA</ns1:state>\r\n            <ns1:postalCode>94043</ns1:postalCode>\r\n            <ns1:country>US</ns1:country>\r\n            <ns1:email>null@cybersource.com</ns1:email>\r\n            <ns1:ipAddress>10.7.111.111</ns1:ipAddress>\r\n          </ns1:billTo>\r\n          <ns1:purchaseTotals>\r\n            <ns1:currency>USD</ns1:currency>\r\n            <ns1:grandTotalAmount>90.01</ns1:grandTotalAmount>\r\n          </ns1:purchaseTotals>\r\n          <ns1:card>\r\n            <ns1:accountNumber>4111111111111111</ns1:accountNumber>\r\n            <ns1:expirationMonth>12</ns1:expirationMonth>\r\n            <ns1:expirationYear>2020</ns1:expirationYear>\r\n          </ns1:card>\r\n          <ns1:ccAuthService run=\"true\"/>\r\n          <ns1:ccCaptureService run=\"true\"/>\r\n        </ns1:requestMessage>\r\n      </SOAP-ENV:Body>\r\n    </SOAP-ENV:Envelope>\r\n"}}
{"actor":{"display_login":"noisecapella"}}