Skip to content

查询订单

商户通过商户订单号,来查询订单信息 官方文档 官方文档

js
wxpay
.
v3
.
vehicle
.
transactions
.
outTradeNo
.
_out_trade_no_
.
get
({
out_trade_no
,
params
,
}) .
then
(
({
data
: {
appid
,
sub_appid
,
sp_mchid
,
sub_mchid
,
description
,
create_time
,
out_trade_no
,
transaction_id
,
trade_state
,
trade_state_description
,
success_time
,
bank_type
,
user_repaid
,
attach
,
trade_scene
,
parking_info
,
payer
,
amount
,
promotion_detail
,
}, }) => ({
appid
,
sub_appid
,
sp_mchid
,
sub_mchid
,
description
,
create_time
,
out_trade_no
,
transaction_id
,
trade_state
,
trade_state_description
,
success_time
,
bank_type
,
user_repaid
,
attach
,
trade_scene
,
parking_info
,
payer
,
amount
,
promotion_detail
,
}) )

Released under the MIT License. (SITEMAP)