--- a/mollie-payments-for-woocommerce/mollie-payments-for-woocommerce.php
+++ b/mollie-payments-for-woocommerce/mollie-payments-for-woocommerce.php
@@ -4,11 +4,11 @@
* Plugin Name: Mollie Payments for WooCommerce
* Plugin URI: https://www.mollie.com
* Description: Accept payments in WooCommerce with the official Mollie plugin
- * Version: 8.1.1
+ * Version: 8.1.2
* Author: Mollie
* Author URI: https://www.mollie.com
* Requires at least: 5.0
- * Tested up to: 6.8
+ * Tested up to: 6.9
* Text Domain: mollie-payments-for-woocommerce
* Domain Path: /languages
* License: GPLv2 or later
--- a/mollie-payments-for-woocommerce/scoper.inc.php
+++ b/mollie-payments-for-woocommerce/scoper.inc.php
@@ -8,7 +8,7 @@
$wp_classes = json_decode(file_get_contents(__DIR__ . '/vendor/sniccowp/php-scoper-wordpress-excludes/generated/exclude-wordpress-classes.json'), true);
$wp_constants = json_decode(file_get_contents(__DIR__ . '/vendor/sniccowp/php-scoper-wordpress-excludes/generated/exclude-wordpress-constants.json'), true);
$wp_functions = json_decode(file_get_contents(__DIR__ . '/vendor/sniccowp/php-scoper-wordpress-excludes/generated/exclude-wordpress-functions.json'), true);
-$finders = [Finder::create()->files()->ignoreVCS(true)->ignoreDotFiles(false)->exclude(['.github', '.ddev', '.idea', 'modules.local', 'tests'])->in('.')];
+$finders = [Finder::create()->files()->ignoreVCS(true)->ignoreDotFiles(false)->exclude(['.github', '.ddev', '.idea', 'modules.local', 'tests', 'node_modules'])->in('.')];
return [
'prefix' => 'Mollie',
// string|null
--- a/mollie-payments-for-woocommerce/src/Buttons/ApplePayButton/ApplePayDirectHandler.php
+++ b/mollie-payments-for-woocommerce/src/Buttons/ApplePayButton/ApplePayDirectHandler.php
@@ -33,25 +33,31 @@
public function bootstrap($buttonEnabledProduct, $buttonEnabledCart)
{
if (!$this->isApplePayCompatible()) {
- $message = sprintf(
- /* translators: Placeholder 1: Opening strong tag. Placeholder 2: Closing strong tag. Placeholder 3: Opening link tag to documentation. Placeholder 4: Closing link tag.*/
- esc_html__('%1$sServer not compliant with Apple requirements%2$s Check %3$sApple Server requirements page%4$s to fix it in order to make the Apple Pay button work', 'mollie-payments-for-woocommerce'),
- '<strong>',
- '</strong>',
- '<a href="https://developer.apple.com/documentation/apple_pay_on_the_web/setting_up_your_server">',
- '</a>'
- );
- $this->adminNotice->addNotice('error', $message);
+ /* Defer translation until admin_notices (after init) */
+ add_action('admin_notices', function () {
+ $message = sprintf(
+ /* translators: Placeholder 1: Opening strong tag. Placeholder 2: Closing strong tag. Placeholder 3: Opening link tag to documentation. Placeholder 4: Closing link tag.*/
+ esc_html__('%1$sServer not compliant with Apple requirements%2$s Check %3$sApple Server requirements page%4$s to fix it in order to make the Apple Pay button work', 'mollie-payments-for-woocommerce'),
+ '<strong>',
+ '</strong>',
+ '<a href="https://developer.apple.com/documentation/apple_pay_on_the_web/setting_up_your_server">',
+ '</a>'
+ );
+ echo '<div class="notice notice-error"><p>' . wp_kses_post($message) . '</p></div>';
+ });
return;
}
if (!$this->merchantValidated()) {
- $message = sprintf(
- /* translators: Placeholder 1: Opening link tag to documentation. Placeholder 2: Closing link tag.*/
- esc_html__('Apple Pay Validation Error: Please review the %1$sApple Server requirements%2$s. If everything appears correct, click the Apple Pay button to retry validation.', 'mollie-payments-for-woocommerce'),
- '<a href="https://developer.apple.com/documentation/apple_pay_on_the_web/setting_up_your_server" target="_blank">',
- '</a>'
- );
- $this->adminNotice->addNotice('error', $message);
+ /* Defer translation until admin_notices (after init) */
+ add_action('admin_notices', function () {
+ $message = sprintf(
+ /* translators: Placeholder 1: Opening link tag to documentation. Placeholder 2: Closing link tag.*/
+ esc_html__('Apple Pay Validation Error: Please review the %1$sApple Server requirements%2$s. If everything appears correct, click the Apple Pay button to retry validation.', 'mollie-payments-for-woocommerce'),
+ '<a href="https://developer.apple.com/documentation/apple_pay_on_the_web/setting_up_your_server" target="_blank">',
+ '</a>'
+ );
+ echo '<div class="notice notice-error"><p>' . wp_kses_post($message) . '</p></div>';
+ });
}
if ($buttonEnabledProduct) {
$renderPlaceholder = apply_filters('mollie_wc_gateway_applepay_render_hook_product', 'woocommerce_after_add_to_cart_form');
--- a/mollie-payments-for-woocommerce/src/Settings/Page/Section/ConnectionStatusFields.php
+++ b/mollie-payments-for-woocommerce/src/Settings/Page/Section/ConnectionStatusFields.php
@@ -13,7 +13,8 @@
public function refreshStatusField(): array
{
$refreshNonce = wp_create_nonce('nonce_mollie_refresh_methods');
- $refreshUrl = add_query_arg(['refresh-methods' => 1, 'nonce_mollie_refresh_methods' => $refreshNonce]);
- return ['id' => $this->settings->getSettingId('refresh_status'), 'title' => __('Payment method availability', 'mollie-payments-for-woocommerce'), 'value' => '<a class="button-secondary" href="' . $refreshUrl . '">' . __('Refresh Mollie payment methods', 'mollie-payments-for-woocommerce') . '</a>', 'desc' => __('Click this button to refresh your payment methods, e.g. if you recently enabled new payment methods in your Mollie profile', 'mollie-payments-for-woocommerce'), 'type' => 'mollie_custom_input'];
+ $baseUrl = admin_url('/admin.php?page=wc-settings&tab=mollie_settings§ion=mollie_payment_methods');
+ $refreshUrl = add_query_arg(['refresh-methods' => 1, 'nonce_mollie_refresh_methods' => $refreshNonce], $baseUrl);
+ return ['id' => $this->settings->getSettingId('refresh_status'), 'title' => __('Payment method availability', 'mollie-payments-for-woocommerce'), 'value' => '<a class="button-secondary" href="' . esc_url($refreshUrl) . '">' . __('Refresh Mollie payment methods', 'mollie-payments-for-woocommerce') . '</a>', 'desc' => __('Click this button to refresh your payment methods, e.g. if you recently enabled new payment methods in your Mollie profile', 'mollie-payments-for-woocommerce'), 'type' => 'mollie_custom_input'];
}
}
--- a/mollie-payments-for-woocommerce/src/Settings/Page/Section/InstructionsNotConnected.php
+++ b/mollie-payments-for-woocommerce/src/Settings/Page/Section/InstructionsNotConnected.php
@@ -31,7 +31,7 @@
<ol>
<li>
<?php
- echo wp_kses(sprintf(__("Don’t have a Mollie account yet? <a href='%s' target='_blank'>Get started with Mollie today.</a>", 'mollie-payments-for-woocommerce'), apply_filters('mollie-payments-for-woocommerce_signup_url', 'https://my.mollie.com/dashboard/signup/')), ['a' => ['href' => [], 'target' => []]]);
+ echo wp_kses(sprintf(__("Don’t have a Mollie account yet? <a href='%s' target='_blank'>Get started with Mollie today.</a>", 'mollie-payments-for-woocommerce'), apply_filters('mollie-payments-for-woocommerce_signup_url', 'https://my.mollie.com/dashboard/signup?utm_campaign=GLO_Q4__Woo-Signup-tracker&utm_medium=referral&utm_source={woodashboard}&campaign_name=GLO_Q4__Woo-Signup-tracker')), ['a' => ['href' => [], 'target' => []]]);
?>
</li>
<li>
--- a/mollie-payments-for-woocommerce/src/Settings/SettingsModule.php
+++ b/mollie-payments-for-woocommerce/src/Settings/SettingsModule.php
@@ -110,14 +110,15 @@
}
return __('Don’t have a Mollie account yet? Create one now. Limited time only! Pay ZERO processing fees for your first month. <a href="%s" target="_blank">Get started with Mollie today.</a> ', 'mollie-payments-for-woocommerce');
}, 10, 3);
- add_filter('mollie-payments-for-woocommerce_signup_url', static function ($url) {
- $dateNow = new DateTime();
- $endDateCampaign = new DateTime('2025-12-10');
- if ($endDateCampaign < $dateNow) {
- return $url;
- }
- return 'https://my.mollie.com/dashboard/signup/campaign/woocommerce2025?utm_campaign=GLO_Q3__Co-Marketing-Campaign-WooCommerce&utm_medium=referral&utm_source=dashboard&utm_content=woo_mollie_dash&sf_campaign_id=701QD00000iR21IYAS&campaign_name=GLO_Q3__Co-Marketing-Campaign-WooCommerce';
- });
+ /*add_filter('mollie-payments-for-woocommerce_signup_url', static function ($url) {
+ $dateNow = new DateTime();
+ $endDateCampaign = new DateTime('2026-01-01');
+ if ($endDateCampaign < $dateNow) {
+ return $url;
+ }
+
+ return 'https://my.mollie.com/dashboard/signup?utm_campaign=GLO_Q4__Woo-Signup-tracker&utm_medium=referral&utm_source={woodashboard}&campaign_name=GLO_Q4__Woo-Signup-tracker';
+ });*/
//init settings with advanced and components defaults if not exists
$optionName = $container->get('settings.option_name');
$defaultAdvancedOptions = $container->get('settings.advanced_default_options');
--- a/mollie-payments-for-woocommerce/vendor/composer/autoload_static.php
+++ b/mollie-payments-for-woocommerce/vendor/composer/autoload_static.php
@@ -7,7 +7,7 @@
class ComposerStaticInitbf0d59b326756ec3f097a186388c2955
{
public static $prefixLengthsPsr4 = array (
- 'M' =>
+ 'M' =>
array (
'Mollie\WooCommerce\' => 19,
'Mollie\Psr\Log\' => 15,
@@ -18,46 +18,46 @@
'Mollie\Dhii\Services\' => 21,
'Mollie\Api\' => 11,
),
- 'C' =>
+ 'C' =>
array (
'Composer\CaBundle\' => 18,
),
);
public static $prefixDirsPsr4 = array (
- 'Mollie\WooCommerce\' =>
+ 'Mollie\WooCommerce\' =>
array (
0 => __DIR__ . '/../..' . '/src',
),
- 'Mollie\Psr\Log\' =>
+ 'Mollie\Psr\Log\' =>
array (
0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
),
- 'Mollie\Psr\Container\' =>
+ 'Mollie\Psr\Container\' =>
array (
0 => __DIR__ . '/..' . '/psr/container/src',
),
- 'Mollie\Inpsyde\PaymentGateway\' =>
+ 'Mollie\Inpsyde\PaymentGateway\' =>
array (
0 => __DIR__ . '/../..' . '/lib/payment-gateway/src',
),
- 'Mollie\Inpsyde\Modularity\' =>
+ 'Mollie\Inpsyde\Modularity\' =>
array (
0 => __DIR__ . '/..' . '/inpsyde/modularity/src',
),
- 'Mollie\Inpsyde\EnvironmentChecker\' =>
+ 'Mollie\Inpsyde\EnvironmentChecker\' =>
array (
0 => __DIR__ . '/../..' . '/pluginEnvironmentChecker',
),
- 'Mollie\Dhii\Services\' =>
+ 'Mollie\Dhii\Services\' =>
array (
0 => __DIR__ . '/..' . '/dhii/services/src',
),
- 'Mollie\Api\' =>
+ 'Mollie\Api\' =>
array (
0 => __DIR__ . '/..' . '/mollie/mollie-api-php/src',
),
- 'Composer\CaBundle\' =>
+ 'Composer\CaBundle\' =>
array (
0 => __DIR__ . '/..' . '/composer/ca-bundle/src',
),
--- a/mollie-payments-for-woocommerce/vendor/composer/installed.php
+++ b/mollie-payments-for-woocommerce/vendor/composer/installed.php
@@ -2,4 +2,4 @@
namespace Mollie;
-return array('root' => array('name' => 'mollie/mollie-woocommerce', 'pretty_version' => 'dev-develop', 'version' => 'dev-develop', 'reference' => '4ff1716bf5cf77c3f2044498547739c5a9c5e22e', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => false), 'versions' => array('composer/ca-bundle' => array('pretty_version' => '1.5.7', 'version' => '1.5.7.0', 'reference' => 'd665d22c417056996c59019579f1967dfe5c1e82', 'type' => 'library', 'install_path' => __DIR__ . '/./ca-bundle', 'aliases' => array(), 'dev_requirement' => false), 'dhii/services' => array('pretty_version' => 'v0.1.0', 'version' => '0.1.0.0', 'reference' => '09cad8199a59d2003ad19126213075aefecaf17b', 'type' => 'library', 'install_path' => __DIR__ . '/../dhii/services', 'aliases' => array(), 'dev_requirement' => false), 'inpsyde/modularity' => array('pretty_version' => '1.12.0', 'version' => '1.12.0.0', 'reference' => 'e1ca1c81b7b663355906b586525d21ac5d46bc65', 'type' => 'library', 'install_path' => __DIR__ . '/../inpsyde/modularity', 'aliases' => array(), 'dev_requirement' => false), 'mollie/mollie-api-php' => array('pretty_version' => 'v2.79.1', 'version' => '2.79.1.0', 'reference' => '4c1cf5f603178dd15bdf60b5e3999f91bb59f5b0', 'type' => 'library', 'install_path' => __DIR__ . '/../mollie/mollie-api-php', 'aliases' => array(), 'dev_requirement' => false), 'mollie/mollie-woocommerce' => array('pretty_version' => 'dev-develop', 'version' => 'dev-develop', 'reference' => '4ff1716bf5cf77c3f2044498547739c5a9c5e22e', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => false), 'psr/container' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '9fc7aab7a78057a124384358ebae8a1711b6f6fc', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => false), 'psr/log' => array('pretty_version' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => false), 'sniccowp/php-scoper-wordpress-excludes' => array('pretty_version' => '6.8.1', 'version' => '6.8.1.0', 'reference' => 'c2c18f89a9aa2d7ef1998d233b9ed00d0deff5dd', 'type' => 'library', 'install_path' => __DIR__ . '/../sniccowp/php-scoper-wordpress-excludes', 'aliases' => array(), 'dev_requirement' => false)));
+return array('root' => array('name' => 'mollie/mollie-woocommerce', 'pretty_version' => 'dev-develop', 'version' => 'dev-develop', 'reference' => '0642fc2ff30b489fb16ee628f5a2eb6784ab83fb', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => false), 'versions' => array('composer/ca-bundle' => array('pretty_version' => '1.5.7', 'version' => '1.5.7.0', 'reference' => 'd665d22c417056996c59019579f1967dfe5c1e82', 'type' => 'library', 'install_path' => __DIR__ . '/./ca-bundle', 'aliases' => array(), 'dev_requirement' => false), 'dhii/services' => array('pretty_version' => 'v0.1.0', 'version' => '0.1.0.0', 'reference' => '09cad8199a59d2003ad19126213075aefecaf17b', 'type' => 'library', 'install_path' => __DIR__ . '/../dhii/services', 'aliases' => array(), 'dev_requirement' => false), 'inpsyde/modularity' => array('pretty_version' => '1.12.0', 'version' => '1.12.0.0', 'reference' => 'e1ca1c81b7b663355906b586525d21ac5d46bc65', 'type' => 'library', 'install_path' => __DIR__ . '/../inpsyde/modularity', 'aliases' => array(), 'dev_requirement' => false), 'mollie/mollie-api-php' => array('pretty_version' => 'v2.79.1', 'version' => '2.79.1.0', 'reference' => '4c1cf5f603178dd15bdf60b5e3999f91bb59f5b0', 'type' => 'library', 'install_path' => __DIR__ . '/../mollie/mollie-api-php', 'aliases' => array(), 'dev_requirement' => false), 'mollie/mollie-woocommerce' => array('pretty_version' => 'dev-develop', 'version' => 'dev-develop', 'reference' => '0642fc2ff30b489fb16ee628f5a2eb6784ab83fb', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => false), 'psr/container' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '9fc7aab7a78057a124384358ebae8a1711b6f6fc', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => false), 'psr/log' => array('pretty_version' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => false), 'sniccowp/php-scoper-wordpress-excludes' => array('pretty_version' => '6.8.1', 'version' => '6.8.1.0', 'reference' => 'c2c18f89a9aa2d7ef1998d233b9ed00d0deff5dd', 'type' => 'library', 'install_path' => __DIR__ . '/../sniccowp/php-scoper-wordpress-excludes', 'aliases' => array(), 'dev_requirement' => false)));