From fd48506ae7b13e1c56473ae534b1805386cb62cc Mon Sep 17 00:00:00 2001 From: Emili Castells Guasch Date: Tue, 27 May 2025 15:49:39 +0200 Subject: [PATCH] Use wc country instead of new settings service --- modules/ppcp-button/services.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ppcp-button/services.php b/modules/ppcp-button/services.php index 1369b51bd..0a0cf678e 100644 --- a/modules/ppcp-button/services.php +++ b/modules/ppcp-button/services.php @@ -347,7 +347,7 @@ return array( $container->get( 'wcgateway.settings' ), $container->get( 'wcgateway.all-funding-sources' ), $container->get( 'wcgateway.configuration.card-configuration' ), - $container->get( 'settings.data.general' )->get_merchant_country() + $container->get( 'api.shop.country' ) ); }, 'button.is-logged-in' => static function ( ContainerInterface $container ): bool {