Git Product home page Git Product logo

gopay's Introduction

Logo was Loading Faild!

GoPay

微信、支付宝、PayPal、QQ 的 Golang 版本SDK

Github Github

Golang GoDoc Drone CI GitHub Release License GoDoc


  • 近期计划:

将 gopay 库中,非支付相关的一些接口方法独立出去另外的 sdk 库,在 go-pay 组织下新建 wechat-sdkalipay-sdk 两个项目,分别实现各个平台相关接口方法,优先进行 wechat-sdk 开发。

微信小程序或公众号相关接口方法:已从 微信v2 移步替换成 github.com/go-pay/wechat-sdk


一、安装

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)
}


二、文档目录

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



三、其他说明

  • 各支付方式接入,请仔细查看 xxx_test.go 使用方式
    • gopay/wechat/v3/client_test.go
    • gopay/alipay/client_test.go
    • gopay/qq/client_test.go
    • gopay/paypal/client_test.go
    • gopay/apple/verify_test.go
    • 或 examples
  • 有问题请加QQ群(加群验证答案:gopay),或加微信好友拉群。在此,非常感谢提出宝贵意见和反馈问题的同志们!
  • 开发过程中,请尽量使用正式环境,1分钱测试法!

QQ群: 加微信拉群:



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

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

License

Copyright 2019 Jerry

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

gopay's People

Contributors

igoogle-ink avatar xiaozuo7 avatar ixugo avatar to2false avatar kucoffee94 avatar jayenlee avatar elricli avatar joesonm avatar larryclean avatar kerbalwzy avatar lostroy avatar itltf512116 avatar skyling avatar fr4nkhe avatar f2xb avatar welllog avatar superlixun avatar ycg000344 avatar demonandangel avatar fxk2006 avatar wenyxu avatar vicenlaw avatar ggxxll avatar crazyzard avatar tarupo avatar laotree avatar llemongreen avatar gopay-gopay avatar dollarkillerx avatar miaolz123 avatar

Watchers

 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.