From 9bcbc0482ef1f880bc187b65a2c23410f7db6b7e Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Thu, 14 Sep 2023 14:53:08 +0200 Subject: [PATCH] Add https://github.com/pronamic/wp-pronamic-woocommerce-payment-gateways-countries-condition. --- composer.json | 1 + composer.lock | 48 +++++++++++++++++++++++++++++++++++++++++++++- pronamic-ideal.php | 2 ++ 3 files changed, 50 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index dbf2afbd..a0d6cfd7 100644 --- a/composer.json +++ b/composer.json @@ -65,6 +65,7 @@ "pronamic/wp-money": "^2.4", "pronamic/wp-number": "^1.3", "pronamic/wp-pronamic-pay-forms": "^1.1", + "pronamic/wp-pronamic-woocommerce-payment-gateways-countries-condition": "dev-main", "woocommerce/action-scheduler": "^3.4.0", "wp-pay-extensions/charitable": "^4.3", "wp-pay-extensions/contact-form-7": "^3.3", diff --git a/composer.lock b/composer.lock index 59cd321e..347116ea 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "871b448a1c7842543aec8236dda8fcac", + "content-hash": "ae2e49bb1422176e21b7a0d223354d91", "packages": [ { "name": "automattic/jetpack-autoloader", @@ -731,6 +731,51 @@ }, "time": "2023-09-11T09:15:44+00:00" }, + { + "name": "pronamic/wp-pronamic-woocommerce-payment-gateways-countries-condition", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/pronamic/wp-pronamic-woocommerce-payment-gateways-countries-condition.git", + "reference": "e59f0b7ef389ed8e576184f10076a715d27ecc7f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pronamic/wp-pronamic-woocommerce-payment-gateways-countries-condition/zipball/e59f0b7ef389ed8e576184f10076a715d27ecc7f", + "reference": "e59f0b7ef389ed8e576184f10076a715d27ecc7f", + "shasum": "" + }, + "require": { + "automattic/jetpack-autoloader": "^2.11" + }, + "require-dev": { + "pronamic/pronamic-cli": "dev-main", + "pronamic/wp-coding-standards": "^2.0" + }, + "default-branch": true, + "type": "wordpress-plugin", + "autoload": { + "psr-4": { + "Pronamic\\WooCommercePaymentGatewaysCountriesCondition\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "proprietary" + ], + "authors": [ + { + "name": "Pronamic", + "email": "info@pronamic.eu" + } + ], + "description": "This plugin allows you to specify the countries in which each WooCommerce payment gateway is available.", + "support": { + "issues": "https://github.com/pronamic/wp-pronamic-woocommerce-payment-gateways-countries-condition/issues", + "source": "https://github.com/pronamic/wp-pronamic-woocommerce-payment-gateways-countries-condition/tree/main" + }, + "time": "2023-09-14T11:51:41+00:00" + }, { "name": "viison/address-splitter", "version": "0.3.4", @@ -11091,6 +11136,7 @@ "aliases": [], "minimum-stability": "stable", "stability-flags": { + "pronamic/wp-pronamic-woocommerce-payment-gateways-countries-condition": 20, "pronamic/pronamic-cli": 20, "wp-cli/wp-cli": 20, "wp-cli/wp-cli-bundle": 20 diff --git a/pronamic-ideal.php b/pronamic-ideal.php index ac1d211f..e5181ee8 100755 --- a/pronamic-ideal.php +++ b/pronamic-ideal.php @@ -598,6 +598,8 @@ function ( $gateways ) { } ); +\Pronamic\WooCommercePaymentGatewaysCountriesCondition\Plugin::instance()->setup(); + /** * Backward compatibility. */