public function post(array $options = [ 'json' => [ 'sub_mchid' => '1900000109', 'appid' => 'wx8888888888888888', 'sub_appid' => 'wx8888888888888889', 'type' => 'MERCHANT_ID', 'account' => '86693852', 'name' => 'hu89ohu89ohu89o', 'relation_type' => 'SERVICE_PROVIDER', 'custom_relation' => '代理商', ], 'headers' => [ 'Wechatpay-Serial' => '', ], ]): ResponseInterface;
微信支付服务商请求分账一直提示type必填微信支付服务商请求分账 一直提示{"code":"PARAM_ERROR","detail":{"location":"body","value":""},"message":"输入源“/body/type”映射到字段“接收方类型”必填性规则校验失败,此字段为必填项"} 请各位大佬帮忙看看 用的微信官方提供的https://github.com/wechatpay-apiv3/wechatpay-php sdk 但是type有传,一直提示type必填 [图片]
2022-12-21拿你的支付单号,到 https://support.pay.weixin.qq.com/online-service 排队找在线技术支持
小程序调用后台接口支付成功,未收到回调小程序调用后台接口支付成功,但一直没有收到未收回调
2022-12-20const {Aes: {AesEcb}, Transformer, Hash} = require('wechatpay-axios-plugin') const secret = 'exposed_your_key_here_have_risks' const xml = '<xml>' + ... '</xml>' const obj = Transformer.toObject(xml) const res = AesEcb.decrypt(obj.req_info, Hash.md5(secret)) obj.req_info = Transformer.toObject(res) console.info(obj) 退款密文解密js参考代码如上
2022-12-20[图片] const {Aes: {AesEcb}, Transformer, Hash} = require('wechatpay-axios-plugin') const secret = 'exposed_your_key_here_have_risks' const xml = '<xml>' + ... '</xml>' const obj = Transformer.toObject(xml) const res = AesEcb.decrypt(obj.req_info, Hash.md5(secret)) obj.req_info = Transformer.toObject(res) console.info(obj)
微信支付退款通知中的加密串req_info如何解密?微信支付退款通知中的加密串req_info如何解密?
2022-12-20apiclient_key 属于特敏感信息,谁要都不要给,参见: https://pay.weixin.qq.com/docs/merchant/development/key-leak-mitigation-guide.html
小程序的支付参数在哪里查找?请问各位,有人知道小程序中需要的这些参数是在哪里找嘛,询问了客服说让来发帖咨询 xcx_mch_id xcx_app_id xcx_serial_no xcx_apiclient_key
2022-12-20[图片]
云函数怎样对微信支付回调通知解密?将云函数开启http访问后收到了微信支付的回调通知,但收到内容(body)是一串字符串,看文档说是加密的信息,第一次做这个功能,请教下如何对这个加密内容进行解密,步骤是怎样的,文档中的这几步没有看懂。例如第二步中【针对resource.algorithm中描述的算法(目前为AEAD_AES_256_GCM),取得对应的参数nonce和associated_data】这是什么意思?resource.algorithm在哪里? 文档内容: [图片]
2022-12-19let Arr = [{content: 'A'}, {content: 'B'}]
创建js数组的指定对象,例如let Arr=[];content;{};添加数据到Arr?创建js数组的指定对象,例如let Arr=[];content;{};添加数据到Arr的content里面,求
2022-12-19use WeChatPay\Util\MediaUtil; 注意 WeChatPay 的C字母要大写
图片上传API,提示MediaUtil类找不到?我是按照正常流程composer安装wechatpay-php 其他操作都很正常,唯独到图片上传API接口,需要use WechatPay\Util\MediaUtil,就会报 class WechatPay\Util\MediaUtil not found 我用的是thinkPHP5.1,PHP版本是7.4
2022-12-18https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_4.shtml 是第6步的签名; https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_0.shtml 是第3步的签名; [图片]
签名计算有不同版本?https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_4.shtml 中阐述参与签名的字段为4个 https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_0.shtml 中阐述参与签名的字段为5个 以哪个为准?
2022-12-18平台证书的纯文本内容,通过平台证书下载器可以得到一个证书文件,读取之就是了
微信支付sdk中wechatPayCertificateString参数是什么?https://github.com/wechatpay-apiv3/wechatpay-java sdk回调通知验签和解密中参数wechatPayCertificateString是什么?怎么获得?
2022-12-18