mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-07 19:32:45 +08:00
Do not add the capabilities if is not eligible for ACDC
This commit is contained in:
parent
ddbdf655fc
commit
a40b7bc139
1 changed files with 4 additions and 1 deletions
|
@ -88,7 +88,10 @@ class PartnerReferralsData {
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( true === $use_subscriptions ) {
|
if ( true === $use_subscriptions ) {
|
||||||
|
if ( $this->dcc_applies->for_country_currency() ) {
|
||||||
$capabilities[] = 'PAYPAL_WALLET_VAULTING_ADVANCED';
|
$capabilities[] = 'PAYPAL_WALLET_VAULTING_ADVANCED';
|
||||||
|
}
|
||||||
|
|
||||||
$first_party_features[] = 'BILLING_AGREEMENT';
|
$first_party_features[] = 'BILLING_AGREEMENT';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue