difficulties with integrating PayPal on my website

DIANE_RINKUS
New Community Member

I am experiencing difficulties with integrating PayPal on my website, http://totaldentallab.com/home. Despite successfully connecting it to my WordPress/WooCommerce site, an error message appears when I attempt to use the PayPal button at checkout. Specifically, the message [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation appears at the top of the page. More information about this error can be found at https://developer.paypal.com/docs/api/orders/v2/#error-DECIMALS_NOT_SUPPORTED.

Login to Me Too
1 REPLY 1

MTS_Chiranjeevi
Moderator
Moderator

Good day @DIANE_RINKUS,

 

Thank you for posting to the PayPal community.

 

Based on the provided error code DECIMALS_NOT_SUPPORTED , it seems that your website(built via third party WordPress/WooCommerce) is passing a currency that doesn't support Decimals.

 

Please refer the below guide links and pass the valid Create Order API request calls to PayPal system.

 

https://developer.paypal.com/docs/api/orders/v2/#orders_create 

https://developer.paypal.com/docs/api/orders/v2/#orders_create!path=purchase_units/amount&t=request 

 

value
 
string <= 32 characters

The value, which might be:

  • An integer for currencies like JPY that are not typically fractional.
  • A decimal fraction for currencies like TND that are subdivided into thousandths.
For the required number of decimal places for a currency code, see Currency Codes.


https://developer.paypal.com/api/rest/reference/currency-codes/

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

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.