楼主我也是同样的情况 请问下你后来是怎么解决的
商家券-服务商模式-领券事件回调通知API,未能返回openid和unionid已经仔细阅读官方开发文档,根据说明在创建商家券时配置了notify_config-notify_appid(配置的特约商户的appid,并且此小程序是通过三方平台代商户快速创建的) 也设置好了【商家券事件通知地址API】(此接口的商户号没有填写,之前填写特约商户的商户号提示没有操作权限) 现在的情况是通过小程序插件发券,可以正常收到领取事件通知,但是通知中openid和unionid为空,请帮忙看下上面所说配置是否有问题,若排查问题需要什么参数请告诉我,我后续进一步附上,感谢
2022-10-18问题解决了吗 哥们
商家劵领券事件回调通知商家劵领券事件回调通知API解密出现 Tag mismatch!Exception in thread "main" javax.crypto.AEADBadTagException: Tag mismatch! at com.sun.crypto.provider.GaloisCounterMode.decryptFinal(GaloisCounterMode.java:578) at com.sun.crypto.provider.CipherCore.finalNoPadding(CipherCore.java:1049) at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:985) at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:847) at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446) at javax.crypto.Cipher.doFinal(Cipher.java:2164) at com.tjcloud.tenpay.api.utils.AesUtil.decryptToString(AesUtil.java:58) at com.tjcloud.tenpay.api.utils.AesUtil.main(AesUtil.java:68) 回调通知结果 ({"summary":"商家券领券通知","event_type":"COUPON.SEND","create_time":"2021-02-20T11:47:11+08:00","resource":{"original_type":"coupon","algorithm":"AEAD_AES_256_GCM","ciphertext":"k2O7h/5emD0j8h2OGEgMJFANEBqmYk6ltMpjKqoTs2KoAhilbOE1tiCMgdn8ehNnrZgXiaIFCZ/Hynhx6HiNxMHSskrIsGnFmr7rnbzpmoUkm+5nawIqBUuuGzDU74d01Xn/OaFDriyyZZX0QPh3sGrLg3aF/x9vwUWXb3cblUrfM1JpxJNqZezMSFIufWJQrpUcNZkOqi3dk9AvJO63WClb5iUhsGc7odvbVlUUEtJBZXUqyG18h34j479UEtA316AZJjdca43wzU7GDCrjG3Z1Jb8Smh+9VhIBjFeDpCsy1wvSgkn2RsKV1x3F4GjFcJEuIepVCZyn/XkdBXfZxbBvAoEJWfOeooDexwHBBah2Eaazj5Y6DxfVT0JE891z02DsEL6GbiDhbNf7+6DTrIOB9s5v9/5Ppd7jnM03Ig5eFb0=","associated_data":"coupon","nonce":"ls2ADfEEHn25"},"resource_type":"encrypt-resource","id":"b4ea27d7-c02a-5e89-a660-f9d24b381776"})
2022-09-26