收藏
回答

平台收付通 h5支付获取的链接打开提示参数错误?

参数

{

  "amount": {

    "total": 10,

    "currency": "CNY"

  },

  "spMchid": "xxxxxx",

  "description": "测试二级商户个人H5商户支付",

  "subMchid": "xxxxxx",

  "spAppid": "wxxxxxx",

  "supportFapiao": true,

  "settleInfo": {

    "profitSharing": true

  },

  "sceneInfo": {

    "payerClientIp": "xx2.xx.xx.xx",

    "h5Info": {

      "type": "iOS"

    }

  },

  "outTradeNo": "test_17XXXXXX9",

  "notifyUrl": "https://www.XXXXX.com"

}

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

1 个回答

  • Memory (私信不回复)
    Memory (私信不回复)
    2天前

    1.当前调起H5支付的referer为空导致,一般是因为直接访问页面调起H5支付,请按正常流程进行页面跳转后发起支付,或自行抓包确认referer值是否为空

     

    2.如果是APP里调起H5支付,需要在webview中手动设置referer,如(Map extraHeaders = new HashMap();

    extraHeaders.put("Referer", "商户申请H5时提交的授权域名");//例如 http://www.baidu.com )


    2天前
    有用
    回复 2
登录 后发表内容