我使用Paypal REST API来管理我的网络应用程序上的付款
var payment = {
"intent": "sale",
"payer": {
"payment_method": "paypal"
},
//"receiver_email": "business@place.fr",
"redirect_urls": {
"return_url": "http://yoururl.com/execute",
"cancel_url": "http://yoururl.com/cancel"
},
"transactions": [{
"item_list": {
"items": [{
"name": "item",
"sku": "item",
"price": "1.00",
"currency": "USD",
"quantity": 1
}]
},
"amount": {
"currency": "USD",
"total": "1.06",
"details": {
"subtotal": "1.00",
"tax": "0.03",
"shipping": "0.03"
}
},
"description": "This is the payment description."
}]
};
paypal.payment.create(payment, function (error, payment) { ... }
但我可以找到设置付款接收方电子邮件的方法。所有付款都转到帐户链接到我的Paypal应用程序。
谢谢
答案 0 :(得分:0)
目前,这不是PayPal REST API中支持的功能。
您可以使用权限API为其他用户运行DoDirectPayment请求。但是,用户必须获得Payments Pro的批准。