{"action":"opened","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/5937","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/5937/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/5937/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/5937/events","html_url":"https://github.com/ampproject/amphtml/issues/5937","id":186558349,"number":5937,"title":"Use CLIENT_ID inside amp form as hidden input field","user":{"login":"kul3r4","id":820891,"avatar_url":"https://avatars.githubusercontent.com/u/820891?v=3","gravatar_id":"","url":"https://api.github.com/users/kul3r4","html_url":"https://github.com/kul3r4","followers_url":"https://api.github.com/users/kul3r4/followers","following_url":"https://api.github.com/users/kul3r4/following{/other_user}","gists_url":"https://api.github.com/users/kul3r4/gists{/gist_id}","starred_url":"https://api.github.com/users/kul3r4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kul3r4/subscriptions","organizations_url":"https://api.github.com/users/kul3r4/orgs","repos_url":"https://api.github.com/users/kul3r4/repos","events_url":"https://api.github.com/users/kul3r4/events{/privacy}","received_events_url":"https://api.github.com/users/kul3r4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-01T15:08:55Z","updated_at":"2016-11-01T15:08:55Z","closed_at":null,"body":"A way to implement a shopping cart would be using amp-form. We should be able to do a POST with an hidden field containing the CLIENT_ID and add a shopping cart button where the href should be built based on the CLIENT_ID. By clicking on this button, the used should be redirected to his own shopping cart.\r\nAt the moment we can't use CLIENT_ID variable substitution as a value for an hidden field inside an amp form. \r\n\r\n@mkhatib @cramforce @rudygalfi @sebastianbenz @jasti: adding this issue to keep track of our conversation and get updates on the progress.\r\n\r\n"}}
{"actor":{"display_login":"kul3r4"}}