You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now if the order is in this currency our plugin sends it to PayPal and returns the error that the currency is unsupported. We should add logic to hide the PayPal buttons if the currency is unsupported so that we can avoid this error altogether.
The PayPal library that we're using in this plugin has a $CurrencyCodes array included with it. We should double check that it's still accurate with the list PayPal provides, and then it can be used to easily cross-reference in the code logic in order to hide buttons if the currency code is not in the list.
The text was updated successfully, but these errors were encountered:
https://wordpress.org/support/topic/10401-order-total-is-invalid-for-unsupported-currencies?replies=5#post-7348027
PayPal provides a list of supported currency codes.
Right now if the order is in this currency our plugin sends it to PayPal and returns the error that the currency is unsupported. We should add logic to hide the PayPal buttons if the currency is unsupported so that we can avoid this error altogether.
The PayPal library that we're using in this plugin has a $CurrencyCodes array included with it. We should double check that it's still accurate with the list PayPal provides, and then it can be used to easily cross-reference in the code logic in order to hide buttons if the currency code is not in the list.
The text was updated successfully, but these errors were encountered: