贝宝“ CURRENCY_NOT_ALLOWED”

时间:2020-07-19 09:32:03

标签: paypal currency credit-card

我用信用卡付款时,Paypal不接受INR货币 https://api.sandbox.paypal.com/v1/payments/payment (POST方法)

我正在尝试使用PayPal支持的 INR 货币付款,但出现不支持货币错误

注意:使用印度Paypal帐户和主要货币是INR

**Request:** 
{
  "intent": "sale",
  "payer": {
    "payment_method": "credit_card",
    "funding_instruments": [
      {
        "credit_card_token": {
          "credit_card_id": "CARD-7MR51074AF730652RL4J724Y",
          "expire_month": 0,
          "expire_year": 0
        }
      }
    ]
  },
  "transactions": [
    {
      "amount": {
        "currency": "INR",
        "total": "11.61"
      },
      "description": "Monthly Subscription"
    }
  ]
}

**Response:**
{
    "name": "CURRENCY_NOT_ALLOWED",
    "message": "Currency is not supported.",
    "information_link": "https://developer.paypal.com/docs/api/payments/#errors",
    "debug_id": "809873b4c9820"
}

我正在尝试使用Spring Boot,对PayPal有依赖性。

<dependency>
        <groupId>com.paypal.sdk</groupId>
        <artifactId>rest-api-sdk</artifactId>
        <version>LATEST</version>
    </dependency>

感谢前进。

1 个答案:

答案 0 :(得分:0)

正如您从here中所读到的,INR被支持为您在问题中所说的,但是有一个旁注告诉您:

仅支持在国内PayPal印度帐户中使用该货币作为付款货币和货币余额。

所以我想您不遵守本说明