收藏
回答

服务商小程序支付时返回:请求中含有未在API文档中定义的参数?

{"sp_mchid":"1606945592","sub_mchid":"1611837468","sp_appid":"wxdea373e7e55e0c94","sub_appid":"wxedffd6273c097553","payer":{"sp_openid":null,"sub_openid":"oZjKH4qkqMBGxZWuzwjk7dqnKbiE"},"description":"订单描述","out_trade_no":"202107140000066456","time_expire":"2021-07-14T19:09:57+08:00","attach":"TEST","notify_url":"https://test.api.com","goods_tag":"WXG","amount":{"total":100,"currency":"CNY"},"detail":{"cost_price":1,"invoice_id":"SFA","goods_detail":[{"merchant_goods_id":"1246464644","wechatpay_goods_id":"1001","goods_name":"iPhoneX 256G","quantity":1,"unit_price":828800}]},"scene_info":{"payer_client_ip":"192.168.0.1","device_id":"123456789","store_info":{"id":"","name":null,"area_code":null,"address":null}},"settle_info":{"profit_sharing":true,"subsidy_amount":null}}

与文档对过没有问题https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_1.shtml

回答关注问题邀请回答
收藏

2 个回答

  • 北望沣渭
    北望沣渭
    2021-07-15

    选填项,连key值都不要传

    2021-07-15
    有用
    回复
  • Memory (私信不回复)
    Memory (私信不回复)
    2021-07-15

    "sp_openid":null," 这叫没有问题?

    

    2021-07-15
    有用
    回复
登录 后发表内容