mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Refactor field page checking
Reduce code duplication and support more than 2 pages. Also remove 'all'
This commit is contained in:
parent
b2904504f4
commit
620f25d88d
5 changed files with 74 additions and 15 deletions
|
@ -700,7 +700,7 @@ return array(
|
|||
State::STATE_ONBOARDED,
|
||||
),
|
||||
'requirements' => array(),
|
||||
'gateway' => 'all',
|
||||
'gateway' => array( 'paypal', 'dcc' ),
|
||||
),
|
||||
'logging_enabled' => array(
|
||||
'title' => __( 'Logging', 'woocommerce-paypal-payments' ),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue