add option to enable paypal in checkout

This commit is contained in:
David Remer 2020-09-03 11:23:11 +03:00
parent aee579f01a
commit 116837eadb
2 changed files with 16 additions and 0 deletions

View file

@ -533,6 +533,18 @@ return array(
'requirements' => array(),
'gateway' => 'paypal',
),
'button_enabled' => array(
'title' => __( 'Enable buttons on Checkout', 'paypal-for-woocommerce' ),
'type' => 'checkbox',
'label' => __( 'Enable on Checkout', 'paypal-for-woocommerce' ),
'default' => true,
'screens' => array(
State::STATE_PROGRESSIVE,
State::STATE_ONBOARDED,
),
'requirements' => array(),
'gateway' => 'paypal',
),
'button_layout' => array(
'title' => __( 'Button Layout', 'paypal-for-woocommerce' ),
'type' => 'select',