Blog · July 10, 2020 0

How To Set PayPal Guest Checkout Country In WooCommerce

By default Express PayPal’s Guest Checkout (also known as pay by Debit/Credit Card) will defaults to whatever language you set in WordPress’ dashboard.

That can be frustrating for many as some may want to have one language for their site and accept payment from another region.

Below is an example for Finland, you can check out the list of locale codes here under WordPress Locale Code section.


function set_default_language_paypal_express()
    return 'fi_FI';

Some language/country may list a single code instead of underscore. Simply do what above example does and PayPal’s Guest Checkout should change to your preferred region while keeping site’s language intact.