{"id":20619668,"url":"https://github.com/twtrubiks/stripe_flask","last_synced_at":"2026-05-12T07:33:52.322Z","repository":{"id":84518988,"uuid":"72984256","full_name":"twtrubiks/Stripe_flask","owner":"twtrubiks","description":"Stripe Use Python Flask ","archived":false,"fork":false,"pushed_at":"2016-11-06T12:05:37.000Z","size":734,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T05:09:06.310Z","etag":null,"topics":["flask","python","stripe","tutorial"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/twtrubiks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-06T10:44:47.000Z","updated_at":"2020-08-20T02:10:57.000Z","dependencies_parsed_at":"2023-03-02T04:30:28.597Z","dependency_job_id":null,"html_url":"https://github.com/twtrubiks/Stripe_flask","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twtrubiks%2FStripe_flask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twtrubiks%2FStripe_flask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twtrubiks%2FStripe_flask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twtrubiks%2FStripe_flask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twtrubiks","download_url":"https://codeload.github.com/twtrubiks/Stripe_flask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242277684,"owners_count":20101542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","python","stripe","tutorial"],"created_at":"2024-11-16T12:12:14.635Z","updated_at":"2026-05-12T07:33:52.275Z","avatar_url":"https://github.com/twtrubiks.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stripe_flask\nStripe Use Python Flask \n* [Demo](https://youtu.be/GudRyyoxBRg)  \n \n相信大家都和我一樣覺得線上付款很酷!!\n\n使用Python [Flask](http://flask.pocoo.org/) 搭配 [Stripe](https://stripe.com/) 網路線上付款，希望這個簡單的範例可以幫助想要學習的朋友。\n\n## 特色\n* 透過 [Stripe](https://stripe.com/) 網路線上付款 。\n* 更多的文件可以參考 [Stripe Document](https://stripe.com/docs)\n\n## 執行說明\n請先確定電腦有安裝 [Python](https://www.python.org/)\n\n使用下列指令安裝套件\n``` \npip install stripe\n```\n\n接著使用下列指令即可運行\n``` \npython app.py\n```\n\n請去 [Stripe](https://stripe.com/) 註冊一組帳號，註冊完畢之後，\n\n請到 [HERE](https://dashboard.stripe.com/account/apikeys)，去找你自己的測試KEY，如下圖，\n\n![alt tag](http://i.imgur.com/2yeZJYw.jpg)\n\n將自己的KEY貼到程式碼裡 \n\n``` \nstripe_keys = {\n    'secret_key': 'sk_test_fPHKYTWdK5ZhuxQ3me9TOndf',\n    'publishable_key': 'pk_test_EUm15FduMZOImjeIy7dsKjdE'\n}\n```\n\nP.S KEY請換自己的!!\n\n## 執行畫面\n![alt tag](http://i.imgur.com/FdI9wZf.jpg)\n\n使用方法 : 點選 \u003cb\u003e Pay with Card \u003c/b\u003e 會看到下圖\n\n![alt tag](http://i.imgur.com/IgfOkm7.jpg)\n\n接著輸入測試資料 (如下圖) \u003cbr\u003e\n![alt tag](http://i.imgur.com/eu3MNfG.jpg)\n\n成功畫面如下\u003cbr\u003e\n![alt tag](http://i.imgur.com/UsdoYDO.jpg)\n\n下方為顯示付款過的紀錄\n![alt tag](http://i.imgur.com/eVYn23b.jpg)\n\n也可以到 [Dashboard](https://dashboard.stripe.com/test/dashboard) 看付款過的紀錄\n\n## External JS\n* [DataTables](https://datatables.net/)\n\n## 執行環境\n* Python 3.5.2\n\n## License\nMIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwtrubiks%2Fstripe_flask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwtrubiks%2Fstripe_flask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwtrubiks%2Fstripe_flask/lists"}