Sending wrong currency code to PayPal
-
Hello, I’m testing you basic plugin with PayPal.
Our problem is that when sending data to PayPal, the wrong currency code is sent[currency_code] => UYU
instead of US dollars that the customer selected.We have enabled all countries but one to use US dollars.
In the checkout we see the correct conversion to USD when selecting the country but the default shop currency codeUYU
is sent to PP.You can check the PP log form our WooCommerce store:
2020-05-15T12:01:52+00:00 INFO Generating payment form for order 81176. Notify URL: https://***/wc-api/WC_Gateway_Paypal/ 2020-05-15T12:01:52+00:00 INFO PayPal Request Args for order 81176: Array ( ... [currency_code] => UYU ... [amount_1] => 4930391.21 ... )
The amount from
UYU
toUSD
is perfectly converted but thecurrency_code
is not the correct one.Any ideas?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Sending wrong currency code to PayPal’ is closed to new replies.