小程序
小游戏
企业微信
微信支付
扫描小程序码分享
商家转账中测试报 "code":"PARAM_ERROR","message":"请确认待处理的消息是否为加密后的密文。
请求参数去掉用户姓名就好了。查资料说敏感信息需要加密。那转账的请求参数中姓名如何加密呢?
4 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
看https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_3.shtml
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
你好解决了吗?
{
"appid":"wx1d9294f7a9d7875914",
"out_batch_no":"202310311137226392",
"batch_name":"商户发起转账个人微信零钱",
"batch_remark":"商户发起转账个人微信零钱",
"total_amount":44483,
"total_num":1,
"transfer_detail_list":[
"out_detail_no":"202310311137226392",
"transfer_amount":44483,
"transfer_remark":"商户发起转账个人微信零钱",
"openid":"oUWl45awbZpcjqOzov1SHNb8VzOc",
"user_name":"6buE5Lyf5oiQ"
}
],
"transfer_scene_id":"1001"
user_name 已经进行了 RSA 公钥openssl_public_encrypt 加密:header 头也附上了 证书序列号:
[
"Content-Type:application\\/json",
"Accept:application\\/json",
"User-Agent:*\\/*",
"Authorization: WECHATPAY2-SHA256-RSA2048 mchid=\\"1630680616\\",nonce_str=\\"revgpqwjizbqdalnllxyyrqzuvxirhpk\\",timestamp=\\"1701163697\\",serial_no=\\"13B0F02B1D161B2B3B870CFEF690E89EC37FB6AA\\",signature=\\"QcdGGWwCyLqtJIqOswssjM46UzVctCwr4LWolumAtYkpNHatP6ZsFQlP+DjA\\/pXrVFlhsXpF3jeN9D1t+WSB5KM3jquJ3WvK86eKPzQoOz9Q7+WHbmXVimPUzc9Yy1Blrc3KmiH6n3Pr0VMQ3Yz7IPkkwEZ2Yudfm5VCFaFrrWO6ggj40wUGTdVTzKiA5z2lU2Bv5du9MyDgPrQCbuBZ8WHZCF+vd0Zsr1jnd3WNSJl5KVp5VP\\/UiAVNBc778JY+bTXVbSuz5nT7D123jWBz4wtY6W62U1cN7tb7fEQu3tAEfqj9JxBYqYG9V+XajNF5rI\\/FQHlYqKS1rNiKYf\\/yYw==\\"",
"Wechatpay-Serial: 13B0F02B1D161B2B3B811CFEF690E89EC371B6AA"
]
微信接口还是响应: {"code":"PARAM_ERROR","message":"请确认待处理的消息是否为加密后的密文"}
求解,大佬们知道怎么处理吗?
查的什么资料?
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
看https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_3.shtml
你好解决了吗?
{
"appid":"wx1d9294f7a9d7875914",
"out_batch_no":"202310311137226392",
"batch_name":"商户发起转账个人微信零钱",
"batch_remark":"商户发起转账个人微信零钱",
"total_amount":44483,
"total_num":1,
"transfer_detail_list":[
{
"out_detail_no":"202310311137226392",
"transfer_amount":44483,
"transfer_remark":"商户发起转账个人微信零钱",
"openid":"oUWl45awbZpcjqOzov1SHNb8VzOc",
"user_name":"6buE5Lyf5oiQ"
}
],
"transfer_scene_id":"1001"
}
user_name 已经进行了 RSA 公钥openssl_public_encrypt 加密:header 头也附上了 证书序列号:
[
"Content-Type:application\\/json",
"Accept:application\\/json",
"User-Agent:*\\/*",
"Authorization: WECHATPAY2-SHA256-RSA2048 mchid=\\"1630680616\\",nonce_str=\\"revgpqwjizbqdalnllxyyrqzuvxirhpk\\",timestamp=\\"1701163697\\",serial_no=\\"13B0F02B1D161B2B3B870CFEF690E89EC37FB6AA\\",signature=\\"QcdGGWwCyLqtJIqOswssjM46UzVctCwr4LWolumAtYkpNHatP6ZsFQlP+DjA\\/pXrVFlhsXpF3jeN9D1t+WSB5KM3jquJ3WvK86eKPzQoOz9Q7+WHbmXVimPUzc9Yy1Blrc3KmiH6n3Pr0VMQ3Yz7IPkkwEZ2Yudfm5VCFaFrrWO6ggj40wUGTdVTzKiA5z2lU2Bv5du9MyDgPrQCbuBZ8WHZCF+vd0Zsr1jnd3WNSJl5KVp5VP\\/UiAVNBc778JY+bTXVbSuz5nT7D123jWBz4wtY6W62U1cN7tb7fEQu3tAEfqj9JxBYqYG9V+XajNF5rI\\/FQHlYqKS1rNiKYf\\/yYw==\\"",
"Wechatpay-Serial: 13B0F02B1D161B2B3B811CFEF690E89EC371B6AA"
]
微信接口还是响应: {"code":"PARAM_ERROR","message":"请确认待处理的消息是否为加密后的密文"}
求解,大佬们知道怎么处理吗?
查的什么资料?