Skip to content

现金红包接口签名错误 #726

@linguohui

Description

@linguohui

V3.1.0 调用发送现金红包接口提示签名错误,经排查发现是signType不用参与签名。
接口
WxPayService
WxPaySendRedpackResult sendRedpack(WxPaySendRedpackRequest request) throws WxPayException;

解决办法
WxPaySendRedpackRequest覆写ignoreSignType方法
protected boolean ignoreSignType() {
return true;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions