stripe-payment-intents:学习如何使用Stripe API

时间:2021-04-15 22:09:07
【文件属性】:
文件名称:stripe-payment-intents:学习如何使用Stripe API
文件大小:6.62MB
文件格式:ZIP
更新时间:2021-04-15 22:09:07
Go 先决条件 工作Go 1.14及更高版本的环境设置。 如果没有,请设置。 安装Stripe CLI。 如果需要此安装,请从安装。 运行服务器 通过执行git clone git@github.com:deekoder/stripe-payment-intents.git获取源代码 在stripe-payment- go run server.go目录中,键入go run server.go以启动中间件。 WebHooks的条带化CLI stripe login完成浏览器上的登录。 stripe listen --forward-to http://localhost:3000/webhook观察来自运行在localhost:3000的go服务器的事件 在浏览器*问网站 访问 。 您应该在下面看到此内容。 输入各种测试卡。 可获得测试卡。 摩擦日志
【文件预览】:
stripe-payment-intents-master
----server(8.23MB)
----stripe_log.txt(3KB)
----server.go(6KB)
----static()
--------css()
--------screenshots()
--------index.html(2KB)
--------js()
----keys.toml(53B)
----.gitignore(15B)
----go.sum(3KB)
----README.md(1KB)
----Friction_log.md(9KB)
----go.mod(255B)

网友评论