文档
测试

小程序支付接口

POST
/shopmini/wap/weixindo.html

请求参数

参数名
类型
描述
必填
uid
用户id
必填
orderid
订单id
必填
pay_type
1普通商品 2团购商品
必填

说明 / 示例

{ "PayConfig": { "isyuepay": "1", "wx": { "iswxpay": "1", "APPID": "wx80b5e77e1d8427cd", "MCHID": "1604092836", "KEY": "4d06a44f3badfb9920c884f1e00d3cf6", "APPSECRET": "4d06a44f3badfb9920c884f1e00d3cf6", "SSLCERT_PATH": "/www/wwwroot/text3.honghuseo.cn", "SSLKEY_PATH": "/www/wwwroot/text3.honghuseo.cn", "CURL_PROXY_HOST": "0.0.0.0", "CURL_PROXY_PORT": 0, "REPORT_LEVENL": 1, "NOTIFY_URL": "https://text3.honghuseo.cn/payment/payment/notify.html" }, "payid": "1", "sid": "1", "alipay": { "isalipay": "1", "zfbname": "", "pid": "", "key": "", "zfbappid": "", "zfbrsa": "", "zfbpublickey": "" } }, "msgdata": { "appid": "wx80b5e77e1d8427cd", "mch_id": "1604092836", "nonce_str": "aCM6nvo7w0Kdj7ym", "body": "商品购买", "out_trade_no": "201121185049000040_050900", "total_fee": 2000, "spbill_create_ip": "171.8.189.242", "time_start": "20201124170900", "time_expire": "20201124171900", "notify_url": "https://text3.honghuseo.cn/pay/notify.html", "trade_type": "JSAPI", "openid": "o_BOx4q0U4AmiQgF8QsjxQMkIdV4", "sign_type": "MD5", "sign": "17ABE1124D9C0315715AA34744BA61E3" }, "status": 0, "info": "订单状态", "timeStamp": 1606208941, "data": { "return_code": "SUCCESS", "return_msg": "OK", "appid": "wx80b5e77e1d8427cd", "mch_id": "1604092836", "nonce_str": "uarEIb0pL6RlJAYA", "sign": "DDC1D44D99425D4D6CF2CD04F44D335F", "result_code": "SUCCESS", "prepay_id": "wx241709012788701d982a00649c48ab0000", "trade_type": "JSAPI" }, "msg": { "appid": "wx80b5e77e1d8427cd", "mch_id": "1604092836", "nonce_str": "aCM6nvo7w0Kdj7ym", "body": "商品购买", "out_trade_no": "201121185049000040_050900", "total_fee": 2000, "spbill_create_ip": "171.8.189.242", "time_start": "20201124170900", "time_expire": "20201124171900", "notify_url": "https://text3.honghuseo.cn/pay/notify.html", "trade_type": "JSAPI", "openid": "o_BOx4q0U4AmiQgF8QsjxQMkIdV4", "sign_type": "MD5", "sign": "17ABE1124D9C0315715AA34744BA61E3" }, "newsign": "36186B3A82AE278C7AE7891F4D7F1409", "newda": { "appId": "wx80b5e77e1d8427cd", "nonceStr": "aCM6nvo7w0Kdj7ym", "package": "prepay_id=wx241709012788701d982a00649c48ab0000", "signType": "MD5", "timeStamp": 1606208941, "newsign": "36186B3A82AE278C7AE7891F4D7F1409" } }