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

Logo was Loading Faild!

GoPay

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

Github Github

Golang GoDoc Drone CI GitHub Release License


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


一、安装

  • v1.5.42 开始,仓库从 github.com/iGoogle-ink/gopay 迁移到 github.com/go-pay/gopay
go get 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.
Owner
go-pay
微信、QQ、支付宝、PayPal 的Go版本SDK。努力完善中...
go-pay
Similar Resources
Comments
  • 支付宝问题请教

    支付宝问题请教

    client:= alipay.NewClient APP里面client创建订单TradeAppPay后正常支付完成 client调用TradeQuery,TradeCancel 返回{"code":"40002","msg":"Invalid Arguments","sub_code":"isv.invalid-app-id","sub_msg":"无效的AppID参数"} 我哪里出了问题啊,搞了一下午了。 ——_——

Golang client for PayPal REST API

Go client for PayPal REST API Coverage POST /v1/oauth2/token POST /v1/identity/openidconnect/tokenservice GET /v1/identity/openidconnect/userinfo/?sch

May 12, 2022
Edtienda - PayPal Integration Course Code

PayPal Integration Para ejecutar el código debes realizar los siguientes pasos:

Feb 3, 2022
QQ、微信(WeChat)、支付宝(AliPay)的Go版本SDK。
QQ、微信(WeChat)、支付宝(AliPay)的Go版本SDK。

QQ、微信(WeChat)、支付宝(AliPay)的Go版本SDK。

May 5, 2022
Alipay - 支付宝 SDK for Golang

alipay 支付宝 SDK for Go 使用指南 安装支付宝 SDK go get -u github.com/go-wheels/alipay 初始化支付

Jan 2, 2022
Golang client for PayPal REST API

Go client for PayPal REST API Coverage POST /v1/oauth2/token POST /v1/identity/openidconnect/tokenservice GET /v1/identity/openidconnect/userinfo/?sch

May 12, 2022
Edtienda - PayPal Integration Course Code

PayPal Integration Para ejecutar el código debes realizar los siguientes pasos:

Feb 3, 2022