Skip to content

PaySharp是一个支持多商户多种支付方式的跨平台网关处理类库,使用PaySharp可以简化订单的创建、查询、退款和接收网关返回的支付通知等操作。

License

Varorbc/PaySharp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PaySharp


PaySharp是一个支持多商户多种支付方式的跨平台网关处理类库,使用PaySharp可以简化订单的创建、查询、退款和接收网关返回的支付通知等操作。

目前支持的支付网关有:支付宝(Alipay)、微信支付(Wechatpay)、中国银联(Unionpay)、QQ钱包支付(Qpay)、通联收银宝(Allinpay)

1.支付宝:

支持的支付方式:
移动支付(App)、手机网站支付(Wap)、电脑网站支付(Web)、小程序支付(Applet)、条码支付(Barcode)、扫码支付(Scan)
支持的辅助接口:
查询、退款、退款查询、撤销、关闭、对账单下载、转账(Transfer)、转账查询(TransferQuery)

2.微信:

支持的支付方式:
移动支付(App)、手机网站支付(Wap)、公众号支付(Public)、小程序支付(Applet)、条码支付(Barcode)、扫码支付(Scan)
支持的辅助接口:
查询、退款、退款查询、撤销、关闭、对账单下载、资金账单下载、

转账(Transfer)、转账查询(TransferQuery)、转账到银行卡(TransferToBank)、转账到银行卡查询(TransferToBank)Query)

3.银联:

支持的支付方式:
移动支付(App)、手机网站支付(Wap)、电脑网站支付(Web)、条码支付(Barcode)、扫码支付(Scan)
支持的辅助接口:
查询、退款、撤销、对账单下载

4.QQ钱包:

支持的支付方式:
移动支付(App)、公众号支付(Public)、条码支付(Barcode)、扫码支付(Scan)
支持的辅助接口:
查询、退款、退款查询、撤销、关闭、对账单下载

5.通联收银宝:

支持的支付方式:
统一支付(Unified)、统一条码(Barcode)
支持的辅助接口:
查询

Package


Package NuGet
PaySharp.Core NuGet
PaySharp.Core.Mvc NuGet
PaySharp.Alipay NuGet
PaySharp.Wechatpay NuGet
PaySharp.Unionpay NuGet
PaySharp.Qpay NuGet
PaySharp.Allinpay NuGet

开发环境

  • Windows 10
  • Visual Studio 2019(16.4)
  • .NET Core SDK 3.1

如何使用


Demo

交流讨论


加入QQ群

Wiki


支付宝支付文档:

https://openhome.alipay.com/developmentDocument.htm

微信支付文档:

https://pay.weixin.qq.com/wiki/doc/api/index.html

中国银联文档:

https://open.unionpay.com/tjweb/doc/index

QQ钱包支付文档:

https://qpay.qq.com/buss/doc.shtml

通联收银宝支付文档:

https://aipboss.allinpay.com/know/devhelp/index.php

支持/打赏

打赏扫这里,请留下尊姓大名

致谢


hiihellox10

John0King

stulzq

Essensoft-Roc

About

PaySharp是一个支持多商户多种支付方式的跨平台网关处理类库,使用PaySharp可以简化订单的创建、查询、退款和接收网关返回的支付通知等操作。

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages