diff --git a/modules/ppcp-compat/src/PPEC/SettingsImporter.php b/modules/ppcp-compat/src/PPEC/SettingsImporter.php index f2c539a28..4dea5653a 100644 --- a/modules/ppcp-compat/src/PPEC/SettingsImporter.php +++ b/modules/ppcp-compat/src/PPEC/SettingsImporter.php @@ -142,7 +142,7 @@ class SettingsImporter { $value = array_values( array_intersect( array_map( 'strtolower', is_array( $option_value ) ? $option_value : array() ), - array( 'card', 'credit', 'sepa', 'bancontact', 'eps', 'giropay', 'ideal', 'mybank', 'p24', 'sofort', 'venmo' ) + array( 'card', 'credit', 'sepa', 'bancontact', 'blik', 'eps', 'giropay', 'ideal', 'mercadopago', 'mybank', 'p24', 'sofort', 'venmo' ) ) ); diff --git a/modules/ppcp-wc-gateway/services.php b/modules/ppcp-wc-gateway/services.php index c806c76e5..291b83f98 100644 --- a/modules/ppcp-wc-gateway/services.php +++ b/modules/ppcp-wc-gateway/services.php @@ -680,17 +680,19 @@ return array( 'woocommerce-paypal-payments' ), 'options' => array( - 'card' => _x( 'Credit or debit cards', 'Name of payment method', 'woocommerce-paypal-payments' ), - 'credit' => _x( 'Pay Later', 'Name of payment method', 'woocommerce-paypal-payments' ), - 'sepa' => _x( 'SEPA-Lastschrift', 'Name of payment method', 'woocommerce-paypal-payments' ), - 'bancontact' => _x( 'Bancontact', 'Name of payment method', 'woocommerce-paypal-payments' ), - 'eps' => _x( 'eps', 'Name of payment method', 'woocommerce-paypal-payments' ), - 'giropay' => _x( 'giropay', 'Name of payment method', 'woocommerce-paypal-payments' ), - 'ideal' => _x( 'iDEAL', 'Name of payment method', 'woocommerce-paypal-payments' ), - 'mybank' => _x( 'MyBank', 'Name of payment method', 'woocommerce-paypal-payments' ), - 'p24' => _x( 'Przelewy24', 'Name of payment method', 'woocommerce-paypal-payments' ), - 'sofort' => _x( 'Sofort', 'Name of payment method', 'woocommerce-paypal-payments' ), - 'venmo' => _x( 'Venmo', 'Name of payment method', 'woocommerce-paypal-payments' ), + 'card' => _x( 'Credit or debit cards', 'Name of payment method', 'woocommerce-paypal-payments' ), + 'credit' => _x( 'Pay Later', 'Name of payment method', 'woocommerce-paypal-payments' ), + 'sepa' => _x( 'SEPA-Lastschrift', 'Name of payment method', 'woocommerce-paypal-payments' ), + 'bancontact' => _x( 'Bancontact', 'Name of payment method', 'woocommerce-paypal-payments' ), + 'blik' => _x( 'BLIK', 'Name of payment method', 'woocommerce-paypal-payments' ), + 'eps' => _x( 'eps', 'Name of payment method', 'woocommerce-paypal-payments' ), + 'giropay' => _x( 'giropay', 'Name of payment method', 'woocommerce-paypal-payments' ), + 'ideal' => _x( 'iDEAL', 'Name of payment method', 'woocommerce-paypal-payments' ), + 'mercadopago' => _x( 'Mercado Pago', 'Name of payment method', 'woocommerce-paypal-payments' ), + 'mybank' => _x( 'MyBank', 'Name of payment method', 'woocommerce-paypal-payments' ), + 'p24' => _x( 'Przelewy24', 'Name of payment method', 'woocommerce-paypal-payments' ), + 'sofort' => _x( 'Sofort', 'Name of payment method', 'woocommerce-paypal-payments' ), + 'venmo' => _x( 'Venmo', 'Name of payment method', 'woocommerce-paypal-payments' ), ), 'screens' => array( State::STATE_PROGRESSIVE,