mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Add blik and eps payments to error handler
This commit is contained in:
parent
f36d6d08df
commit
8df754fc35
1 changed files with 3 additions and 3 deletions
|
@ -120,9 +120,9 @@ class LocalAlternativePaymentMethodsModule implements ModuleInterface {
|
|||
// phpcs:enable
|
||||
|
||||
if (
|
||||
$order->get_payment_method() !== BancontactGateway::ID
|
||||
|| ! $cancelled
|
||||
|| $order->get_order_key() !== $order_key
|
||||
! in_array( $order->get_payment_method(), array( BancontactGateway::ID, BlikGateway::ID, EPSGateway::ID ), true )
|
||||
|| ! $cancelled
|
||||
|| $order->get_order_key() !== $order_key
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue