Always include the BILLING_AGREEMENT with subscriptions

This commit is contained in:
Narek Zakarian 2025-03-11 19:06:11 +04:00
parent 228375e15b
commit b09fb7a64a
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -88,7 +88,8 @@ class PartnerReferralsData {
);
if ( true === $use_subscriptions ) {
$capabilities[] = 'PAYPAL_WALLET_VAULTING_ADVANCED';
$capabilities[] = 'PAYPAL_WALLET_VAULTING_ADVANCED';
$first_party_features[] = 'BILLING_AGREEMENT';
}
// Backwards compatibility. Keep those features in the legacy UI (null-value).