java 微信小程序支付,支付成功后收不到回调请求

回调地址设置的是域名+url, 请问回调域名需要在商户后台进行配置吗


public String payCallBack(HttpServletRequest httpRequest) throws IOException {
        String successXml = "<xml><return_code><![CDATA[SUCCESS]]></return_code><return_msg><![CDATA[OK]]></return_msg></xml>";
        String failXml = "<xml><return_code><![CDATA[FAIL]]></return_code><return_msg><![CDATA[FAIL]]></return_msg></xml>";
        String receiveStr = this.receivePost(httpRequest);
        if(receiveStr != null) {
          // 业务逻辑
return successXml;
}}}
return failXml;
}