Skip to content

Commit 6c9007d

Browse files
feat(payment): PAYPAL-5717 Added AppSwitch to PPCP button strategy
1 parent 6f76c78 commit 6c9007d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/paypal-commerce-integration/src/paypal-commerce/paypal-commerce-button-strategy.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,10 @@ export default class PayPalCommerceButtonStrategy implements CheckoutButtonStrat
270270
private isPaypalCommerceAppSwitchEnabled(): boolean {
271271
const state = this.paymentIntegrationService.getState();
272272
const features = state.getStoreConfigOrThrow().checkoutSettings.features;
273-
273+
console.log(
274+
'IS EXPERIMENT ENABLED',
275+
isExperimentEnabled(features, 'PAYPAL-5716.app_switch_functionality'),
276+
);
274277
return isExperimentEnabled(features, 'PAYPAL-5716.app_switch_functionality');
275278
}
276279
}

0 commit comments

Comments
 (0)