Correctly implement 'Clicked Pay Later' scenario on payment pages.

This commit is contained in:
Chloe Herd 2026-01-22 11:33:11 -05:00
parent e4d5c87050
commit 1efd1ec797
2 changed files with 9 additions and 1 deletions

View file

@ -496,7 +496,7 @@ export default {
await baseMixin.methods.dispatchStoreAction(storeActions.CREATE_SUBMITTED_STATE);
this.$router.navigateWithoutSaving(
this.navigationScenarios.CLICKED_FORWARD,
this.navigationScenarios.CLICKED_PAY_LATER,
this.pageName
);
} catch (error) {

View file

@ -569,6 +569,10 @@ const routingTable = function () {
piaError: "true",
},
},
{
scenario: navigationScenarios.CLICKED_PAY_LATER,
destinationPageData: routeData.CONFIRMATION,
},
],
},
{
@ -589,6 +593,10 @@ const routingTable = function () {
piaError: "true",
},
},
{
scenario: navigationScenarios.CLICKED_PAY_LATER,
destinationPageData: routeData.CONFIRMATION,
},
],
},
{