0
votes

Paypal not accept INR currency when i do credit-card payment https://api.sandbox.paypal.com/v1/payments/payment (POST Method)

I'm trying to pay with INR currency, which is supported by PayPal, but get the Currency is not supported error

Note: Using Indian Paypal account and primary currency is 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"
}

I'm trying in spring boot, paypal dependency.

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

thanks for advance.

1

1 Answers

0
votes

As you can read from here, INR is supported as you said in the question, however has a side note that tells you that:

This currency is supported as a payment currency and a currency balance for in-country PayPal India accounts only.

So I suppose you are not complying this note