=== Payment Gateways by Customer Location for WooCommerce === Contributors: wpcodefactory, algoritmika, anbinder, karzin, omardabbas, kousikmukherjeeli Tags: woocommerce, payment gateway, location, woo commerce Requires at least: 4.4 Tested up to: 6.7 Stable tag: 1.7.0 License: GNU General Public License v3.0 License URI: http://www.gnu.org/licenses/gpl-3.0.html Set countries, states, cities or postcodes to include/exclude for WooCommerce payment gateways to show up. == Description == **Payment Gateways by Customer Location for WooCommerce** plugin lets you set locations to include/exclude for WooCommerce payment gateways to show up. ### ✅ Main Features ### Locations include: * **countries**, * **states**, * **cities**, or * **postcodes**. **Country** can be detected by: * billing country, * shipping country, or * automatically by visitors IP. **State**, **city** and **postcode** can be detected either by: * billing state/city/postcode, or by * shipping state/city/postcode. ### 🏆 Premium Version ### Free version allows setting options for all standard gateways, i.e.: * Direct bank transfer, * Check payments, * Cash on delivery (COD), * PayPal. With the [Pro version](https://wpfactory.com/item/payment-gateways-by-customer-location-for-woocommerce/) you can set options for **any payment gateway** (including custom gateways). ### 🗘 Feedback ### * We are open to your suggestions and feedback. Thank you for using or trying out one of our plugins! * [Visit plugin site](https://wpfactory.com/item/payment-gateways-by-customer-location-for-woocommerce/). ### ℹ More ### * The plugin is **"High-Performance Order Storage (HPOS)"** compatible. == Installation == 1. Upload the entire plugin folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the "Plugins" menu in WordPress. 3. Start by visiting plugin settings at "WooCommerce > Settings > Payment Gateways by Customer Location". == Screenshots == 1. Payment Gateways by Country. == Changelog == = 1.7.0 - 29/03/2025 = * Dev - Security - Output escaped. * Dev - Security - Input sanitized. * Dev - Countries - Added default WooCommerce countries support before custom countries. * Dev - Plugin settings moved to the "WPFactory" menu. * Dev - "Recommendations" added. * Dev - "Key Manager" added. * Dev - Code refactoring. * Dev - Coding standards improved. * Tested up to: 6.7. * WC tested up to: 9.7. = 1.6.1 - 30/07/2024 = * Tested up to: 6.6. * WC tested up to: 9.1. = 1.6.0 - 21/06/2024 = * Dev - "High-Performance Order Storage (HPOS)" compatibility. * Dev - PHP 8.2 compatibility - "Creation of dynamic property is deprecated" notice fixed. * Dev - Postcodes - Admin settings descriptions updated. * Tested up to: 6.5. * WC tested up to: 9.0. * WooCommerce added to the "Requires Plugins" (plugin header). = 1.5.4 - 26/09/2023 = * Tested up to: 6.3. * WC tested up to: 8.1. * Plugin icon, banner updated. = 1.5.3 - 18/06/2023 = * WC tested up to: 7.8. = 1.5.2 - 07/06/2023 = * Tested up to: 6.2. * WC tested up to: 7.7. = 1.5.1 - 28/10/2022 = * Tested up to: 6.0. * WC tested up to: 7.0. * Readme.txt updated. * Deploy script added. = 1.5.0 - 09/02/2022 = * Dev - "Cities" section added. * Dev - Developers - `alg_wc_gateways_by_location_get_location` filter added. * WC tested up to: 6.2. * Tested up to: 5.9. = 1.4.0 - 27/06/2021 = * Dev - Settings - Using gateway admin titles instead of the frontend titles. * Dev - Plugin is initialized on `plugins_loaded` action now. * Dev - Code refactoring. * WC tested up to: 5.4. * Tested up to: 5.7. = 1.3.0 - 03/12/2020 = * Fix - Postcodes - "Invalid payment method" checkout error fixed. * Dev - `load_plugin_textdomain` moved to the `init` hook. * WC tested up to: 4.7. = 1.2.0 - 28/10/2020 = * Dev - General - Detect country by - Geolocation availability description added. * Dev - JS minified. * Dev - Code refactoring. * Dev - Admin settings descriptions updated. * WC tested up to: 4.6. * Tested up to: 5.5. = 1.1.2 - 02/01/2020 = * Dev - "Cash on delivery (COD)" option moved to free version. * Dev - Code refactoring. * WC tested up to: 3.8. * Tested up to: 5.3. = 1.1.1 - 21/06/2019 = * WC tested up to: 3.6. * Tested up to: 5.2. = 1.1.0 - 27/02/2019 = * Fix - Countries - Exclude countries - "European Union" selection fixed. * Dev - "Force JavaScript checkout update" option added. * Dev - "Check payments" and "PayPal" options moved to free version. * Dev - Major code refactoring. * Dev - Admin settings restyled etc. * Dev - Plugin URI updated. * Dev - POT file added. * Dev - readme.txt description expanded. = 1.0.0 - 29/04/2018 = * Initial Release. == Upgrade Notice == = 1.0.0 = This is the first release of the plugin.