Categorygithub.com/go-pay/gopay
modulepackage
1.5.104
Repository: https://github.com/go-pay/gopay.git
Documentation: pkg.go.dev

# README

Logo was Loading Faild!

GoPay

微信、支付宝、QQ、通联支付、拉卡拉、PayPal 的 Golang 版本SDK

Github Github

Golang GoDoc Go GitHub Release License Go Report Card


一、安装

go get -u github.com/go-pay/gopay

查看 GoPay 版本

版本更新记录

import (
    "github.com/go-pay/gopay"
    "github.com/go-pay/xlog"
)

func main() {
    xlog.Info("GoPay Version: ", gopay.Version)
}


二、文档目录

点击查看不同支付方式的使用文档。方便的话,请留下您认可的小星星,十分感谢!



三、其他说明

  • 如需自定义Log输出,New Client 后,调用 client.SetLogger() 方法设置自定义Logger,自定义Logger实现 xlog.XLogger interface即可。

  • 各支付方式接入,请仔细查看 xxx_test.go 使用方式

    • gopay/wechat/v3/client_test.go
    • gopay/alipay/client_test.go
    • gopay/qq/client_test.go
    • gopay/allinpay/client_test.go
    • gopay/lakala/client_test.go
    • gopay/paypal/client_test.go
    • gopay/apple/verify_test.go
    • 或 examples
  • 接入gopay示例项目(可参考接入使用方式):gopay-platform

  • 有问题请加QQ群(加群验证答案:gopay) 或 加微信好友(备注:gopay开发)拉群。在此,非常感谢提出宝贵意见和反馈问题的同志们!

  • 开发过程中,请尽量使用正式环境,1分钱测试法!

  • 有偿承接技术咨询、开发,如需要加微信联系。



赞赏多少是您的心意,感谢支持!

微信赞赏码: 支付宝赞助码:


讨论群

QQ群: 微信群:
微信群二维码过期加微信拉群:



鸣谢

GoLand A Go IDE with extended support for JavaScript, TypeScript, and Databases。

特别感谢 JetBrains 为开源项目提供免费的 GoLand 等 IDE 的授权

# Packages

No description provided by the author
No description provided by the author
apple 苹果应用内支付SDK(目前仅支持一个校验逻辑--服务端模式)。 整体流程简述: 1.
No description provided by the author
No description provided by the author
@Author: wzy @Time: 2022/6/7 */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author