react-paypal-js icon indicating copy to clipboard operation
react-paypal-js copied to clipboard

[BUG]: AED Currency not working while integrating with braintree

Open amjadkhan896 opened this issue 1 year ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues.

🐞 Describe the Bug

Hi all,

I integrated with braintree example and i set the currency AED. On official documentation of Braintree we checked it is accepting the currency AED. It was working fine, but from today morning it's stop working and when i click on the button I receive the below message. I am attaching the screenshot below

image Screen Shot 2024-01-29 at 3 14 27 PM

Any help will be appreciated

Thanks

** errorDetails : [{issue: "CURRENCY_NOT_SUPPORTED",…}] errorMessage : "The requested action could not be performed, semantically incorrect, or failed business validation. --- Currency code is not currently supported. Please refer https://developer.paypal.com/docs/integration/direct/rest/currency-codes/ for list of supported currency codes." errorName : "UNPROCESSABLE_ENTITY"**

😕 Current Behavior

No response

🤔 Expected Behavior

No response

🔬 Minimal Reproduction

No response

🌍 Environment

| Software         | Version(s) |
| ---------------- | ---------- |
| react-paypal-js  |            |
| Browser          |            |
| Operating System |            |

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

➕ Anything else?

No response

amjadkhan896 avatar Jan 29 '24 10:01 amjadkhan896

You might want to look that: (To specify currencies in request URI and body parameters, use three-character ISO-4217 codes.

follow the link, https://en.wikipedia.org/wiki/ISO_4217#Active_codes

Thujaar avatar Jan 29 '24 11:01 Thujaar

You might want to look that: (To specify currencies in request URI and body parameters, use three-character ISO-4217 codes.

follow the link, https://en.wikipedia.org/wiki/ISO_4217#Active_codes

I am using the same key as mentioned in the docs. AED for UAE currency

amjadkhan896 avatar Jan 29 '24 11:01 amjadkhan896

try to use numric key, 784 of iso code

Thujaar avatar Jan 29 '24 11:01 Thujaar

try to use numric key, 784 of iso code

with numeric even though the button is not loading

amjadkhan896 avatar Jan 29 '24 11:01 amjadkhan896

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

github-actions[bot] avatar Mar 15 '24 01:03 github-actions[bot]

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

github-actions[bot] avatar Mar 21 '24 01:03 github-actions[bot]