Skip to content

创建先用后付订单(合作伙伴模式)

用户在购买带有“先用后付”服务标识的商品,有机会享受“0元下单,确认收货再付款”的专享服务,加入先用后付服务后,可先0元下单在商品确认收货之前消费者可以选择付款/退货。 官方文档

js
wxpay
.
v3
.
payscore
.
partner
.
servicepayondeliveryorder
.
post
({
out_order_no
,
appid
,
sub_mchid
,
sub_appid
,
service_id
,
service_introduction
,
post_payments
,
post_discounts
,
time_range
,
location
,
risk_fund
,
attach
,
notify_url
,
openid
,
sub_openid
,
need_user_confirm
,
mchid
,
shopping_info
,
}) .
then
(
({
data
: {
out_order_no
,
service_id
,
appid
,
mchid
,
sub_appid
,
sub_mchid
,
service_introduction
,
state
,
state_description
,
post_payments
,
post_discounts
,
risk_fund
,
time_range
,
location
,
attach
,
notify_url
,
order_id
,
package
:
packageStr
,
shopping_info
,
}, }) => ({
out_order_no
,
service_id
,
appid
,
mchid
,
sub_appid
,
sub_mchid
,
service_introduction
,
state
,
state_description
,
post_payments
,
post_discounts
,
risk_fund
,
time_range
,
location
,
attach
,
notify_url
,
order_id
,
package
:
packageStr
,
shopping_info
,
}) )

Released under the MIT License. (SITEMAP)