接下来就是微信外支付了,先是H5支付把。相关链接: H5支付
public class H5Pay
{
public string GetPayUrl(UnifiedOrderModel unifiedOrderModel, string thip)
{
//Log.Info(this.GetType().ToString(), "H5 pay url is producing...");
WxPayData data = new WxPayData();
data.SetValue("body", unifiedOrderModel.body);
data.SetValue("attach", unifiedOrderModel.attach);
data.SetValue("out_trade_no", unifiedOrderModel.out_trade_no);
data.SetValue("total_fee", unifiedOrderModel.total_fee);
data.SetValue("time_start", unifiedOrderModel.time_start);
data.SetValue("time_expire", unifiedOrderModel.time_expire);
data.SetValue("goods_tag", unifiedOrderModel.goods_tag);
//因H5支付要求商户在统一下单接口中上传用户真实ip地址“spbill_create_ip”
data.SetValu