Create setting to enable tracking

This commit is contained in:
Narek Zakarian 2022-08-11 14:17:48 +04:00
parent 0154278b1f
commit 8f45fa1cce

View file

@ -861,6 +861,19 @@ return array(
'requirements' => array(),
'gateway' => 'paypal',
),
'tracking_enabled' => array(
'title' => __( 'Tracking', 'woocommerce-paypal-payments' ),
'type' => 'checkbox',
'desc_tip' => true,
'label' => __( 'Enable tracking', 'woocommerce-paypal-payments' ),
'description' => __( 'Enable tracking', 'woocommerce-paypal-payments' ),
'default' => false,
'screens' => array(
State::STATE_ONBOARDED,
),
'requirements' => array(),
'gateway' => array( 'paypal' ),
),
// General button styles.
'button_style_heading' => array(