static function (ContainerInterface $container): string { return plugins_url('/modules/ppcp-fraud-protection/', $container->get('ppcp.path-to-plugin-main-file')); }, 'fraud-protection.recaptcha' => static function (ContainerInterface $container): Recaptcha { return new Recaptcha($container->get('fraud-protection.recaptcha.integration'), $container->get('fraud-protection.recaptcha.payment-methods'), $container->get('fraud-protection.url'), $container->get('ppcp.asset-version'), $container->get('woocommerce.logger.woocommerce')); }, 'fraud-protection.recaptcha.integration' => static function (): RecaptchaIntegration { return new RecaptchaIntegration(); }, 'fraud-protection.recaptcha.payment-methods' => static function (): array { return apply_filters('woocommerce_paypal_payments_recaptcha_payment_methods', array(PayPalGateway::ID, CreditCardGateway::ID, CardButtonGateway::ID)); });