Skip to content

创建速住订单

创建订单后如果超过一小时用户没有进行确认订单操作,订单将失效,无法被用户确认. 官方文档

js
wxpay
.
v2
.
wxv
.
createhotelbill
.
post
({
version
,
appid
,
mch_id
,
nonce_str
,
sign_type
,
out_order_no
,
service_id
,
room
,
start_time
,
end_time
,
service_location
,
deposit_amount
,
room_rate
,
room_rate_desc
,
attach
,
cancel_rule
,
cancel_rule_desc
,
cert_serial_no
,
openid
,
name
,
phone
,
userid
,
address
,
}, {
security
})
.
then
(
({
data
: {
return_code
,
return_msg
,
sign
,
nonce_str
,
result_code
,
err_code
,
err_code_des
,
appid
,
mch_id
,
out_order_no
,
service_id
,
order_id
,
miniprogram_appid
,
miniprogram_path
,
miniprogram_username
,
package
:
packageStr
,
}, }) => ({
return_code
,
return_msg
,
sign
,
nonce_str
,
result_code
,
err_code
,
err_code_des
,
appid
,
mch_id
,
out_order_no
,
service_id
,
order_id
,
miniprogram_appid
,
miniprogram_path
,
miniprogram_username
,
package
:
packageStr
,
}) )

Released under the MIT License. (SITEMAP)