购买须知:
(1)因白天要上班搭建需要时间,故需要安装的客户请先联系我们好安排!
(2)零基础、素质低下,贪小便宜,追求完美者请绕道!
(3)手动发货一般发互站注册的qq邮箱!一般发货时间为9:30-21:30.超时隔日补发邮箱
- [ASP.NET Core 2.0 使用支付宝PC网站支付](http://www.cnblogs.com/stulzq/p/7606164.html "ASP.NET Core 2.0 使用支付宝PC网站支付")
- [ASP.NET Core 2.0 支付宝当面付之扫码支付](http://www.cnblogs.com/stulzq/p/7647948.html "ASP.NET Core 2.0 支付宝当面付之扫码支付")
# 功能演示
- 2017-10-11新增扫码支付
![](Alipay.Demo.PCPayment/image/scancode.gif)
- 支付创建
![](Alipay.Demo.PCPayment/image/2payorder.jpg)
- 支付
![](Alipay.Demo.PCPayment/image/3pay.jpg)
- 输入支付密码
![](Alipay.Demo.PCPayment/image/4pay.jpg)
- 支付成功
![](Alipay.Demo.PCPayment/image/5paysuccess.jpg)
- 支付成功同步回调
![](Alipay.Demo.PCPayment/image/6paysuccess.jpg)
- 订单查询
![](Alipay.Demo.PCPayment/image/7orderquery.jpg)
- 退款
![](Alipay.Demo.PCPayment/image/8refund.jpg)
- 退款查询
![](Alipay.Demo.PCPayment/image/9refundquery.jpg)
- 订单关闭
![](Alipay.Demo.PCPayment/image/10orderclose.jpg)
异步通知已经实现了的,但是由于没有公网ip和花生壳等,没有测试,以后测试了加图
# 配置
```csharp
public void ConfigureServices(IServiceCollection services)
{
services.AddAlipay(options =>
{
options.AlipayPublicKey = "支付宝公钥";
options.AppId = "应用ID";
options.CharSet = "密钥编码";
options.Gatewayurl = "支付网关";
options.PrivateKey = "商家私钥";
options.SignType = "签名方式 RSA/RSA2";
options.Uid = "商户ID";
});
}
```
公钥、私钥直接填写**字符串**
如果支付接口没用申请下来,可以使用支付宝沙箱来测试。
QQ 506139978