Giter Club home page Giter Club logo

gopay's Introduction

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/gopay/pkg/xlog"
)

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


二、文档目录

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



三、其他说明

  • 如需自定义Log输出,请调用以下方法设置自定义Logger,实现 xlog.XLogger 接口即可。
    • xlog.SetDebugLog()
    • xlog.SetInfoLog()
    • xlog.SetWarnLog()
    • xlog.SetErrLog()
  • 各支付方式接入,请仔细查看 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 的授权

gopay's People

Contributors

cmzz avatar ctra-wang avatar demonandangel avatar elricli avatar f2xb avatar feng409 avatar fr4nkhe avatar fxk2006 avatar fyyang avatar igoogle-ink avatar itltf512116 avatar ixugo avatar jayenlee avatar joesonm avatar kerbalwzy avatar kucoffee94 avatar larryclean avatar lostroy avatar plzzzzg avatar seth-shi avatar skyling avatar superlixun avatar to2false avatar welllog avatar wenyxu avatar xiaozuo7 avatar xiusl avatar ycg000344 avatar youlu-cn avatar zhucheer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.