GoPay
微信、支付宝、PayPal、Apple 的Go版本SDK。【极简、易用的聚合支付SDK】
go get -u github.com/go-pay/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
QQ群:
加微信拉群:微信赞赏码: 支付宝赞助码:
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.