- 用户领取代金券成功,下单支付为什么却核销不了?
发券接口:https://api.mch.weixin.qq.com/v3/marketing/favor/users/oPUuL5GMHuGeSAQYBiGcEWCgNVko/coupons 用户openid:oPUuL5GMHuGeSAQYBiGcEWCgNVko 商户号:1606040240 用户领券信息:{"available_begin_time":"2021-02-22T00:00:00+08:00","available_end_time":"2021-03-31T23:59:59+08:00","card_id":"pX2-vjuUj9nHzkM2vvFQTs_aSwk8","create_time":"2021-02-22T11:03:16+08:00","description":"\u65e0\u91d1\u989d\u62b5\u62630.00","distributed_coupons":3827,"no_cash":true,"singleitem":false,"status":"running","stock_creator_mchid":"1525629971","stock_id":"15466644","stock_name":"\u65e0\u91d1\u989d\u62b5\u62630.00","stock_type":"NORMAL","stock_use_rule":{"combine_use":false,"coupon_type":"NORMAL","fixed_normal_coupon":{"coupon_amount":1000,"transaction_minimum":1001},"goods_tag":[],"max_amount":10000000,"max_amount_by_day":0,"max_coupons":10000,"max_coupons_per_user":60,"trade_type":[]}} 用户支付成功订单交易号:4200000894202103235061010985、4200000898202103230805817938 支付方式为刷卡支付(scene = bar_code),满足核销条件,实际支付却并没有核销券
2021-03-24 - 调用发放代金券API接口返回403 用户非法,为什么用户却实际领券成功并成功核销掉了?
发券接口:https://api.mch.weixin.qq.com/v3/marketing/favor/users/oCJPH5GbJymk1ue7349YT6KruEEE/coupons 用户openid:oCJPH5GbJymk1ue7349YT6KruEEE 调用接口时间:2021-03-24 10:42:00 代金券批次号:15481027 商户号:1604776669 关联平台交易单号:4200000945202103245076003355
2021-03-24 - 付款码支付调用统一下单接口报不识别的参数 auth_code 错误?
服务商模式付款码支付调用统一下单接口报错 不识别的参数auth_code 首先声明:auth_code 参数完全正确,13开头的18位数字 我的部分请求参数如下: $result = $app->order->unify([ 'body' => $subject, 'out_trade_no' => $orderNo, 'total_fee' => $totalAmount * 100, 'trade_type' => 'MICROPAY', // 请对应换成你的支付方式对应的值类型 'auth_code' => $authCode, 'device_info' => $terminalId, //'spbill_create_ip' => request()->server('SERVER_ADDR'), //'time_expire' => '', // 订单失效时间,格式为yyyyMMddHHmmss 'sub_appid' => $subMchInfo['app_id'], 'sub_mch_id' => $subMchInfo['mch_id'], ]);
2021-01-19