mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
declare full support
This commit is contained in:
parent
c1991e9153
commit
1588dc63bc
1 changed files with 13 additions and 1 deletions
|
@ -51,7 +51,19 @@ class WcGateway extends \WC_Payment_Gateway
|
|||
$this->settingsRenderer = $settingsRenderer;
|
||||
$this->config = $config;
|
||||
if ($this->config->has('vault_enabled') && $this->config->get('vault_enabled')) {
|
||||
$this->supports = array('subscriptions', 'products', 'subscription_date_changes');
|
||||
$this->supports = [
|
||||
'products',
|
||||
'subscriptions',
|
||||
'subscription_cancellation',
|
||||
'subscription_suspension',
|
||||
'subscription_reactivation',
|
||||
'subscription_amount_changes',
|
||||
'subscription_date_changes',
|
||||
'subscription_payment_method_change',
|
||||
'subscription_payment_method_change_customer',
|
||||
'subscription_payment_method_change_admin',
|
||||
'multiple_subscriptions',
|
||||
];
|
||||
}
|
||||
|
||||
$this->method_title = __('PayPal Payments', 'woocommerce-paypal-commerce-gateway');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue