- 小程序B2b门店助手支付回调可信IP地址如何获取?
试了这个接口获取到的微信服务器IP列表,https://api.weixin.qq.com/cgi-bin/get_api_domain_ip 对比实际上的门店助手支付回调的IP,并不在上述接口提供的IP列表上。
02-29 - 【小程序认证】事件回调示例,有2个APPID,具体有何区别?
https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/weapp-wxverify/secwxaapi_wxaauth.html [图片]
2023-12-12 - 【小程序认证】个人身份类型接口返回的数据内容的值都是随机字符串,怎么处理?
小程序认证文档链接:https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/weapp-wxverify/secwxaapi_wxaauth.htmlhttps://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/weapp-wxverify/secwxaapi_wxaauth.html 当认证类型为个人时,文档指出“认证类型为个人类型时可以选择要认证的身份,从/wxa/sec/authidentitytree 里获取,填叶节点的name” [图片] 当我调这个接口时,响应的数据结构是这样的,对应字段的内容是随机字符串。而且结构看起来也有问题,套了好几层的node_list。 [图片]
2023-12-08 - 【微信自定义交易组件】订单状态流转图中的“用户停留密码控件后支付”意思?
今天(2022年6月24日)留意到订单状态流转图发生了变化,其中有一条可以让订单从关闭状态(250)流转到待发货/已付款(20),这个是什么特殊场景?寻求解惑。 [图片]
2022-06-24 - (已解决) 更新【用户提交售后申请】接口报错:"请求体缺失售后商品"是什么原因?
【缘由】 用了旧接口shop/aftersale/add,然后参数按照新接口的传,换成新接口shop/ecaftersale/add后正常了。 【目前情况】: 分别有fund_type=0和fund_type=1的已完成订单(status=100),然后申请售后时出现了报错。 【报错信息】: "请求体缺失售后商品 rid: 628c9cfa-3d01debc-3ddba3a8" (fund_type=0) "请求体缺失售后商品 rid: 628cb65f-1a00a6c3-0b4e4a04" (fund_type=1) 【用户提交售后申请接口请求的参数(fund_type=1)】: { "out_order_id": "99990000", "out_aftersale_id": "52512112312262", "openid": "xxxxxx", "type": 2, "product_info": { "out_product_id": "1234566", "out_sku_id": "128", "product_cnt": 1 }, "orderamt": 1, "refund_reason": "其它", "refund_reason_type": 15 } 【接口传到后端的参数】 array:8 [ "out_order_id" => "99990000" "out_aftersale_id" => "52512112312262" "openid" => "xxxxxx" "type" => 2 "product_info" => array:3 [ "out_product_id" => "1234566" "out_sku_id" => "128" "product_cnt" => 1 ] "orderamt" => 1 "refund_reason" => "其它" "refund_reason_type" => 15 ] 【完成的订单信息(fund_type=1)】: { "order_id": 3303511941884806700, "out_order_id": "99990000", "openid": "xxxxxx", "create_time": "2022-05-24 18:11:12", "order_detail": { "product_infos": [ { "product_id": 476205490, "out_product_id": "1234566", "sku_id": 765193540, "out_sku_id": "128", "product_cnt": 1, "sale_price": 1, "title": "T恤男2021夏季新品宽松落肩短袖衫渐变字母印花简约耐看不挑人男女同款青春流行圆", "head_img": "https://mmecimage.cn/p/wx60eac17f91d3715d/HKW2eyrYX8USu2ADuSd9G6VGEtb4H-UV7u68vCWwcQ", "path": "pages/productDetail/productDetail?productId=2176180", "sku_attrs": [ { "attr_key": "选择颜色", "attr_value": "丛林迷彩拼粉红色" }, { "attr_key": "选择尺码", "attr_value": "6" } ], "sku_real_price": 1, "can_after_sale": true } ], "pay_info": { "prepay_id": "wx2418111200000007f035974def1f40000", "prepay_time": "2022-05-24 18:11:12", "transaction_id": "4200001400202205000041608431", "pay_time": "2022-05-24 18:34:15", "pay_method_type": 0, "out_trade_no": "120330351194188480000000000", "midas_order_id": "" }, "price_info": { "freight": 0, "discounted_price": 0, "additional_price": 0, "additional_remarks": "税费", "final_price": 1, "order_price": 1 }, "pay_info_list": [], "promotion_info": [] }, "delivery_detail": { "delivery_type": 1, "delivery_list": [ { "waybill_id": "23424324253", "delivery_id": "SF", "product_info_list": [ { "out_product_id": "1234566", "out_sku_id": "128", "product_cnt": 1 } ] } ], "ship_done_time": "2022-05-24 18:36:43" }, "status": 100, "path": "pages/productDetail/productDetail?productId=2176180", "update_time": "2022-05-24 18:37:59", "address_info": { "receiver_name": "测试下单", "detailed_address": "机场北", "tel_number": "18800000000", "country": "中国", "province": "广东省", "city": "广州市", "town": "白云区" }, "out_user_id": "326662323", "fund_type": 1, "settlement_info": { "max_handing_fee": 0, "max_unsplit_amount": 1, "settlement_list": [ { "type": 0, "uin": 3846139777, "amount": 1 } ], "handing_fee_dyn": 0, "merchant_settle": 1, "settle_status": 1 }, "expire_time": 1653473472, "aftersale_deadline": 1653993479, "default_aftersale_deadline": true } 【用户提交售后申请接口请求的参数(fund_type=0)】: { "out_order_id": "2997675153", "out_aftersale_id": "525121312262", "openid": "xxxxxxxx", "type": 2, "product_info": { "out_product_id": "1234566", "out_sku_id": 128, "product_cnt": 1 }, "orderamt": 13100, "refund_reason": "其它", "refund_reason_type": 15 } 【完成的订单信息(fund_type=0)】: { "order_id": 3303509687066036000, "out_order_id": "2997675153", "openid": "xxxxxxxx", "create_time": "2022-05-24 15:47:50", "order_detail": { "product_infos": [ { "product_id": 476205490, "out_product_id": "1234566", "sku_id": 765193540, "out_sku_id": "128", "product_cnt": 1, "sale_price": 13000, "title": "T恤男2021夏季新品宽松落肩短袖衫渐变字母印花简约耐看不挑人男女同款青春流行圆", "head_img": "https://mmecimage.cn/p/wx60eac17f91d3715d/HKW2eyrYX8USu2ADuSd9G6VGEtb4H-UV7u68vCWwcQ", "path": "pages/productDetail/productDetail?productId=2176180", "sku_attrs": [ { "attr_key": "选择颜色", "attr_value": "丛林迷彩拼粉红色" }, { "attr_key": "选择尺码", "attr_value": "6" } ], "sku_real_price": 13000 } ], "pay_info": { "pay_time": "2022-05-24 15:48:35", "pay_method_type": 2 }, "price_info": { "freight": 100, "discounted_price": 0, "additional_price": 0, "additional_remarks": "税费", "final_price": 13100, "order_price": 13100 }, "pay_info_list": [], "promotion_info": [] }, "delivery_detail": { "delivery_type": 1, "finish_all_delivery": 1, "delivery_list": [ { "waybill_id": "23424324253", "delivery_id": "SF", "product_info_list": [ { "out_product_id": "1234566", "out_sku_id": "128", "product_cnt": 1 } ] } ] }, "status": 100, "path": "pages/productDetail/productDetail?productId=2176180", "update_time": "2022-05-24 15:55:53", "address_info": { "receiver_name": "测试下单", "detailed_address": "机场北", "tel_number": "18800000000", "country": "中国", "province": "广东省", "city": "广州市", "town": "白云区" }, "out_user_id": "326662323", "fund_type": 0, "expire_time": 1653464870 }
2022-05-24 - 自定义交易组件【生成订单】pay_method_type的值等于0会报错是什么原因?
fund_type=0时,pay_method_type的值为1或者2都可以调用【生成订单】接口生成订单并完成后续操作,但是pay_method_type的值为0就会报错。因为这个情况【组建开通】里面没办法完成订单接口调用那个流程。 pay_method_type的值为0时的报错信息: "message":"pay_info字段异常,请检查json及字段合法性 rid: 628c762b-458d2882-1e301938" 生成订单的参数如下(create_time在调用接口时后端重新生成,不会和微信服务器出现5秒偏差): { "create_time": "2022-05-21 13:05:25", "out_order_id": "20213653", "openid": "xxxxxx", "path": "pages/productDetail/productDetail?productId=2176180", "out_user_id": "323232323", "order_detail": { "product_infos": [ { "out_product_id": "1234567", "out_sku_id":"163", "product_cnt": 1, "sale_price": 1300, "sku_real_price":1300, "path": "pages/productDetail/productDetail?productId=2176180", "title" : "T恤男2021夏季新品宽松落肩短袖衫", "head_img": "https://mmecimage.cn/p/wx60eac17f91d3715d/HJUCM6EtDlT0KAQQ6LXffPA91HfQv6LoHVJSjOGsng" } ], "pay_info": { "pay_method_type": 0 }, "price_info": { "order_price": 1400, "freight": 100, "discounted_price": 200, "additional_price": 200, "additional_remarks": "税费" } }, "delivery_detail": { "delivery_type": 1 }, "address_info": { "receiver_name": "测试下单", "detailed_address": "天河区", "tel_number": "18800000000", "country": "中国", "province": "广东省", "city": "广州市", "town": "白云区" }, "fund_type": 0, "expire_time": 1658630298 }
2022-05-24 - 文档开头有语病
https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/API/order/add_order.html “该接适用于使用”>“该接口适用于使用”,漏了个“口”。
2022-04-26 - 有错别字
https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/API/order/add_order_new.html_ “微信测”应为“微信侧”。这么一个大公司,接口文档编写是不是应该更上心一点。
2022-04-25