{"id":13459737,"url":"https://github.com/go-pay/gopay","last_synced_at":"2025-05-14T21:00:24.161Z","repository":{"id":37103257,"uuid":"164622061","full_name":"go-pay/gopay","owner":"go-pay","description":"微信、支付宝、通联支付、拉卡拉、PayPal、Apple 的Go版本SDK。【极简、易用的聚合支付SDK】","archived":false,"fork":false,"pushed_at":"2025-05-04T16:11:33.000Z","size":11129,"stargazers_count":4973,"open_issues_count":30,"forks_count":822,"subscribers_count":45,"default_branch":"main","last_synced_at":"2025-05-07T20:28:53.277Z","etag":null,"topics":["alipay","allinpay","apple","golang","gopay","lakala","pay","paypal","saobei","wechat","weixin"],"latest_commit_sha":null,"homepage":"https://github.com/go-pay/gopay","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/go-pay.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":"support_note.txt","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-01-08T10:14:40.000Z","updated_at":"2025-05-07T06:40:47.000Z","dependencies_parsed_at":"2023-07-12T17:17:10.069Z","dependency_job_id":"4f636507-181f-4f6d-a331-cc197a27ceba","html_url":"https://github.com/go-pay/gopay","commit_stats":{"total_commits":1282,"total_committers":80,"mean_commits":16.025,"dds":"0.44617784711388453","last_synced_commit":"834105fdd693f46c353676f87460772d0f300788"},"previous_names":["igoogle-ink/gopay","igoogle-ink/go-pay"],"tags_count":159,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-pay%2Fgopay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-pay%2Fgopay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-pay%2Fgopay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-pay%2Fgopay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-pay","download_url":"https://codeload.github.com/go-pay/gopay/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254227603,"owners_count":22035667,"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":["alipay","allinpay","apple","golang","gopay","lakala","pay","paypal","saobei","wechat","weixin"],"created_at":"2024-07-31T10:00:27.553Z","updated_at":"2025-05-14T21:00:24.061Z","avatar_url":"https://github.com/go-pay.png","language":"Go","funding_links":[],"categories":["Go","语言资源库","金融股票","武器库"],"sub_categories":["go","资源传输下载","后端"],"readme":"\u003cdiv align=center\u003e\u003cimg width=\"240\" height=\"240\" alt=\"Logo was Loading Faild!\" src=\"logo.png\"/\u003e\u003c/div\u003e\n\n# GoPay\n\n### 微信、支付宝、QQ、通联支付、拉卡拉、PayPal、扫呗、Apple支付的 Golang 版本SDK\n\n[![Github](https://img.shields.io/github/followers/iGoogle-ink?label=Follow\u0026style=social)](https://github.com/iGoogle-ink)\n[![Github](https://img.shields.io/github/forks/go-pay/gopay?label=Fork\u0026style=social)](https://github.com/go-pay/gopay/fork)\n\n[![Golang](https://img.shields.io/badge/golang-1.23+-brightgreen.svg)](https://golang.google.cn)\n[![GoDoc](https://img.shields.io/badge/doc-pkg.go.dev-informational.svg)](https://pkg.go.dev/github.com/go-pay/gopay)\n[![Go](https://github.com/go-pay/gopay/actions/workflows/go.yml/badge.svg)](https://github.com/go-pay/gopay/actions/workflows/go.yml)\n[![GitHub Release](https://img.shields.io/github/v/release/go-pay/gopay)](https://github.com/go-pay/gopay/releases)\n[![License](https://img.shields.io/github/license/go-pay/gopay)](https://www.apache.org/licenses/LICENSE-2.0)\n[![Go Report Card](https://goreportcard.com/badge/github.com/go-pay/gopay)](https://goreportcard.com/report/github.com/go-pay/gopay)\n\n---\n\n# 一、安装\n\n```bash\ngo get github.com/go-pay/gopay\n```\n\n#### 查看 GoPay 版本\n\n  [版本更新记录](https://github.com/go-pay/gopay/blob/main/release_note.md)\n\n```go\nimport (\n    \"github.com/go-pay/gopay\"\n    \"github.com/go-pay/xlog\"\n)\n\nfunc main() {\n    xlog.Info(\"GoPay Version: \", gopay.Version)\n}\n```\n\n---\n\n\u003cbr\u003e\n\n# 二、文档目录\n\n\u003e ### 点击查看不同支付方式的使用文档。方便的话，请留下您认可的小星星，十分感谢！\n\n* #### [支付宝支付（V3版）](https://github.com/go-pay/gopay/blob/main/doc/alipay_v3.md)\n* #### [支付宝支付](https://github.com/go-pay/gopay/blob/main/doc/alipay.md)\n* #### [微信支付（V3版）](https://github.com/go-pay/gopay/blob/main/doc/wechat_v3.md)\n  * 微信商家转账产品升级，目前已支持新版商家转账接口\n* #### [微信支付（V2版，不推荐）](https://github.com/go-pay/gopay/blob/main/doc/wechat_v2.md)\n* #### [QQ支付](https://github.com/go-pay/gopay/blob/main/doc/qq.md)\n* #### [通联支付](https://github.com/go-pay/gopay/blob/main/doc/allinpay.md)\n* #### [拉卡拉支付](https://github.com/go-pay/gopay/blob/main/doc/lakala.md)\n* #### [Paypal支付](https://github.com/go-pay/gopay/blob/main/doc/paypal.md)\n* #### [Apple支付校验](https://github.com/go-pay/gopay/blob/main/doc/apple.md)\n* #### [扫呗支付](https://github.com/go-pay/gopay/blob/main/doc/saobei.md)\n\n---\n\n\u003cbr\u003e\n\n# 三、其他说明\n\n* 如需自定义Log输出，New Client 后，调用 `client.SetLogger()` 方法设置自定义Logger，自定义Logger实现 `xlog.XLogger` interface即可。\n\n* 各支付方式接入，请仔细查看 `xxx_test.go` 使用方式\n    * `gopay/wechat/v3/client_test.go`\n    * `gopay/alipay/v3/client_test.go`\n    * `gopay/alipay/client_test.go`\n    * `gopay/qq/client_test.go`\n    * `gopay/allinpay/client_test.go`\n    * `gopay/lakala/client_test.go`\n    * `gopay/paypal/client_test.go`\n    * `gopay/apple/verify_test.go`\n    * 或 examples\n* 接入gopay示例项目(可参考接入使用方式)：[gopay-platform](https://github.com/go-pay/gopay-platform)\n* 有问题请加微信群 或 关注抖音账号，加入首页粉丝群拉微信群。在此，非常感谢提出宝贵意见和反馈问题的同志们！\n* 开发过程中，请尽量使用正式环境，1分钱测试法！\n* 有偿承接技术咨询、开发，如需要加微信联系。\n\n\u003cbr\u003e\n\n---\n\n## 赞赏多少是您的心意，感谢支持！\n\n微信赞赏码： \u003cimg width=\"200\" height=\"200\" src=\".github/zanshang.png\"/\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n支付宝赞助码： \u003cimg width=\"200\" height=\"200\" src=\".github/zanshang_zfb.png\"/\u003e\n\n---\n\n## 讨论群\n\u003e 微信群过期加个人微信: **[85411418](.github/wechat_jerry.png)** 邀请加群（加个人微信备注 gopay 并关注抖音账号，谢谢）。\n\n关注抖音：\n\u003cimg width=\"240\" height=\"240\" src=\".github/douyin_jerry.png\"/\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;微信群：\n\u003cimg width=\"240\" height=\"240\" src=\".github/wx_gopay.png\"/\u003e\n\n---\n\n\u003cbr\u003e\n\n## 鸣谢\n\n\u003e [GoLand](https://www.jetbrains.com/go/?from=gopay) A Go IDE with extended support for JavaScript, TypeScript, and Databases。\n\n特别感谢 [JetBrains](https://www.jetbrains.com/?from=gopay) 为开源项目提供免费的 [GoLand](https://www.jetbrains.com/go/?from=gopay) 等 IDE 的授权  \n\u003cbr\u003e\n[\u003cimg src=\".github/jetbrains.png\" width=\"300\"/\u003e](https://www.jetbrains.com/?from=gopay)\n\n\u003e Copyright © 2025 JetBrains s.r.o. JetBrains and the JetBrains logo are trademarks of JetBrains s.r.o.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-pay%2Fgopay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-pay%2Fgopay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-pay%2Fgopay/lists"}