在Paypal REST API上设置收件人电子邮件
我使用Paypal REST API在我的web应用程序上管理付款在Paypal REST API上设置收件人电子邮件,api,paypal,payment-gateway,Api,Paypal,Payment Gateway,我使用Paypal REST API在我的web应用程序上管理付款 var payment = { "intent": "sale", "payer": { "payment_method": "paypal" }, //"receiver_email": "business@place.fr", "redirect_urls": { "return_url": "http://yoururl.com/execute", "cancel_url":
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应用程序的帐户链接
谢谢目前,这在PayPal的RESTAPI中不受支持
您可以使用权限API为其他用户运行DoDirectPayment请求。但是,用户必须获得Payments Pro的批准。您能提供更多详细信息吗?