• Resolved faisal95bd

    (@faisal95bd)


    Hello,

    I’m from Bahrain. My WooCommerce currency is “.?.?” . In my another online shop I’ve been using local payment gateway and Paypal together without any issues. The was a problem at first by I fixed that with this code:

    add_filter('woocommerce_paypal_supported_currencies', 'add_sar_currency');
    function add_sar_currency ($array) {
        array_push($array, 'SAR', 'AED', 'BHD', 'QAR', 'EGP', 'OMR', 'KWD', '.?.?', '.?.?');
        return $array;
    }

    Now for my new another store, I’ve installed WooCommerce and I can see that “PayPal Standard” isn’t available anymore. And I can’t use the local payment gateway and Paypal together. It’s not working even after adding the above code.
    It’s showing that below error in the checkout page:

    [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-CURRENCY_NOT_SUPPORTED

    Please let me know how can I fix that issue in “WooCommerce PayPal Payments” or if it’s not possible how can I use “Paypal Standard” instead?

    • This topic was modified 3 years, 4 months ago by faisal95bd.
    • This topic was modified 3 years, 4 months ago by faisal95bd.
    • This topic was modified 3 years, 4 months ago by faisal95bd.
Viewing 1 replies (of 1 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @faisal95bd

    thank you for reaching out to us, we are here to help.
    The supported currencies are not something that you can adjust with any code in our current plugin, this can only be used following PayPal’s guidelines: https://www.paypal.com/ga/webapps/mpp/ua/residence-full

    There is however a possibility to get the PayPal Standard available for you:
    Following the WooCommerce 5.5.0 release, PayPal Standard is hidden by default for new installations:
    [https://developer.woocommerce.com/2021/07/12/developer-advisory-paypal-standard-will-be-hidden-on-new-installs/](https://developer.woocommerce.com/2021/07/12/developer-advisory-paypal-standard-will-be-hidden-on-new-installs/)
    But you can re-enable the gateway with this filter if you want to continue to use it in a new shop:
    add_filter( 'woocommerce_should_load_paypal_standard', '__return_true' );

    I hope this will help you out a bit. Be aware that the older plugins have less or no support and will be phased out over time.

    Kind regards,
    Joost

Viewing 1 replies (of 1 total)
  • The topic ‘CURRENCY_NOT_SUPPORTED’ is closed to new replies.