This commit is contained in:
David Remer 2020-07-21 09:14:13 +03:00
parent 3e4665907f
commit 1f64ee32e3
4 changed files with 8 additions and 3 deletions

View file

@ -207,7 +207,9 @@ class SmartButton implements SmartButtonInterface
{
wp_enqueue_style(
'ppcp-hosted-fields',
$this->moduleUrl . '/assets/css/hosted-fields.css'
$this->moduleUrl . '/assets/css/hosted-fields.css',
[],
1
);
wp_enqueue_script(
'ppcp-smart-button',

View file

@ -115,7 +115,8 @@ class OrderProcessor
[
ThreeDSecure::NO_DECISION,
ThreeDSecure::PROCCEED,
]
],
true
);
return $isApproved;
}

View file

@ -1,9 +1,9 @@
<?php
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\Webhooks\Handler;
use Inpsyde\PayPalCommerce\WcGateway\Gateway\WcGateway;
use Psr\Log\LoggerInterface;

View file

@ -77,6 +77,7 @@ class IncomingWebhookEndpoint
$this->logger->log(
'error',
sprintf(
// translators: %s is the error message.
__('Illegit Webhook request detected: %s', 'woocommerce-paypal-commerce-gateway'),
$exception->getMessage()
)
@ -108,6 +109,7 @@ class IncomingWebhookEndpoint
}
$message = sprintf(
// translators: %s is the request type.
__('Could not find handler for request type %s', 'woocommerce-paypal-commerce-gateway'),
$request['event_type']
);