后台代码php使用的是官方github上面下载的代码,地址如下:https://github.com/dcloudio/H5P.Server/tree/master/payment
我们的php后台返回的数据如下:
{
appid: "wx0c0a1067fa417eac",
noncestr: "nt7s0M6C03g9X0dN",
package: "Sign=WXPay",
partnerid: "1248600701",
prepayid: "wx20160518150818ccf0f294e30216465065",
timestamp: 1463555298,
sign: "80350662C5B79932FE8A1C160EAF2A17"
}
HTML5+ DEMO payment 中示例代码返回的数据如下(新版微信支付v3):
{
appid: "wx0411fa6a39d61297",
noncestr: "KiyJuq1OLsRURlYT",
package: "Sign=WXPay",
partnerid: "1230636401",
prepayid: "wx20160518150954aab0728c8a0339012051",
timestamp: 1463555394,
sign: "D1385519370BC5E3E8EE9BC566899CC5"
}
返回错误代码-100,但是支付宝却可以正常完成支付,还有微信支付启动实在是太慢了
请各位大神看看到底怎么了
0 个回复