mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
⚙️ Add Configure button for the Installments feature
This commit is contained in:
parent
2e710bbed6
commit
526f8944f3
1 changed files with 8 additions and 1 deletions
|
@ -329,13 +329,20 @@ class FeaturesDefinition {
|
|||
) . '</p>',
|
||||
'enabled' => $this->merchant_capabilities['installments'],
|
||||
'buttons' => array(
|
||||
array(
|
||||
'type' => 'secondary',
|
||||
'text' => __( 'Configure', 'woocommerce-paypal-payments' ),
|
||||
'url' => 'https://www.paypal.com/businessmanage/preferences/installmentplan',
|
||||
'showWhen' => 'enabled',
|
||||
'class' => 'small-button',
|
||||
),
|
||||
array(
|
||||
'type' => 'secondary',
|
||||
'text' => __( 'Sign up', 'woocommerce-paypal-payments' ),
|
||||
'url' => 'https://www.paypal.com/businessmanage/preferences/installmentplan',
|
||||
'showWhen' => 'disabled',
|
||||
'class' => 'small-button',
|
||||
),
|
||||
)
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue