Метод | Описание | |
---|---|---|
GetSignRequest ( string>.Dictionary |
||
GetUserAddrSign ( string appid, string accesstoken, string nonceStr, string timeStamp, string url ) : string |
获取用户收货地址时的addrSign
|
|
GetWXPayInfo ( PayOrder payorder, string openid, string tfee, string body, string pid, string sp_billno ) : WXPayModel |
获取微信支付签名信息 调用前请先配置wxPayV3Info属性,否则会支付失败,如果paySign = "ERROR",请查看package内容信息 目前提供最基本的签名字段,有时间的话可以增加基础以外字段的动态增加,一般情况下,基础的字段也能满足支付需求了 微信支付步骤:
|
|
ProcessNotify ( string wxKey, NotifySuccess success, NotifyFail fail ) : string |
回调处理
|
public static GetSignRequest ( string>.Dictionary |
||
parameters | string>.Dictionary | |
Результат | string |
public static GetUserAddrSign ( string appid, string accesstoken, string nonceStr, string timeStamp, string url ) : string | ||
appid | string | |
accesstoken | string | |
nonceStr | string | |
timeStamp | string | |
url | string | |
Результат | string |
public static GetWXPayInfo ( PayOrder payorder, string openid, string tfee, string body, string pid, string sp_billno ) : WXPayModel | ||
payorder | PayOrder | |
openid | string | |
tfee | string | 支付的金额 |
body | string | 备注 |
pid | string | 产品信息 |
sp_billno | string | 订单号码 |
Результат | WXPayModel |
public static ProcessNotify ( string wxKey, NotifySuccess success, NotifyFail fail ) : string | ||
wxKey | string | 微信支付授权KEY |
success | NotifySuccess | |
fail | NotifyFail | |
Результат | string |