Skip to content

查询订单

商户通过商户订单号,来查询订单信息

js
wxpay
.
v3
.
qrcode
.
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_repay_state
,
repay_transaction_id
,
repay_time
,
attach
,
contract_id
,
trade_scene
,
bus_info
,
metro_info
,
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_repay_state
,
repay_transaction_id
,
repay_time
,
attach
,
contract_id
,
trade_scene
,
bus_info
,
metro_info
,
amount
,
promotion_detail
,
}) )

Released under the MIT License. (SITEMAP)