- 微信支付v3/global/transactions/jsapi报错$key0$参数格式错误?
[error] [400]Client error: `POST https://api.mch.weixin.qq.com/v3/global/transactions/jsapi` resulted in a `400 Bad Request` response: {"code":"PARAM_ERROR","message":"$key0$参数格式错误"} $resp = $instance ->chain('v3/global/transactions/jsapi') ->post( ['json' => [ 'appid' => 'wx*******88',//微信公众号appid 'mchid' => $merchantId, 'description' => 'description', 'out_trade_no' => (string)time(),//内部订单号 'notify_url' => 'https://******/notify/', 'trade_type' => 'JSAPI', 'attach'=>(string)time(), // 'detail'=>[], 'merchant_category_code'=>'4112',//行业编码 'amount' => [ 'total' => 1, 'currency' => 'CNY' ], 'payer' => [ 'openid' => $openid//用户微信授权openid ], ], 'headers' => [ 'Wechatpay-Serial' => $platformCertificateSerialOrPublicKeyId // 关键配置 ] ], );
08-29 - 审核不通过
2:小程序功能不符合规则: (1):小程序所实际提供的服务和内容,必须是正式的,不能以Demo形式提交。 审核不通过这个原因怎么处理
2017-01-06