【问题标题】:Set the receiver email on Paypal REST API在 Paypal REST API 上设置收件人电子邮件
【发布时间】:2014-05-24 17:45:35
【问题描述】:

我使用 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 应用的帐户链接。

谢谢

【问题讨论】:

    标签: api paypal payment-gateway


    【解决方案1】:

    目前,PayPal 的 REST API 不支持此功能。

    您可以使用 Permissions API 为其他用户运行 DoDirectPayment 请求。但是,用户必须获得 Payments Pro 的批准。

    【讨论】:

    • 你能提供更多细节吗?
    猜你喜欢
    • 2016-10-04
    • 2018-02-01
    • 1970-01-01
    • 2018-12-11
    • 2013-03-30
    • 2012-05-29
    • 2016-04-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多