{"action":"closed","issue":{"url":"https://api.github.com/repos/bryan--p/stripe-apps-script/issues/1","repository_url":"https://api.github.com/repos/bryan--p/stripe-apps-script","labels_url":"https://api.github.com/repos/bryan--p/stripe-apps-script/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/bryan--p/stripe-apps-script/issues/1/comments","events_url":"https://api.github.com/repos/bryan--p/stripe-apps-script/issues/1/events","html_url":"https://github.com/bryan--p/stripe-apps-script/issues/1","id":113843527,"number":1,"title":"Where should I edit?","user":{"login":"RyosukeTakahashi","id":12992519,"avatar_url":"https://avatars.githubusercontent.com/u/12992519?v=3","gravatar_id":"","url":"https://api.github.com/users/RyosukeTakahashi","html_url":"https://github.com/RyosukeTakahashi","followers_url":"https://api.github.com/users/RyosukeTakahashi/followers","following_url":"https://api.github.com/users/RyosukeTakahashi/following{/other_user}","gists_url":"https://api.github.com/users/RyosukeTakahashi/gists{/gist_id}","starred_url":"https://api.github.com/users/RyosukeTakahashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyosukeTakahashi/subscriptions","organizations_url":"https://api.github.com/users/RyosukeTakahashi/orgs","repos_url":"https://api.github.com/users/RyosukeTakahashi/repos","events_url":"https://api.github.com/users/RyosukeTakahashi/events{/privacy}","received_events_url":"https://api.github.com/users/RyosukeTakahashi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-28T15:10:38Z","updated_at":"2016-02-17T06:07:56Z","closed_at":"2016-02-17T06:07:56Z","body":"Thank you for the great script !\r\nExactly what i was looking for.\r\nHowever, I'm having some trouble using your code.\r\nI have copied your code and made 2 files(gs.gs and HTML.html) to my google apps script project and edited the public key.\r\nDeployed it as a web app and clicked the purchase button and the form appears.\r\nEntered the \"4242 4242 4242 4242\" test number and other information.\r\n\r\n<img width=\"416\" alt=\"2015-10-28 23 46 16\" src=\"https://cloud.githubusercontent.com/assets/12992519/10792030/588835b6-7dce-11e5-90c5-51ea58aaa6cd.png\">\r\n\r\nThen clicked Pay 30000 yen button. The Pay 30000 button changes the color and it seems as though the payment has succeeded.\r\n\r\nHowever, if I check my stripe dashboard there is no payment and no added customer. I am sure that I am in the test mode in my dashboard,.\r\n\r\nThe only code I changed is the \"YOUR PUBLIC KEY\" and some part like currency and amount.\r\nIs there anything else I should edit?\r\n\r\nAnd this is another question. How do I save the card detail only (for charging it later) ?"}}