收藏
回答

商家券领券事件回调怎么解密消息?

api: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_15.shtml

解密SDK:com.wechat.pay.contrib.apache.httpclient.notification.NotificationHandler

这里面的入参要怎么填, 都来自哪里?

NotificationRequest request = new NotificationRequest.Builder()
                        .withSerialNumber()
                        .withNonce()
                        .withTimestamp()
                        .withSignature()
                        .withBody()
                        .build();

Verifier verifier = WechatUtils.getVerifier(, , , );
NotificationHandler handler = new NotificationHandler(verifier, );
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容