Coder Social home page Coder Social logo

ssuchichan / gopay Goto Github PK

View Code? Open in Web Editor NEW

This project forked from go-pay/gopay

0.0 0.0 0.0 5.67 MB

微信、支付宝、通联支付、拉卡拉、PayPal、Apple 的Go版本SDK。【极简、易用的聚合支付SDK】

Home Page: https://github.com/go-pay/gopay

License: Apache License 2.0

Go 100.00%

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/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

igoogle-ink avatar xiaozuo7 avatar kucoffee94 avatar ixugo avatar larryclean avatar to2false avatar jayenlee avatar elricli avatar joesonm avatar fyyang avatar fr4nkhe avatar f2xb avatar tangbo1430 avatar cmzz avatar rickycoder avatar kerbalwzy avatar lostroy avatar itltf512116 avatar skyling avatar charsunny avatar philo-veritas avatar cyjaysong avatar elegantm avatar zhucheer avatar dependabot[bot] avatar dzwvip avatar fxk2006 avatar icpd avatar demonandangel avatar laogeng660 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.