CURRENCY_NOT_ALLOWED INR

KarthickSelva
Contributor
Contributor

I'm created Indian Paypal account and do a direct credit-card payment method but I get below error from payment api:

Request:
{ "intent": "sale", "payer": { "payment_method": "credit_card", "funding_instruments": [ { "credit_card_token": { "credit_card_id": "CARD-7MR51074AF730652RL4J724Y", //credit-card primary key (IN customer credit-card) "expire_month": 0, "expire_year": 0 } } ] }, "transactions": [ { "amount": { "currency": "INR", "total": "11.61" }, "description": "Monthly Subscription" } ] }

Reponse:
PayPal\Core\PayPalHttpConnection :ERROR: Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/payment. { "name":"CURRENCY_NOT_ALLOWED", "message":"Currency is not supported", "information_link":"https://developer.paypal.com/webapps/developer/docs/api/#CURRENCY_NOT_ALLOWED", "debug_id":"308d4b24ea4b5" }

 



Login to Me Too
1 REPLY 1

MTS_Rob
PayPal Employee
PayPal Employee

Hi @KarthickSelva 

INR can only be used on transactions that both the buyer and the seller have accounts registered in India. INR cannot be used if either party has an account registered in a different country. https://www.paypal.com/in/webapps/mpp/enable-inr-for-merchants

 

This should work if you have both sandbox accounts setup in India. If either of the accounts have an address outside of India, you'll need to create a new sandbox account and use that for testing.

 

Thanks,

Rob- PayPal MTS

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.