go get -u github.com/yunmoon/gopay
import (
"github.com/yunmoon/gopay"
"github.com/yunmoon/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分钱测试法!
- 承接各类业务外包项目开发(前端+后端,架构设计->系统开发->部署运营),行业经验丰富,费用合理,有需要的加微信联系。
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.