Trial_period_days: 7 在我的节点函数中似乎无法被识别。知道为什么会出现这种情况吗?我缺少一个变量吗?发布到此时会导致集成错误...
const subscription = await stripe.subscriptions.create({
customer: customer.id,
items: [{ price: "price_1KZ3nTGxUje7SlyIDUfIXkr3" }],
payment_settings: {
payment_method_options: {
card: {
request_three_d_secure: "any",
},
},
payment_method_types: ["card"],
save_default_payment_method: "on_subscription",
},
trial_period_days: 7,
expand: ["latest_invoice.payment_intent"],
}); Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号