Allow to override the list of Pay Later supported countries

This commit is contained in:
Alex P. 2024-08-31 14:03:04 +03:00
parent 796ded031e
commit 381041138c
No known key found for this signature in database
GPG key ID: 54487A734A204D71
3 changed files with 24 additions and 14 deletions

View file

@ -320,6 +320,7 @@ return array(
},
'button.helper.messages-apply' => static function ( ContainerInterface $container ): MessagesApply {
return new MessagesApply(
$container->get( 'api.paylater-countries' ),
$container->get( 'api.shop.country' )
);
},