mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-12 01:18:39 +08:00
Merge pull request #3242 from woocommerce/PCP-4385-failed-to-fetch-onboarding-url-error-when-onboarding-with-no-rt-merchant-and-selecting-subscriptions-product
Do not add the capabilities if is not eligible for ACDC (4385)
This commit is contained in:
commit
3b48f8a70d
2 changed files with 54 additions and 9 deletions
|
@ -88,7 +88,10 @@ class PartnerReferralsData {
|
|||
);
|
||||
|
||||
if ( true === $use_subscriptions ) {
|
||||
$capabilities[] = 'PAYPAL_WALLET_VAULTING_ADVANCED';
|
||||
if ( $this->dcc_applies->for_country_currency() ) {
|
||||
$capabilities[] = 'PAYPAL_WALLET_VAULTING_ADVANCED';
|
||||
}
|
||||
|
||||
$first_party_features[] = 'BILLING_AGREEMENT';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue