Skip to content

创建用户的签约计划详情对应的服务订单

根据用户签约的计划和对应要服务的计划详情序号,创建服务订单。 官方文档

js
wxpay
.
v3
.
payscore
.
signPlan
.
serviceorder
.
post
({
service_id
,
sign_plan_id
,
plan_detail_no
,
appid
,
openid
,
notify_url
,
service_introduction
,
time_range
,
location
,
attach
,
out_trade_no
,
}) .
then
(
({
data
: {
out_order_no
,
service_id
,
appid
,
mchid
,
service_introduction
,
state
,
state_description
,
post_payments
,
post_discounts
,
risk_fund
,
time_range
,
location
,
attach
,
notify_url
,
order_id
,
}, }) => ({
out_order_no
,
service_id
,
appid
,
mchid
,
service_introduction
,
state
,
state_description
,
post_payments
,
post_discounts
,
risk_fund
,
time_range
,
location
,
attach
,
notify_url
,
order_id
,
}) )

Released under the MIT License. (SITEMAP)