remove options from the credit card settings screen

This commit is contained in:
David Remer 2020-09-02 12:20:47 +03:00
parent 4daca6dde0
commit bf7eb4cd04

View file

@ -182,7 +182,7 @@ return array(
State::STATE_PROGRESSIVE, State::STATE_PROGRESSIVE,
), ),
'requirements' => array(), 'requirements' => array(),
'gateway' => 'all', 'gateway' => 'paypal',
), ),
'sandbox_on' => array( 'sandbox_on' => array(
'title' => __( 'Sandbox', 'paypal-for-woocommerce' ), 'title' => __( 'Sandbox', 'paypal-for-woocommerce' ),
@ -193,7 +193,7 @@ return array(
State::STATE_START, State::STATE_START,
), ),
'requirements' => array(), 'requirements' => array(),
'gateway' => 'all', 'gateway' => 'paypal',
), ),
'sandbox_on_info' => array( 'sandbox_on_info' => array(
'title' => __( 'Sandbox', 'paypal-for-woocommerce' ), 'title' => __( 'Sandbox', 'paypal-for-woocommerce' ),
@ -205,7 +205,7 @@ return array(
), ),
'hidden' => 'sandbox_on', 'hidden' => 'sandbox_on',
'requirements' => array(), 'requirements' => array(),
'gateway' => 'all', 'gateway' => 'paypal',
), ),
'merchant_email' => array( 'merchant_email' => array(
'title' => __( 'Email address', 'paypal-for-woocommerce' ), 'title' => __( 'Email address', 'paypal-for-woocommerce' ),
@ -218,7 +218,7 @@ return array(
State::STATE_START, State::STATE_START,
), ),
'requirements' => array(), 'requirements' => array(),
'gateway' => 'all', 'gateway' => 'paypal',
), ),
'merchant_email_info' => array( 'merchant_email_info' => array(
'title' => __( 'Email address', 'paypal-for-woocommerce' ), 'title' => __( 'Email address', 'paypal-for-woocommerce' ),
@ -230,7 +230,7 @@ return array(
), ),
'hidden' => 'merchant_email', 'hidden' => 'merchant_email',
'requirements' => array(), 'requirements' => array(),
'gateway' => 'all', 'gateway' => 'paypal',
), ),
'toggle_manual_input' => array( 'toggle_manual_input' => array(
'type' => 'ppcp-text', 'type' => 'ppcp-text',
@ -242,7 +242,7 @@ return array(
State::STATE_ONBOARDED, State::STATE_ONBOARDED,
), ),
'requirements' => array(), 'requirements' => array(),
'gateway' => 'all', 'gateway' => 'paypal',
), ),
'client_id' => array( 'client_id' => array(
'title' => __( 'Client Id', 'paypal-for-woocommerce' ), 'title' => __( 'Client Id', 'paypal-for-woocommerce' ),
@ -256,7 +256,7 @@ return array(
State::STATE_ONBOARDED, State::STATE_ONBOARDED,
), ),
'requirements' => array(), 'requirements' => array(),
'gateway' => 'all', 'gateway' => 'paypal',
), ),
'client_secret' => array( 'client_secret' => array(
'title' => __( 'Secret Key', 'paypal-for-woocommerce' ), 'title' => __( 'Secret Key', 'paypal-for-woocommerce' ),
@ -270,7 +270,7 @@ return array(
State::STATE_ONBOARDED, State::STATE_ONBOARDED,
), ),
'requirements' => array(), 'requirements' => array(),
'gateway' => 'all', 'gateway' => 'paypal',
), ),
'title' => array( 'title' => array(
'title' => __( 'Title', 'paypal-for-woocommerce' ), 'title' => __( 'Title', 'paypal-for-woocommerce' ),
@ -360,7 +360,7 @@ return array(
State::STATE_ONBOARDED, State::STATE_ONBOARDED,
), ),
'requirements' => array(), 'requirements' => array(),
'gateway' => 'all', 'gateway' => 'paypal',
), ),
'capture_for_virtual_only' => array( 'capture_for_virtual_only' => array(
'title' => __( 'Capture Virtual-Only Orders ', 'paypal-for-woocommerce' ), 'title' => __( 'Capture Virtual-Only Orders ', 'paypal-for-woocommerce' ),
@ -376,7 +376,7 @@ return array(
State::STATE_ONBOARDED, State::STATE_ONBOARDED,
), ),
'requirements' => array(), 'requirements' => array(),
'gateway' => 'all', 'gateway' => 'paypal',
), ),
'payee_preferred' => array( 'payee_preferred' => array(
'title' => __( 'Instant Payments ', 'paypal-for-woocommerce' ), 'title' => __( 'Instant Payments ', 'paypal-for-woocommerce' ),
@ -488,7 +488,7 @@ return array(
State::STATE_ONBOARDED, State::STATE_ONBOARDED,
), ),
'requirements' => array(), 'requirements' => array(),
'gateway' => 'all', 'gateway' => 'paypal',
), ),
'prefix' => array( 'prefix' => array(
'title' => __( 'Installation prefix', 'paypal-for-woocommerce' ), 'title' => __( 'Installation prefix', 'paypal-for-woocommerce' ),
@ -502,7 +502,7 @@ return array(
State::STATE_ONBOARDED, State::STATE_ONBOARDED,
), ),
'requirements' => array(), 'requirements' => array(),
'gateway' => 'all', 'gateway' => 'paypal',
), ),
// General button styles. // General button styles.