Merge pull request #3027 from Safelite/feature/CASH-2203
Correctly implement 'Clicked Pay Later' scenario on payment pages.
This commit is contained in:
commit
fbd45068d8
2 changed files with 9 additions and 1 deletions
|
|
@ -496,7 +496,7 @@ export default {
|
||||||
await baseMixin.methods.dispatchStoreAction(storeActions.CREATE_SUBMITTED_STATE);
|
await baseMixin.methods.dispatchStoreAction(storeActions.CREATE_SUBMITTED_STATE);
|
||||||
|
|
||||||
this.$router.navigateWithoutSaving(
|
this.$router.navigateWithoutSaving(
|
||||||
this.navigationScenarios.CLICKED_FORWARD,
|
this.navigationScenarios.CLICKED_PAY_LATER,
|
||||||
this.pageName
|
this.pageName
|
||||||
);
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
|
||||||
|
|
@ -569,6 +569,10 @@ const routingTable = function () {
|
||||||
piaError: "true",
|
piaError: "true",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
scenario: navigationScenarios.CLICKED_PAY_LATER,
|
||||||
|
destinationPageData: routeData.CONFIRMATION,
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -589,6 +593,10 @@ const routingTable = function () {
|
||||||
piaError: "true",
|
piaError: "true",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
scenario: navigationScenarios.CLICKED_PAY_LATER,
|
||||||
|
destinationPageData: routeData.CONFIRMATION,
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue