mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +08:00
Do not display buttons in minicart if subscription in the cart and vaulting disabled
This commit is contained in:
parent
b7a0b05e64
commit
21013adbca
3 changed files with 9 additions and 6 deletions
|
@ -686,7 +686,7 @@ class SmartButton implements SmartButtonInterface {
|
|||
),
|
||||
),
|
||||
'enforce_vault' => $this->has_subscriptions(),
|
||||
'save_card' => $this->can_save_vault_token(),
|
||||
'can_save_vault_token' => $this->can_save_vault_token(),
|
||||
'bn_codes' => $this->bn_codes(),
|
||||
'payer' => $this->payerData(),
|
||||
'button' => array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue