这个新出的同城配送,按照文档的说明,使用沙箱环境时,不需要充值运费就能生成订单:
但我尝试着生成订单,还是收到余额不足的错误:
{
"errcode": 0,
"errmsg": "ok",
"request": {
"invoke_time": 1691636215,
"cost_in_ms": 1211,
"request_url": "access_token=71_打码打码LgZxWCjkaJtIP打码打码",
"request_body": {
"use_sandbox": 1,
"wx_store_id": "4000打码打码000000打码打码",
"store_order_id": "testing_h8zj_打码打码_w1_o4",
"user_openid": "om打码打码VSNwvu打码打码",
"user_lng": 110.打码36,
"user_lat": 21.打码874,
"user_address": "打码打码打码打码打码打码",
"user_name": "打码打码",
"user_phone": "18012345678",
"order_seq": "T08100255U1R2208",
"order_detail_path": "打码打码/pages/home/index?id=1&q=打码打码x%3Fid%3D4",
"cargo": {
"cargo_name": "T08100255U1R2208",
"cargo_weight": 1000,
"cargo_type": 99,
"cargo_num": 1,
"cargo_price": 650000,
"item_list": [
{
"item_name": "打码打码",
"count": 10,
"item_pic_url": "https://打码打码.打码打码.打码打码/打码打码.jpg"
}
]
}
},
"response_body": {
"errcode": 934013,
"errmsg": "Insufficient Balance, Charge Store First rid: 64d451f6-6d96a5b1-6f366b9e"
},
"client_ip": "打码打码"
}
}
先不说这个errmsg居然给我返回的英语(本想直接拿来显示在商家端的,还得自己翻译一轮)
如果沙箱环境也要有余额,那么是不是说明这个沙箱测试下的单也会扣钱??
是不是`use_sandbox`这个值是无用的?
你好,报错信息有误。这里应该是门店信息填写得不规范。麻烦更新一下门店地址和门店电话