[Paypal] [Saudi Arabia] Paypal Adaptive Payment API is not accepting SAR as currency.

info-eProcure
Contributor
Contributor

Hello,

 

We would like to integrate Paypal in our B2B application. 

 

Just to make you aware, My business account is registered in Saudi Arabia. Mostly all transactions will happen between Buyer and Supplier in SAR currency. 

 

While researching, I found one of your moderator mentioned here  that Paypal Adaptive payment is supported in Saudi Arabia.

 

Considering this in mind, We tried to check the Payment flow using below CURL and found the response that currently SAR currency is not supported.

 

Information we are providing via API:

 

curl https://svcs.sandbox.paypal.com/AdaptivePayments/Pay \
-s \
--insecure \
-H "X-PAYPAL-SECURITY-USERID: info-facilitator_api1.e-procure.net" \
-H "X-PAYPAL-SECURITY-PASSWORD: XXXXXXXXX" \
-H "X-PAYPAL-SECURITY-SIGNATURE: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-H "X-PAYPAL-REQUEST-DATA-FORMAT: JSON" \
-H "X-PAYPAL-RESPONSE-DATA-FORMAT: JSON" \
-H "X-PAYPAL-APPLICATION-ID: APP-XXXXXXXXXXX" \
-d '{
"actionType": "PAY",
"currencyCode": "SAR",
"receiverList": {
"receiver": [{
"amount": "1.00",
"email": "XXXXXXXXXXX"
}]
},
"returnUrl": "https://example.com/success.html",
"cancelUrl": "https://example.com/failure.html",
"requestEnvelope": {
"errorLanguage": "en_US",
"detailLevel": "ReturnAll"
}
}'

However, In response, we got below response:

 

 

{
  "responseEnvelope": {
    "timestamp": "2019-05-16T01:45:59.865-07:00",
    "ack": "Failure",
    "correlationId": "3546bf768d96e",
    "build": "52656287"
  },
  "error": [
    {
      "errorId": "580027",
      "domain": "PLATFORM",
      "subdomain": "Application",
      "severity": "Error",
      "category": "Application",
      "message": "Currently the system does not accept the currency SAR",
      "parameter": [
        "currencyCode",
        "SAR"
      ]
    }
  ]
}

Just to make you aware that transaction in USDs are working fine. But I would like to make a payment via SAR as currency.

 

 

Question:

1. Is it possible to do the transaction in SAR in Saudi Arabia? If so, let us know the exact way to do it.

2. If it's not possible to do the transaction in SAR with Adaptive Payment API, are there any procedure or any other way we can enable SAR currency payment via Paypal services?

 

Looking forward to your quick reply.

 

Thanks

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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