Merge pull request #3216 from Safelite/feature/CASH-2853

Change default variation for Cybersource/Adyen
This commit is contained in:
chloeherdsafelite 2026-06-11 11:04:44 -04:00 committed by GitHub
commit 37d187e991
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -567,14 +567,14 @@ export default {
this.dispatchStoreAction(storeActions.RESET_SAVE_SESSION_PROMISE);
const shouldUseAdyen = experimentMixin.methods.hasSettingEqualTo(
const shouldUseCybersource = experimentMixin.methods.hasSettingEqualTo(
experimentSettings.USE_ADYEN_PAYMENT,
"true"
"false"
);
const scenarioName = shouldUseAdyen
? this.navigationScenarios.CLICKED_PAY_NOW_ADYEN
: this.navigationScenarios.CLICKED_PAY_NOW;
const scenarioName = shouldUseCybersource
? this.navigationScenarios.CLICKED_PAY_NOW
: this.navigationScenarios.CLICKED_PAY_NOW_ADYEN;
this.$router.navigateWithoutSaving(scenarioName, this.pageName);
},