Merge pull request #3216 from Safelite/feature/CASH-2853
Change default variation for Cybersource/Adyen
This commit is contained in:
commit
37d187e991
1 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue