Merge branch 'trunk' into PCP-3644-apple-pay-button-disappears-on-classic-checkout

This commit is contained in:
Alex P. 2024-10-29 21:41:23 +02:00
commit db273075c4
No known key found for this signature in database
GPG key ID: 54487A734A204D71
141 changed files with 7321 additions and 1086 deletions

View file

@ -233,6 +233,15 @@ class SingleProductBootstap {
this.form(),
this.errorHandler
);
if (
! this.gateway.vaultingEnabled &&
[ 'subscription', 'variable-subscription' ].includes(
this.gateway.productType
) &&
this.gateway.manualRenewalEnabled !== '1'
) {
return;
}
if (
PayPalCommerceGateway.data_client_id.has_subscriptions &&