巧了,我也是这样,而且我在微信卡包导入那张PDF是成功的,说明这张发票是OK的,之前也没被别人插过,那就很奇怪了为什么到API这里不行呢。。 话说楼主的问题解决了没,能不能给点启示?
微信插入发票数电发票失败,一直报PDF_CHECK_ERRORhttps://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Invoicing_Platform_API_List.html[图片][图片]
04-09破案,微信浏览器限制,复制链接是复制不出code的,但通过JavaScript可以alert出来。
网页授权获取code,Redirect带不回参数在网页授权,第一步:获取code,请求的URL为: https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx8b4052fd6c49xxxx&redirect_uri=https%3A%2F%2Fcrm.uni-trend.com.cn%2Fwxcrm%2Finit.html&response_type=code&scope=snsapi_base&state=ms#wechat_redirect 返回Redirect URL,带不上code参数 [图片] 但如果在redirect_uri中加入%0A,返回可带上参数,但浏览器无法解析 https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx8b4052fd6c49xxxx&redirect_uri=https%3A%2F%2Fcrm.uni-trend.com.cn%2Fwxcrm%2Finit.html%0A&response_type=code&scope=snsapi_base&state=ms#wechat_redirect [图片] 我是根据教程操作的,请问是URL编写的问题吗? 盼复,谢谢。
2024-09-11