Skip to content

Commit 605d02e

Browse files
committed
Things To Do: Fix Fastlane item logic
1 parent 983abda commit 605d02e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

modules/ppcp-settings/src/Data/Definition/TodosDefinition.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,8 @@ public function get(): array {
6464
'action' => array(
6565
'type' => 'tab',
6666
'tab' => 'payment_methods',
67-
'section' => 'ppcp-fastlane',
68-
'modal' => 'ppcp-fastlane-gateway',
69-
'highlight' => 'ppcp-fastlane-gateway',
67+
'section' => 'ppcp-axo-gateway',
68+
'highlight' => 'ppcp-axo-gateway',
7069
),
7170
),
7271
'enable_credit_debit_cards' => array(

modules/ppcp-settings/src/Service/TodosEligibilityService.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ public function __construct(
162162
*/
163163
public function get_eligibility_checks(): array {
164164
return array(
165-
'enable_fastlane' => fn() => ! $this->is_fastlane_eligible,
165+
'enable_fastlane' => fn() => $this->is_fastlane_eligible,
166166
'enable_credit_debit_cards' => fn() => $this->is_card_payment_eligible,
167-
'enable_pay_later_messaging' => fn() => ! $this->is_pay_later_messaging_eligible,
168-
'add_pay_later_messaging' => fn() => $this->is_pay_later_messaging_eligible && ! $this->is_pay_later_messaging_ui_eligible,
167+
'enable_pay_later_messaging' => fn() => $this->is_pay_later_messaging_eligible,
168+
'add_pay_later_messaging' => fn() => $this->is_pay_later_messaging_eligible,
169169
'configure_paypal_subscription' => fn() => $this->is_subscription_eligible,
170170
'add_paypal_buttons' => fn() => $this->is_paypal_buttons_eligible,
171171
'register_domain_apple_pay' => fn() => $this->is_apple_pay_domain_eligible,

0 commit comments

Comments
 (0)