Add TodoDefinition for working capital

This commit is contained in:
Narek Zakarian 2025-08-04 18:12:16 +04:00
parent 3587074bab
commit b97da8dda0
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -227,6 +227,16 @@ class TodosDefinition {
),
'priority' => 13,
),
'apply_for_working_capital' => array(
'title' => __( 'Start you PayPal Working Capital application', 'woocommerce-paypal-payments' ),
'description' => __( 'hey, you are eligible for credit. Click here to learn more and sign up', 'woocommerce-paypal-payments' ),
'isEligible' => $eligibility_checks['apply_for_working_capital'],
'action' => array(
'type' => 'external',
'url' => 'http://example.com/',
),
'priority' => 14,
),
);
}
}