收藏
回答

将电子发票卡券插入用户卡包 提示未授权?

  1. 调用https://api.weixin.qq.com/card/invoice/getauthdata 相关订单号为:20201117171335984 返回授权成功

2.将电子发票卡券插入用户卡包:https://api.weixin.qq.com/card/invoice/insert

token:39_VDx34EoUfsXETxYyaZY8SJOSLfIHZ0O4ovLe-ngp3ryFMOwqVUYiputyRojLHt8VvntNoEa77Dc9yRWQ3JsHZZrg_L41HeAI-Ki7MwW_jPNt5TnIASoi-8ePUBIIIbCBLtdRdLwan4d2WRT9RTAaAJACEL

传入参数:{"order_id":"20201117171335984","card_id":"p5UlOv5QYSwB9GX-j-dpO2hjP2qE","appid":"wx9db2c16d0633c2e7","card_ext":{"nonce_str":"kUGwNKBoURsoUuN","user_card":{"invoice_user_data":{"fee":2001,"title":"林丽娜","billing_time":1605542400000,"billing_no":"012002000211","billing_code":"02027321","fee_without_tax":0,"tax":0,"s_pdf_media_id":"2812476266289857519","check_code":"00536635442365409909"}}}}

返回接口:{"errcode":72038,"errmsg":"invoice order never auth hint: [y62ZIa03893666]"} 未授权???

回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容
问题标签