【发布时间】:2020-08-17 04:24:33
【问题描述】:
我目前正在按照https://developer.paypal.com/docs/checkout/integrate/# 实施贝宝结帐
我可以发送付款等没问题。但是,我如何确定付款人?
createOrder: function(data, actions) {
// This function sets up the details of the transaction, including the amount and line item details.
return actions.order.create({
purchase_units: [{
amount: {
value: '1.0'
}
}]
});
}
.create 不允许我附加订单 ID 或用户 ID。在贝宝仪表板中,我只能看到名称和金额。
【问题讨论】: