- 支付成功,回调签名验证失败,请求头的wechatpay-serial跟我给的serialno不一样
支付成功,回调签名验证失败,请求头的wechatpay-serial跟我给的serialno不一样,我请求的serial是56546E845E77C84F9682A34D0198FB0F31898993,回调请求头部的这个又是怎么来的 ?wechatpay-serial:5BC7DF084959F38C91DE7697164B2DFB354CC8D2 wechatpay-signature-type:WECHATPAY2-SHA256-RSA2048 wechatpay-nonce:WEjykT0EgpFqhGvGb65MKFBSDAtcS85s wechatpay-serial:5BC7DF084959F38C91DE7697164B2DFB354CC8D2 content-type:application/json wechatpay-signature:sX4nRm6QJRnKk4IgEFGVERUBUuksguMCdyTdlCwa4nyY1SycfhEdikj1+m6CauLePsc/dghCFqOoyPFFeS/dMx0KUq/kjB2oEtkcASn80FnmI1pyDZUjWbk7en4usgLhAptE54B5Lm9BoRqRcBpl5dsScRkvU1qTMGjQYDC4bgZbtigHCFFbIK3immmC/ee1gLDFfNSYrpGbSfxNXgmQTTD4Pu6nIn3Ww4J6HLUsDazR7dG/HBX7EM9qrrUaLi3fzhztxRkHfA8M/78OkVKhni+F7mUf+yOuyZTexoWxGCIZ8K7kzVQ3tdYLuYfe7gMZomR4OZNRXbWFB62Lew5Fzw== wechatpay-timestamp:1648804667 pragma:no-cache user-agent:Mozilla/4.0 body:{"id":"b70d0557-5201-5bd0-a6a4-f7f8b0bb2a69","create_time":"2022-04-01T17:17:30+08:00","resource_type":"encrypt-resource","event_type":"TRANSACTION.SUCCESS","summary":"支付成功","resource":{"original_type":"transaction","algorithm":"AEAD_AES_256_GCM","ciphertext":"IXdbHQfRE8JnQhT1v3CquJxuHP1XWSkZ4lU3ltDoLVe0QNcI8BvBMVBlhAhek9Jkg5ohOoUcr0fudI10w7c1pXPZp9I4cYfj+2aF+JWXR+PXHL7rc4Lj+0v4/qIH74vMU5vduEm13cyNtj1L07CKZu38HFCHaj4QwkEfchuBPYKryb2WyI7WymtqYkc8+SMTkW8+vZam5zuuWj+Nq3qQ++hX04hALb6YHD/5qNwvn1DxpI9V9370V0sRDjjmGDyW4NQ6DOgUdTbW7kEqBGHlf6vKeRoC853JP4+G+gRpwbNOETBHzonWyCyvp98zpsJNpgV6H+8rv9X1LBaa+0YWgivDIrT2n6u/V6Ozo0oUQ6/IAQ2NnICq+hkjIMAB3dHKLwXg/yrkpbK/8We8tLoswvhAD2v/P27QZ0qTCQhxhJS8tJuxzN/37e6ynqQH6AaTkIfNMZf+/tjM00T7kKtnSXZO49bMlLBhBOBsikWdVsZtcC85DEh2c05Ybz/myRyQCNjAxBve0WKGS6oXfvAT+kRmnclEmzwcghul6b/VK1jYvPiISGWwgFCn1Vf/ZDEo185p","associated_data":"transaction","nonce":"bdiimGu855aJ"}} 2022-04-01 17:17:47.535 |-ERROR [http-nio-8038-exec-9] com.wechat.pay.contrib.apache.httpclient.cert.CertificatesManager [84] -| 商户证书为空,serialNumber:56546E845E77C84F9682A34D0198FB0F31898993 2022-04-01 17:17:47.535 |-ERROR [http-nio-8038-exec-9] com.garrett.aborigine.controller.NotifyController [130] -| 验签失败验签失败:serial=[56546E845E77C84F9682A34D0198FB0F31898993] message=[null
2022-04-01 - 微信公众平台接口创建礼品失败问题,提示不能创建优惠卡?
在微信公众平台接口调试工具使用创建卡券接口创建礼品券,参数如下: { "card": { "card_type": "GIFT", "gift": { "base_info": { "bind_openid": false, "brand_name": "郡王府旗舰店", "can_give_friend": true, "can_share": true, "code_type": "CODE_TYPE_TEXT", "color": "Color010", "date_info": { "begin_timestamp": 1629129600, "end_timestamp": 1660665600, "type": "DATE_TYPE_FIX_TIME_RANGE" }, "description": "可以兑换内蒙古鄂尔多斯山羊肉一箱", "logo_url": "http://mmbiz.qpic.cn/mmbiz_jpg/7SuXxQuYuuNcCI6HK5iaHGprqKZMpEnooykGCg0oiaVYr6Yj29UxfPMOZ2jeAZ1KDliaatBOLjAt8Ao0uR2GdicLiaQ/0", "notice": "卡卷两年内有效。详情拨打0477-8888830", "sku": { "quantity": 1000 }, "title": "鄂尔多斯山羊肉一箱" }, "gift": "内蒙古鄂尔多斯山羊肉一箱" } } } 返回结果如下: { "errcode": 73219, "errmsg": "暂不支持本账号创建优惠券,具体可访问mp.weixin.qq.com,关注卡券下线公告通知。12月10日0点起,商户可正常申请开通“微信卡券”功能,申请开通后,“优惠券”功能将不再支持使用。新开通卡券功能的商户使用“会员卡”、“礼品卡”或“票证”等能力不受影响;如商户有在微信生态内发放优惠券的需求,可使用微信支付优惠券:商家券或支付券(即代金券)。如需了解更多,可查阅微信支付优惠券产品功能介绍。 hint: [3ppMma0101r283]" } 问题:不可以创建优惠券,不是说礼品卡不受影星吗,怎么会是这样的结果,到底能不能创建礼品卡,如果可以,又该怎么创建?
2021-08-18