【问题标题】:Paypal PAYOUT_NOT_AVAILABLE贝宝 PAYOUT_NOT_AVAILABLE
【发布时间】:2020-01-31 23:59:06
【问题描述】:

我的沙盒帐户在创建付款时返回此错误

{
    "name": "PAYOUT_NOT_AVAILABLE",
    "message": "You live in a country that is not allowed to send this payout.",
}

https://developer.paypal.com/docs/api/payments.payouts-batch/#errors 中未列出此错误

帐户在墨西哥 (MX) 中配置,官方文档在付款文档中包含 MX。

我错过了什么吗?找不到任何排除特定国家/地区的文档。 只是阿根廷、巴西和马来西亚的一些例外情况。

它还在功能中挑战了墨西哥货币
https://developer.paypal.com/docs/payouts/#payouts-features

【问题讨论】:

  • 你弄明白了吗?
  • 据我记忆,发生这种情况是因为我试图向未配置为“企业”的 PayPal 帐户汇款,因此这不是购买或付款。不知道是不是因为在我国实施。
  • 所以您需要注册卖家或某种类型的关联实体,而您只能发送给那些?
  • 是的,您需要按照本文档了解“bussines”平台的实施是否符合您的需求paypal.com/us/brc/article/enterprise-solutions-payments-101
  • 链接好像坏了。

标签: php paypal payout


【解决方案1】:

我碰巧找到了一个类似的端点,但奇怪的是它没有在主 API 菜单中列出,但它似乎正在工作,以供参考检查: https://developer.paypal.com/docs/payouts/test

更新:它似乎与 note 字段中使用的测试数据有关,即使使用批量支付也改变了结果状态:

{
  "sender_batch_header": {
    "sender_batch_id": "Payouts_2018_100007",
    "email_subject": "You have a payout!",
    "email_message": "You have received a payout! Thanks for using our service!"
  },
  "items":[
    {
      "recipient_type": "EMAIL",
      "amount": {
        "value": "500",
        "currency": "MXN"
      },
      "note": "POSPYO001",
      "sender_item_id": "201403140001",
      "receiver": "ss36@business.example.com",
      "alternate_notification_method": {
        "phone": {
          "country_code": "52",
          "national_number": "4491110560"
        }
      },
      "notification_language": "sp-SP"
    }
  ]
}

单笔付款如下所示:

{
  "sender_payout_header":
  {
    "sender_batch_id": "1524086406556",
    "email_subject": "This email is related to simulation"
  },
  "items": [
  {
    "recipient_type": "EMAIL",
    "receiver": "payouts-simulator-receiver@paypal.com",
    "note": "POSPYO001",
    "sender_item_id": "15240864065560",
    "amount":
    {
      "currency": "USD",
      "value": "1.00"
    }
  }]
}

【讨论】:

    【解决方案2】:

    我遇到了同样的问题,这是因为我的国家(印度)名称出现在 PayPal 支持的国家/地区列表中,但我了解了 PayPal Commerce Platform 的可用性,它不支持印度。检查以下链接

    https://developer.paypal.com/docs/api/reference/country-codes/?mark=countries#paypal-commerce-platform-availability

    我的工作仅在贝宝的沙盒帐户上进行测试,所以我只是创建了美国国家/地区的新测试帐户。

    您的贝宝帐户可能来自上述链接中列出的任何国家/地区。请检查您的主要贝宝帐户所在的国家/地区。

    【讨论】:

      猜你喜欢
      • 2011-07-25
      • 2011-02-21
      • 2014-09-06
      • 1970-01-01
      • 2020-11-08
      • 2013-04-19
      • 2011-07-17
      • 2015-03-14
      • 1970-01-01
      相关资源
      最近更新 更多