【发布时间】:2020-04-03 11:42:18
【问题描述】:
我正在尝试在 Stripe 中创建一次性费用,我已经将我的所有产品添加到 Stripe,我正在创建这样的订单和费用:
const order = await stripe.orders.create({
customer: customer.id,
currency: 'usd',
items: [
'sku_0001',
'sku_0002',
],
email: 'test@test.com',
});
const charge = await stripe.orders.pay(order.id, {
customer: customer.id,
email: 'test@test.com',
});
但是,在发送我的 Stripe 的发票上,它只显示一项,描述:Payment for order or_1GTmxxxxxxQjbLdncktm0。
我怎样才能让所有订购的商品都显示在发票上,或者至少显示一些更具描述性的东西。我的客户不知道这个订单 ID 是什么意思,也不知道他们支付了什么。
【问题讨论】: