From 8e8ad4ff28e5004abae40d8e65ef1daff66d74dd Mon Sep 17 00:00:00 2001 From: Narek Zakarian Date: Mon, 25 Aug 2025 15:05:41 +0400 Subject: [PATCH] Add definition for the Todo --- .../src/Data/Definition/TodosDefinition.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/ppcp-settings/src/Data/Definition/TodosDefinition.php b/modules/ppcp-settings/src/Data/Definition/TodosDefinition.php index 40b0ed059..deeb7202d 100644 --- a/modules/ppcp-settings/src/Data/Definition/TodosDefinition.php +++ b/modules/ppcp-settings/src/Data/Definition/TodosDefinition.php @@ -244,6 +244,16 @@ class TodosDefinition { ), 'priority' => 14, ), + 'pay_later_messaging_is_auto_enabled' => array( + 'title' => __( 'PayPal Pay Later messaging successfully enabled', 'woocommerce-paypal-payments' ), + 'description' => __( 'PayPal is now displaying this flexible payment option earlier in the shopping experience. This update was made based on your “Stay Updated” preference and the messaging can be customized or disabled through the Pay Later settings.', 'woocommerce-paypal-payments' ), + 'isEligible' => $eligibility_checks['pay_later_messaging_is_auto_enabled'], + 'action' => array( + 'type' => 'tab', + 'tab' => 'pay_later_messaging', + ), + 'priority' => 15, + ), ); $todo_items['check_settings_after_migration'] = array(