(
[appId] => wx310d7af5545dbb20
[timeStamp] => 1616984912
[nonceStr] => BB218D38B4C06A9744BFD38ADD2E68B7
[package] => prepay_id=wx29102832322713900c528a391d865c0000
[signType] => MD5
[paySign] => 1DA950FFA12016BF3FF9C6CEF750F1EA
[timestamp] => 1616984912
)
给了多余的 [timestamp] => 1616984912 所致。
{
[timeStamp]:1616989361,
[nonceStr]:55A6DC0A6AB811E07119A91D19C99C08,
[package]:prepay_id=wx29114241052597bb40dd2e6d86d77b0000,
[signType]:MD5,
[paySign]:16B205AC02044B93CF8CD8620C0418E0
}
{
status: 200,
statusText: 'OK',
headers: {
server: 'nginx',
date: 'Mon, 29 Mar 2021 06:31:32 GMT',
'content-type': 'application/json; charset=utf-8',
'content-length': '215',
connection: 'close',
'cache-control': 'no-cache, must-revalidate',
'x-content-type-options': 'nosniff',
'request-id': '08C4E885830610BB04188FC1EEA30620FA2828C2E601-0',
'content-language': 'zh-CN',
'wechatpay-nonce': '1d06fe986e7dc14e56aa1633abb2caa7',
'wechatpay-signature': 'e06XmFbFswH/O6suOBTw5MtpV8SQ/EaFeq7Oj8kn8uwVfkRa8r0tjuNTENhhqPMoZODPeK6a/ZcDmYo+2nATh1HjoOhu+j31i6aa0fxJxVm5CxU7V5AmXs/cCXLBOiP8M1zVuwk++4kQfiSt3SOGNQk80GIlx2CHQs8UEq2eLU2cGkHn8pl/IwGQ7KtZs8moSyEV4Op2yOOPhh8KyNYUqgo+7blnJB5pydpBkR0OkmHpevxQehP/vtZeXqFsug9bzaMTcTyeSx4RPpTWm6yKkIJuKLcLDtX/AszIXyoZdF/Wtxhwxe/qKkxN3Xp7dggOm5w1LKLk+UqLJH5JQL7S1w==',
'wechatpay-timestamp': '1616999492',
'wechatpay-serial': '1A99F6F50D9660BEB01B741DF95E588760D23753'
},
}
统一下单请求的时候参数有误
无论输入什么密码统一显示“微信支付失败,请稍后再试”